@@ -311,124 +311,124 @@ class FastISel {
311
311
312
312
// / \brief This method is called by target-independent code to request that an
313
313
// / instruction with the given type and opcode be emitted.
314
- virtual unsigned FastEmit_ (MVT VT, MVT RetVT, unsigned Opcode);
314
+ virtual unsigned fastEmit_ (MVT VT, MVT RetVT, unsigned Opcode);
315
315
316
316
// / \brief This method is called by target-independent code to request that an
317
317
// / instruction with the given type, opcode, and register operand be emitted.
318
- virtual unsigned FastEmit_r (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
318
+ virtual unsigned fastEmit_r (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
319
319
bool Op0IsKill);
320
320
321
321
// / \brief This method is called by target-independent code to request that an
322
322
// / instruction with the given type, opcode, and register operands be emitted.
323
- virtual unsigned FastEmit_rr (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
323
+ virtual unsigned fastEmit_rr (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
324
324
bool Op0IsKill, unsigned Op1, bool Op1IsKill);
325
325
326
326
// / \brief This method is called by target-independent code to request that an
327
327
// / instruction with the given type, opcode, and register and immediate
328
328
// operands be emitted.
329
- virtual unsigned FastEmit_ri (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
329
+ virtual unsigned fastEmit_ri (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
330
330
bool Op0IsKill, uint64_t Imm);
331
331
332
332
// / \brief This method is called by target-independent code to request that an
333
333
// / instruction with the given type, opcode, and register and floating-point
334
334
// / immediate operands be emitted.
335
- virtual unsigned FastEmit_rf (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
335
+ virtual unsigned fastEmit_rf (MVT VT, MVT RetVT, unsigned Opcode, unsigned Op0,
336
336
bool Op0IsKill, const ConstantFP *FPImm);
337
337
338
338
// / \brief This method is called by target-independent code to request that an
339
339
// / instruction with the given type, opcode, and register and immediate
340
340
// / operands be emitted.
341
- virtual unsigned FastEmit_rri (MVT VT, MVT RetVT, unsigned Opcode,
341
+ virtual unsigned fastEmit_rri (MVT VT, MVT RetVT, unsigned Opcode,
342
342
unsigned Op0, bool Op0IsKill, unsigned Op1,
343
343
bool Op1IsKill, uint64_t Imm);
344
344
345
- // / \brief This method is a wrapper of FastEmit_ri .
345
+ // / \brief This method is a wrapper of fastEmit_ri .
346
346
// /
347
347
// / It first tries to emit an instruction with an immediate operand using
348
- // / FastEmit_ri . If that fails, it materializes the immediate into a register
349
- // / and try FastEmit_rr instead.
350
- unsigned FastEmit_ri_ (MVT VT, unsigned Opcode, unsigned Op0, bool Op0IsKill,
348
+ // / fastEmit_ri . If that fails, it materializes the immediate into a register
349
+ // / and try fastEmit_rr instead.
350
+ unsigned fastEmit_ri_ (MVT VT, unsigned Opcode, unsigned Op0, bool Op0IsKill,
351
351
uint64_t Imm, MVT ImmType);
352
352
353
353
// / \brief This method is called by target-independent code to request that an
354
354
// / instruction with the given type, opcode, and immediate operand be emitted.
355
- virtual unsigned FastEmit_i (MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
355
+ virtual unsigned fastEmit_i (MVT VT, MVT RetVT, unsigned Opcode, uint64_t Imm);
356
356
357
357
// / \brief This method is called by target-independent code to request that an
358
358
// / instruction with the given type, opcode, and floating-point immediate
359
359
// / operand be emitted.
360
- virtual unsigned FastEmit_f (MVT VT, MVT RetVT, unsigned Opcode,
360
+ virtual unsigned fastEmit_f (MVT VT, MVT RetVT, unsigned Opcode,
361
361
const ConstantFP *FPImm);
362
362
363
363
// / \brief Emit a MachineInstr with no operands and a result register in the
364
364
// / given register class.
365
- unsigned FastEmitInst_ (unsigned MachineInstOpcode,
365
+ unsigned fastEmitInst_ (unsigned MachineInstOpcode,
366
366
const TargetRegisterClass *RC);
367
367
368
368
// / \brief Emit a MachineInstr with one register operand and a result register
369
369
// / in the given register class.
370
- unsigned FastEmitInst_r (unsigned MachineInstOpcode,
370
+ unsigned fastEmitInst_r (unsigned MachineInstOpcode,
371
371
const TargetRegisterClass *RC, unsigned Op0,
372
372
bool Op0IsKill);
373
373
374
374
// / \brief Emit a MachineInstr with two register operands and a result
375
375
// / register in the given register class.
376
- unsigned FastEmitInst_rr (unsigned MachineInstOpcode,
376
+ unsigned fastEmitInst_rr (unsigned MachineInstOpcode,
377
377
const TargetRegisterClass *RC, unsigned Op0,
378
378
bool Op0IsKill, unsigned Op1, bool Op1IsKill);
379
379
380
380
// / \brief Emit a MachineInstr with three register operands and a result
381
381
// / register in the given register class.
382
- unsigned FastEmitInst_rrr (unsigned MachineInstOpcode,
382
+ unsigned fastEmitInst_rrr (unsigned MachineInstOpcode,
383
383
const TargetRegisterClass *RC, unsigned Op0,
384
384
bool Op0IsKill, unsigned Op1, bool Op1IsKill,
385
385
unsigned Op2, bool Op2IsKill);
386
386
387
387
// / \brief Emit a MachineInstr with a register operand, an immediate, and a
388
388
// / result register in the given register class.
389
- unsigned FastEmitInst_ri (unsigned MachineInstOpcode,
389
+ unsigned fastEmitInst_ri (unsigned MachineInstOpcode,
390
390
const TargetRegisterClass *RC, unsigned Op0,
391
391
bool Op0IsKill, uint64_t Imm);
392
392
393
393
// / \brief Emit a MachineInstr with one register operand and two immediate
394
394
// / operands.
395
- unsigned FastEmitInst_rii (unsigned MachineInstOpcode,
395
+ unsigned fastEmitInst_rii (unsigned MachineInstOpcode,
396
396
const TargetRegisterClass *RC, unsigned Op0,
397
397
bool Op0IsKill, uint64_t Imm1, uint64_t Imm2);
398
398
399
399
// / \brief Emit a MachineInstr with two register operands and a result
400
400
// / register in the given register class.
401
- unsigned FastEmitInst_rf (unsigned MachineInstOpcode,
401
+ unsigned fastEmitInst_rf (unsigned MachineInstOpcode,
402
402
const TargetRegisterClass *RC, unsigned Op0,
403
403
bool Op0IsKill, const ConstantFP *FPImm);
404
404
405
405
// / \brief Emit a MachineInstr with two register operands, an immediate, and a
406
406
// / result register in the given register class.
407
- unsigned FastEmitInst_rri (unsigned MachineInstOpcode,
407
+ unsigned fastEmitInst_rri (unsigned MachineInstOpcode,
408
408
const TargetRegisterClass *RC, unsigned Op0,
409
409
bool Op0IsKill, unsigned Op1, bool Op1IsKill,
410
410
uint64_t Imm);
411
411
412
412
// / \brief Emit a MachineInstr with two register operands, two immediates
413
413
// / operands, and a result register in the given register class.
414
- unsigned FastEmitInst_rrii (unsigned MachineInstOpcode,
414
+ unsigned fastEmitInst_rrii (unsigned MachineInstOpcode,
415
415
const TargetRegisterClass *RC, unsigned Op0,
416
416
bool Op0IsKill, unsigned Op1, bool Op1IsKill,
417
417
uint64_t Imm1, uint64_t Imm2);
418
418
419
419
// / \brief Emit a MachineInstr with a single immediate operand, and a result
420
420
// / register in the given register class.
421
- unsigned FastEmitInst_i (unsigned MachineInstrOpcode,
421
+ unsigned fastEmitInst_i (unsigned MachineInstrOpcode,
422
422
const TargetRegisterClass *RC, uint64_t Imm);
423
423
424
424
// / \brief Emit a MachineInstr with a two immediate operands.
425
- unsigned FastEmitInst_ii (unsigned MachineInstrOpcode,
425
+ unsigned fastEmitInst_ii (unsigned MachineInstrOpcode,
426
426
const TargetRegisterClass *RC, uint64_t Imm1,
427
427
uint64_t Imm2);
428
428
429
429
// / \brief Emit a MachineInstr for an extract_subreg from a specified index of
430
430
// / a superregister to a specified type.
431
- unsigned FastEmitInst_extractsubreg (MVT RetVT, unsigned Op0, bool Op0IsKill,
431
+ unsigned fastEmitInst_extractsubreg (MVT RetVT, unsigned Op0, bool Op0IsKill,
432
432
uint32_t Idx);
433
433
434
434
// / \brief Emit MachineInstrs to compute the value of Op with all but the
0 commit comments