Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp444 bool FastISel::selectBinaryOp(const User *I, unsigned ISDOpcode) { in selectBinaryOp() argument
457 if (VT == MVT::i1 && (ISDOpcode == ISD::AND || ISDOpcode == ISD::OR || in selectBinaryOp()
458 ISDOpcode == ISD::XOR)) in selectBinaryOp()
473 fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, CI->getZExtValue(), in selectBinaryOp()
492 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in selectBinaryOp()
495 ISDOpcode = ISD::SRA; in selectBinaryOp()
499 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && in selectBinaryOp()
502 ISDOpcode = ISD::AND; in selectBinaryOp()
505 Register ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, Imm, in selectBinaryOp()
521 ISDOpcode, Op0, Op1); in selectBinaryOp()
/openbsd/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp169 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()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DFastISel.h502 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMFastISel.cpp169 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 DARMTargetTransformInfo.cpp1321 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local
1326 switch (ISDOpcode) { in getArithmeticInstrCost()
1383 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
1439 if (TLI->isOperationLegalOrCustomOrPromote(ISDOpcode, LT.second)) in getArithmeticInstrCost()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp133 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode);
1268 bool PPCFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument
1286 switch (ISDOpcode) { in SelectBinaryIntOp()
1362 if (ISDOpcode == ISD::SUB) in SelectBinaryIntOp()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1959 int ISDOpcode = TLI.InstructionOpcodeToISD(TruncUser->getOpcode()); in SinkShiftAndTruncate() local
1960 if (!ISDOpcode) in SinkShiftAndTruncate()
1969 ISDOpcode, TLI.getValueType(DL, TruncUser->getType(), true))) in SinkShiftAndTruncate()
4125 int ISDOpcode = TLI.InstructionOpcodeToISD(PromotedInst->getOpcode()); in isPromotedInstructionLegal() local
4127 if (!ISDOpcode) in isPromotedInstructionLegal()
4131 ISDOpcode, TLI.getValueType(DL, PromotedInst->getType())); in isPromotedInstructionLegal()
7513 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote() local
7514 if (!ISDOpcode) in shouldPromote()
7518 ISDOpcode, TLI.getValueType(DL, getTransitionType(), true)); in shouldPromote()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp170 bool selectRem(const Instruction *I, unsigned ISDOpcode);
4563 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument
4574 switch (ISDOpcode) { in selectRem()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp5868 static unsigned getRVVReductionOp(unsigned ISDOpcode) { in getRVVReductionOp() argument
5869 switch (ISDOpcode) { in getRVVReductionOp()
6104 static unsigned getRVVVPReductionOp(unsigned ISDOpcode) { in getRVVVPReductionOp() argument
6105 switch (ISDOpcode) { in getRVVVPReductionOp()