Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit ecadea9

Browse files
committed
[FastISel][tblgen] Rename tblgen generated FastISel functions. NFC.
This is the final round of renaming. This changes tblgen to emit lower-case function names for FastEmitInst_* and FastEmit_*, and updates all its uses in the source code. Reviewed by Eric git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217075 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 6042034 commit ecadea9

File tree

8 files changed

+171
-171
lines changed

8 files changed

+171
-171
lines changed

include/llvm/CodeGen/FastISel.h

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -311,124 +311,124 @@ class FastISel {
311311

312312
/// \brief This method is called by target-independent code to request that an
313313
/// 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);
315315

316316
/// \brief This method is called by target-independent code to request that an
317317
/// 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,
319319
bool Op0IsKill);
320320

321321
/// \brief This method is called by target-independent code to request that an
322322
/// 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,
324324
bool Op0IsKill, unsigned Op1, bool Op1IsKill);
325325

326326
/// \brief This method is called by target-independent code to request that an
327327
/// instruction with the given type, opcode, and register and immediate
328328
// 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,
330330
bool Op0IsKill, uint64_t Imm);
331331

332332
/// \brief This method is called by target-independent code to request that an
333333
/// instruction with the given type, opcode, and register and floating-point
334334
/// 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,
336336
bool Op0IsKill, const ConstantFP *FPImm);
337337

338338
/// \brief This method is called by target-independent code to request that an
339339
/// instruction with the given type, opcode, and register and immediate
340340
/// 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,
342342
unsigned Op0, bool Op0IsKill, unsigned Op1,
343343
bool Op1IsKill, uint64_t Imm);
344344

345-
/// \brief This method is a wrapper of FastEmit_ri.
345+
/// \brief This method is a wrapper of fastEmit_ri.
346346
///
347347
/// 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,
351351
uint64_t Imm, MVT ImmType);
352352

353353
/// \brief This method is called by target-independent code to request that an
354354
/// 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);
356356

357357
/// \brief This method is called by target-independent code to request that an
358358
/// instruction with the given type, opcode, and floating-point immediate
359359
/// 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,
361361
const ConstantFP *FPImm);
362362

363363
/// \brief Emit a MachineInstr with no operands and a result register in the
364364
/// given register class.
365-
unsigned FastEmitInst_(unsigned MachineInstOpcode,
365+
unsigned fastEmitInst_(unsigned MachineInstOpcode,
366366
const TargetRegisterClass *RC);
367367

368368
/// \brief Emit a MachineInstr with one register operand and a result register
369369
/// in the given register class.
370-
unsigned FastEmitInst_r(unsigned MachineInstOpcode,
370+
unsigned fastEmitInst_r(unsigned MachineInstOpcode,
371371
const TargetRegisterClass *RC, unsigned Op0,
372372
bool Op0IsKill);
373373

374374
/// \brief Emit a MachineInstr with two register operands and a result
375375
/// register in the given register class.
376-
unsigned FastEmitInst_rr(unsigned MachineInstOpcode,
376+
unsigned fastEmitInst_rr(unsigned MachineInstOpcode,
377377
const TargetRegisterClass *RC, unsigned Op0,
378378
bool Op0IsKill, unsigned Op1, bool Op1IsKill);
379379

380380
/// \brief Emit a MachineInstr with three register operands and a result
381381
/// register in the given register class.
382-
unsigned FastEmitInst_rrr(unsigned MachineInstOpcode,
382+
unsigned fastEmitInst_rrr(unsigned MachineInstOpcode,
383383
const TargetRegisterClass *RC, unsigned Op0,
384384
bool Op0IsKill, unsigned Op1, bool Op1IsKill,
385385
unsigned Op2, bool Op2IsKill);
386386

387387
/// \brief Emit a MachineInstr with a register operand, an immediate, and a
388388
/// result register in the given register class.
389-
unsigned FastEmitInst_ri(unsigned MachineInstOpcode,
389+
unsigned fastEmitInst_ri(unsigned MachineInstOpcode,
390390
const TargetRegisterClass *RC, unsigned Op0,
391391
bool Op0IsKill, uint64_t Imm);
392392

393393
/// \brief Emit a MachineInstr with one register operand and two immediate
394394
/// operands.
395-
unsigned FastEmitInst_rii(unsigned MachineInstOpcode,
395+
unsigned fastEmitInst_rii(unsigned MachineInstOpcode,
396396
const TargetRegisterClass *RC, unsigned Op0,
397397
bool Op0IsKill, uint64_t Imm1, uint64_t Imm2);
398398

399399
/// \brief Emit a MachineInstr with two register operands and a result
400400
/// register in the given register class.
401-
unsigned FastEmitInst_rf(unsigned MachineInstOpcode,
401+
unsigned fastEmitInst_rf(unsigned MachineInstOpcode,
402402
const TargetRegisterClass *RC, unsigned Op0,
403403
bool Op0IsKill, const ConstantFP *FPImm);
404404

405405
/// \brief Emit a MachineInstr with two register operands, an immediate, and a
406406
/// result register in the given register class.
407-
unsigned FastEmitInst_rri(unsigned MachineInstOpcode,
407+
unsigned fastEmitInst_rri(unsigned MachineInstOpcode,
408408
const TargetRegisterClass *RC, unsigned Op0,
409409
bool Op0IsKill, unsigned Op1, bool Op1IsKill,
410410
uint64_t Imm);
411411

412412
/// \brief Emit a MachineInstr with two register operands, two immediates
413413
/// operands, and a result register in the given register class.
414-
unsigned FastEmitInst_rrii(unsigned MachineInstOpcode,
414+
unsigned fastEmitInst_rrii(unsigned MachineInstOpcode,
415415
const TargetRegisterClass *RC, unsigned Op0,
416416
bool Op0IsKill, unsigned Op1, bool Op1IsKill,
417417
uint64_t Imm1, uint64_t Imm2);
418418

419419
/// \brief Emit a MachineInstr with a single immediate operand, and a result
420420
/// register in the given register class.
421-
unsigned FastEmitInst_i(unsigned MachineInstrOpcode,
421+
unsigned fastEmitInst_i(unsigned MachineInstrOpcode,
422422
const TargetRegisterClass *RC, uint64_t Imm);
423423

424424
/// \brief Emit a MachineInstr with a two immediate operands.
425-
unsigned FastEmitInst_ii(unsigned MachineInstrOpcode,
425+
unsigned fastEmitInst_ii(unsigned MachineInstrOpcode,
426426
const TargetRegisterClass *RC, uint64_t Imm1,
427427
uint64_t Imm2);
428428

429429
/// \brief Emit a MachineInstr for an extract_subreg from a specified index of
430430
/// 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,
432432
uint32_t Idx);
433433

434434
/// \brief Emit MachineInstrs to compute the value of Op with all but the

0 commit comments

Comments
 (0)