Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFastISel.h506 bool selectBinaryOp(const User *I, unsigned ISDOpcode);
/freebsd-14.2/contrib/llvm-project/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.cpp1323 int ISDOpcode = TLI->InstructionOpcodeToISD(Opcode); in getArithmeticInstrCost() local
1328 switch (ISDOpcode) { in getArithmeticInstrCost()
1385 if (const auto *Entry = CostTableLookup(CostTbl, ISDOpcode, LT.second)) in getArithmeticInstrCost()
1441 if (TLI->isOperationLegalOrCustomOrPromote(ISDOpcode, LT.second)) in getArithmeticInstrCost()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2081 int ISDOpcode = TLI.InstructionOpcodeToISD(TruncUser->getOpcode()); in SinkShiftAndTruncate() local
2082 if (!ISDOpcode) in SinkShiftAndTruncate()
2091 ISDOpcode, TLI.getValueType(DL, TruncUser->getType(), true))) in SinkShiftAndTruncate()
4267 int ISDOpcode = TLI.InstructionOpcodeToISD(PromotedInst->getOpcode()); in isPromotedInstructionLegal() local
4269 if (!ISDOpcode) in isPromotedInstructionLegal()
4273 ISDOpcode, TLI.getValueType(DL, PromotedInst->getType())); in isPromotedInstructionLegal()
7675 int ISDOpcode = TLI.InstructionOpcodeToISD(ToBePromoted->getOpcode()); in shouldPromote() local
7676 if (!ISDOpcode) in shouldPromote()
7680 ISDOpcode, TLI.getValueType(DL, getTransitionType(), true)); in shouldPromote()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp171 bool selectRem(const Instruction *I, unsigned ISDOpcode);
4599 bool AArch64FastISel::selectRem(const Instruction *I, unsigned ISDOpcode) { in selectRem() argument
4610 switch (ISDOpcode) { in selectRem()
H A DAArch64ISelLowering.cpp24624 static unsigned getAtomicLoad128Opcode(unsigned ISDOpcode, in getAtomicLoad128Opcode() argument
24630 assert(ISDOpcode != ISD::ATOMIC_LOAD_CLR && in getAtomicLoad128Opcode()
24632 assert(ISDOpcode != ISD::ATOMIC_LOAD_ADD && "There is no 128 bit LDADD"); in getAtomicLoad128Opcode()
24633 assert(ISDOpcode != ISD::ATOMIC_LOAD_SUB && "There is no 128 bit LDSUB"); in getAtomicLoad128Opcode()
24635 if (ISDOpcode == ISD::ATOMIC_LOAD_AND) { in getAtomicLoad128Opcode()
24656 if (ISDOpcode == ISD::ATOMIC_LOAD_OR) { in getAtomicLoad128Opcode()
24676 if (ISDOpcode == ISD::ATOMIC_SWAP) { in getAtomicLoad128Opcode()
24724 const unsigned ISDOpcode = N->getOpcode(); in ReplaceATOMIC_LOAD_128Results() local
24726 getAtomicLoad128Opcode(ISDOpcode, MemOp->getMergedOrdering()); in ReplaceATOMIC_LOAD_128Results()
24728 if (ISDOpcode == ISD::ATOMIC_LOAD_AND) { in ReplaceATOMIC_LOAD_128Results()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp9049 static unsigned getRVVReductionOp(unsigned ISDOpcode) { in getRVVReductionOp() argument
9050 switch (ISDOpcode) { in getRVVReductionOp()