/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 321 bool FastISel::SelectBinaryOp(const User *I, unsigned ISDOpcode) { in SelectBinaryOp() argument 335 (ISDOpcode == ISD::AND || ISDOpcode == ISD::OR || in SelectBinaryOp() 336 ISDOpcode == ISD::XOR)) in SelectBinaryOp() 351 unsigned ResultReg = FastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, in SelectBinaryOp() 373 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in SelectBinaryOp() 377 ISDOpcode = ISD::SRA; in SelectBinaryOp() 380 unsigned ResultReg = FastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in SelectBinaryOp() 392 ISDOpcode, Op0, Op0IsKill, CF); in SelectBinaryOp() 409 ISDOpcode, in SelectBinaryOp()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 385 bool FastISel::selectBinaryOp(const User *I, unsigned ISDOpcode) { in selectBinaryOp() argument 398 if (VT == MVT::i1 && (ISDOpcode == ISD::AND || ISDOpcode == ISD::OR || in selectBinaryOp() 399 ISDOpcode == ISD::XOR)) in selectBinaryOp() 415 fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, Op1IsKill, in selectBinaryOp() 435 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in selectBinaryOp() 438 ISDOpcode = ISD::SRA; in selectBinaryOp() 442 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && in selectBinaryOp() 445 ISDOpcode = ISD::AND; in selectBinaryOp() 448 unsigned ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in selectBinaryOp() 461 ISDOpcode, Op0, Op0IsKill, CF); in selectBinaryOp() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | FastISel.h | 347 bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
|
/external/llvm/lib/Target/Mips/ |
D | MipsFastISel.cpp | 121 bool selectDivRem(const Instruction *I, unsigned ISDOpcode); 1661 bool MipsFastISel::selectDivRem(const Instruction *I, unsigned ISDOpcode) { in selectDivRem() argument 1671 switch (ISDOpcode) { in selectDivRem() 1696 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 416 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local 463 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
|
D | ARMFastISel.cpp | 144 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode); 145 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 1796 switch (ISDOpcode) { in SelectBinaryFPOp()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 994 int ISDOpcode = TLI.InstructionOpcodeToISD(TruncUser->getOpcode()); in SinkShiftAndTruncate() local 995 if (!ISDOpcode) in SinkShiftAndTruncate() 1004 ISDOpcode, TLI.getValueType(DL, TruncUser->getType(), true))) in SinkShiftAndTruncate() 2756 int ISDOpcode = TLI.InstructionOpcodeToISD(PromotedInst->getOpcode()); in isPromotedInstructionLegal() local 2758 if (!ISDOpcode) in isPromotedInstructionLegal() 2762 ISDOpcode, TLI.getValueType(DL, PromotedInst->getType())); in isPromotedInstructionLegal() 5038 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote() local 5039 if (!ISDOpcode) in shouldPromote() 5043 ISDOpcode, TLI.getValueType(DL, getTransitionType(), true)); in shouldPromote()
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 530 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCFastISel.cpp | 139 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode); 1172 bool PPCFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument 1190 switch (ISDOpcode) { in SelectBinaryIntOp() 1266 if (ISDOpcode == ISD::SUB) in SelectBinaryIntOp()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMFastISel.cpp | 162 bool SelectBinaryOp(const Instruction *I, unsigned ISDOpcode); 1469 bool ARMFastISel::SelectBinaryOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryOp() argument 1489 switch (ISDOpcode) { in SelectBinaryOp()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 127 bool selectRem(const Instruction *I, unsigned ISDOpcode); 4460 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument 4471 switch (ISDOpcode) { in selectRem()
|