Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp382 bool FastISel::selectBinaryOp(const User *I, unsigned ISDOpcode) { in selectBinaryOp() argument
395 if (VT == MVT::i1 && (ISDOpcode == ISD::AND || ISDOpcode == ISD::OR || in selectBinaryOp()
396 ISDOpcode == ISD::XOR)) in selectBinaryOp()
412 fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, Op1IsKill, in selectBinaryOp()
432 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in selectBinaryOp()
435 ISDOpcode = ISD::SRA; in selectBinaryOp()
439 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && in selectBinaryOp()
442 ISDOpcode = ISD::AND; in selectBinaryOp()
445 unsigned ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in selectBinaryOp()
458 ISDOpcode, Op0, Op0IsKill, CF); in selectBinaryOp()
[all …]
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp108 bool selectDivRem(const Instruction *I, unsigned ISDOpcode);
1648 bool MipsFastISel::selectDivRem(const Instruction *I, unsigned ISDOpcode) { in selectDivRem() argument
1658 switch (ISDOpcode) { in selectDivRem()
1683 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp392 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local
439 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
DARMFastISel.cpp151 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode);
152 bool SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode);
1745 bool ARMFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument
1754 switch (ISDOpcode) { in SelectBinaryIntOp()
1785 bool ARMFastISel::SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryFPOp() argument
1805 switch (ISDOpcode) { in SelectBinaryFPOp()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp956 int ISDOpcode = TLI.InstructionOpcodeToISD(TruncUser->getOpcode()); in SinkShiftAndTruncate() local
957 if (!ISDOpcode) in SinkShiftAndTruncate()
966 ISDOpcode, TLI.getValueType(DL, TruncUser->getType(), true))) in SinkShiftAndTruncate()
2698 int ISDOpcode = TLI.InstructionOpcodeToISD(PromotedInst->getOpcode()); in isPromotedInstructionLegal() local
2700 if (!ISDOpcode) in isPromotedInstructionLegal()
2704 ISDOpcode, TLI.getValueType(DL, PromotedInst->getType())); in isPromotedInstructionLegal()
4953 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote() local
4954 if (!ISDOpcode) in shouldPromote()
4958 ISDOpcode, TLI.getValueType(DL, getTransitionType(), true)); in shouldPromote()
/external/llvm/include/llvm/CodeGen/
DFastISel.h526 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp138 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode);
1160 bool PPCFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument
1178 switch (ISDOpcode) { in SelectBinaryIntOp()
1254 if (ISDOpcode == ISD::SUB) in SelectBinaryIntOp()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp128 bool selectRem(const Instruction *I, unsigned ISDOpcode);
4427 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument
4438 switch (ISDOpcode) { in selectRem()