Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp444 bool FastISel::selectBinaryOp(const User *I, unsigned ISDOpcode) { in selectBinaryOp() argument
457 if (VT == MVT::i1 && ISD::isBitwiseLogicOp(ISDOpcode)) in selectBinaryOp()
472 fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op1, CI->getZExtValue(), in selectBinaryOp()
491 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in selectBinaryOp()
494 ISDOpcode = ISD::SRA; in selectBinaryOp()
498 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && in selectBinaryOp()
501 ISDOpcode = ISD::AND; in selectBinaryOp()
504 Register ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, Imm, in selectBinaryOp()
520 ISDOpcode, Op0, Op1); in selectBinaryOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp167 bool selectDivRem(const Instruction *I, unsigned ISDOpcode);
1921 bool MipsFastISel::selectDivRem(const Instruction *I, unsigned ISDOpcode) { in selectDivRem() argument
1931 switch (ISDOpcode) { in selectDivRem()
1959 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h510 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp194 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode);
195 bool SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode);
1794 bool ARMFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument
1803 switch (ISDOpcode) { in SelectBinaryIntOp()
1836 bool ARMFastISel::SelectBinaryFPOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryFPOp() argument
1857 switch (ISDOpcode) { in SelectBinaryFPOp()
H A DARMTargetTransformInfo.cpp1360 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local
1365 switch (ISDOpcode) { in getArithmeticInstrCost()
1422 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
1535 if (TLI->isOperationLegalOrCustomOrPromote(ISDOpcode, LT.second)) in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp128 bool SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode);
1256 bool PPCFastISel::SelectBinaryIntOp(const Instruction *I, unsigned ISDOpcode) { in SelectBinaryIntOp() argument
1274 switch (ISDOpcode) { in SelectBinaryIntOp()
1352 if (ISDOpcode == ISD::SUB) in SelectBinaryIntOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp2385 unsigned ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local
2389 TLI->getOperationAction(ISDOpcode, LT.second) == in getArithmeticInstrCost()
2391 MVT PromotedVT = TLI->getTypeToPromoteTo(ISDOpcode, LT.second); in getArithmeticInstrCost()
2427 switch (ISDOpcode) { in getArithmeticInstrCost()
H A DRISCVISelLowering.cpp11061 static unsigned getRVVReductionOp(unsigned ISDOpcode) { in getRVVReductionOp() argument
11062 switch (ISDOpcode) { in getRVVReductionOp()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2361 int ISDOpcode = TLI.InstructionOpcodeToISD(TruncUser->getOpcode()); in SinkShiftAndTruncate() local
2362 if (!ISDOpcode) in SinkShiftAndTruncate()
2371 ISDOpcode, TLI.getValueType(DL, TruncUser->getType(), true))) in SinkShiftAndTruncate()
4698 int ISDOpcode = TLI.InstructionOpcodeToISD(PromotedInst->getOpcode()); in isPromotedInstructionLegal() local
4700 if (!ISDOpcode) in isPromotedInstructionLegal()
4704 ISDOpcode, TLI.getValueType(DL, PromotedInst->getType())); in isPromotedInstructionLegal()
8181 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote() local
8182 if (!ISDOpcode) in shouldPromote()
8186 ISDOpcode, TLI.getValueType(DL, getTransitionType(), true)); in shouldPromote()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp167 bool selectRem(const Instruction *I, unsigned ISDOpcode);
4616 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument
4627 switch (ISDOpcode) { in selectRem()
H A DAArch64ISelLowering.cpp27560 static unsigned getAtomicLoad128Opcode(unsigned ISDOpcode, in getAtomicLoad128Opcode() argument
27566 assert(ISDOpcode != ISD::ATOMIC_LOAD_CLR && in getAtomicLoad128Opcode()
27568 assert(ISDOpcode != ISD::ATOMIC_LOAD_ADD && "There is no 128 bit LDADD"); in getAtomicLoad128Opcode()
27569 assert(ISDOpcode != ISD::ATOMIC_LOAD_SUB && "There is no 128 bit LDSUB"); in getAtomicLoad128Opcode()
27571 if (ISDOpcode == ISD::ATOMIC_LOAD_AND) { in getAtomicLoad128Opcode()
27592 if (ISDOpcode == ISD::ATOMIC_LOAD_OR) { in getAtomicLoad128Opcode()
27612 if (ISDOpcode == ISD::ATOMIC_SWAP) { in getAtomicLoad128Opcode()
27660 const unsigned ISDOpcode = N->getOpcode(); in ReplaceATOMIC_LOAD_128Results() local
27662 getAtomicLoad128Opcode(ISDOpcode, MemOp->getMergedOrdering()); in ReplaceATOMIC_LOAD_128Results()
27664 if (ISDOpcode == ISD::ATOMIC_LOAD_AND) { in ReplaceATOMIC_LOAD_128Results()