| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 449 bool FastISel::selectBinaryOp(const User *I, unsigned ISDOpcode) { in selectBinaryOp() argument 462 if (VT == MVT::i1 && (ISDOpcode == ISD::AND || ISDOpcode == ISD::OR || in selectBinaryOp() 463 ISDOpcode == ISD::XOR)) in selectBinaryOp() 478 fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, CI->getZExtValue(), in selectBinaryOp() 497 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in selectBinaryOp() 500 ISDOpcode = ISD::SRA; in selectBinaryOp() 504 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && in selectBinaryOp() 507 ISDOpcode = ISD::AND; in selectBinaryOp() 510 Register ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, Imm, in selectBinaryOp() 526 ISDOpcode, Op0, Op1); in selectBinaryOp()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsFastISel.cpp | 169 bool selectDivRem(const Instruction *I, unsigned ISDOpcode); 1909 bool MipsFastISel::selectDivRem(const Instruction *I, unsigned ISDOpcode) { in selectDivRem() argument 1919 switch (ISDOpcode) { in selectDivRem() 1944 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | FastISel.h | 508 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMFastISel.cpp | 169 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode); 170 bool SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode); 1736 bool ARMFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument 1745 switch (ISDOpcode) { in SelectBinaryIntOp() 1776 bool ARMFastISel::SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryFPOp() argument 1797 switch (ISDOpcode) { in SelectBinaryFPOp()
|
| H A D | ARMTargetTransformInfo.cpp | 1315 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local 1320 switch (ISDOpcode) { in getArithmeticInstrCost() 1377 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost() 1434 if (TLI->isOperationLegalOrCustomOrPromote(ISDOpcode, LT.second)) in getArithmeticInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCFastISel.cpp | 134 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode); 1269 bool PPCFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument 1287 switch (ISDOpcode) { in SelectBinaryIntOp() 1363 if (ISDOpcode == ISD::SUB) in SelectBinaryIntOp()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1866 int ISDOpcode = TLI.InstructionOpcodeToISD(TruncUser->getOpcode()); in SinkShiftAndTruncate() local 1867 if (!ISDOpcode) in SinkShiftAndTruncate() 1876 ISDOpcode, TLI.getValueType(DL, TruncUser->getType(), true))) in SinkShiftAndTruncate() 4030 int ISDOpcode = TLI.InstructionOpcodeToISD(PromotedInst->getOpcode()); in isPromotedInstructionLegal() local 4032 if (!ISDOpcode) in isPromotedInstructionLegal() 4036 ISDOpcode, TLI.getValueType(DL, PromotedInst->getType())); in isPromotedInstructionLegal() 7386 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote() local 7387 if (!ISDOpcode) in shouldPromote() 7391 ISDOpcode, TLI.getValueType(DL, getTransitionType(), true)); in shouldPromote()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 170 bool selectRem(const Instruction *I, unsigned ISDOpcode); 4531 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument 4542 switch (ISDOpcode) { in selectRem()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 5114 static unsigned getRVVReductionOp(unsigned ISDOpcode) { in getRVVReductionOp() argument 5115 switch (ISDOpcode) { in getRVVReductionOp() 5333 static unsigned getRVVVPReductionOp(unsigned ISDOpcode) { in getRVVVPReductionOp() argument 5334 switch (ISDOpcode) { in getRVVVPReductionOp()
|