Home
last modified time | relevance | path

Searched refs:ISDOpcode (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DFastISel.cpp321 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/
DFastISel.cpp385 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/
DFastISel.h347 bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp121 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/
DARMTargetTransformInfo.cpp416 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local
463 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
DARMFastISel.cpp144 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/
DCodeGenPrepare.cpp994 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/
DFastISel.h530 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp139 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/
DARMFastISel.cpp162 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/
DAArch64FastISel.cpp127 bool selectRem(const Instruction *I, unsigned ISDOpcode);
4460 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument
4471 switch (ISDOpcode) { in selectRem()