/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 2018 Intrinsic::ID IntrinsicID, in ConstantFoldScalarCall1() argument 2025 if (IntrinsicID == Intrinsic::is_constant) { in ConstantFoldScalarCall1() 2036 if (IntrinsicID == Intrinsic::canonicalize) in ConstantFoldScalarCall1() 2044 if (IntrinsicID == Intrinsic::cos || in ConstantFoldScalarCall1() 2045 IntrinsicID == Intrinsic::ctpop || in ConstantFoldScalarCall1() 2046 IntrinsicID == Intrinsic::fptoui_sat || in ConstantFoldScalarCall1() 2047 IntrinsicID == Intrinsic::fptosi_sat || in ConstantFoldScalarCall1() 2048 IntrinsicID == Intrinsic::canonicalize) in ConstantFoldScalarCall1() 2050 if (IntrinsicID == Intrinsic::bswap || in ConstantFoldScalarCall1() 2051 IntrinsicID == Intrinsic::bitreverse || in ConstantFoldScalarCall1() [all …]
|
H A D | IRSimilarityIdentifier.cpp | 141 Intrinsic::ID IntrinsicID = II->getIntrinsicID(); in setCalleeName() local 145 if (Intrinsic::isOverloaded(IntrinsicID)) in setCalleeName() 147 Intrinsic::getName(IntrinsicID, FT->params(), II->getModule(), FT); in setCalleeName() 150 CalleeName = Intrinsic::getName(IntrinsicID).str(); in setCalleeName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.h | 949 unsigned IntrinsicID = IntInst->getIntrinsicID(); in isGather() local 950 return (IntrinsicID == Intrinsic::masked_gather || in isGather() 951 IntrinsicID == Intrinsic::arm_mve_vldr_gather_base || in isGather() 952 IntrinsicID == Intrinsic::arm_mve_vldr_gather_base_predicated || in isGather() 953 IntrinsicID == Intrinsic::arm_mve_vldr_gather_base_wb || in isGather() 954 IntrinsicID == Intrinsic::arm_mve_vldr_gather_base_wb_predicated || in isGather() 955 IntrinsicID == Intrinsic::arm_mve_vldr_gather_offset || in isGather() 956 IntrinsicID == Intrinsic::arm_mve_vldr_gather_offset_predicated); in isGather() 963 unsigned IntrinsicID = IntInst->getIntrinsicID(); in isScatter() local 964 return (IntrinsicID == Intrinsic::masked_scatter || in isScatter() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCombinerHelper.cpp | 48 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(MI).getIntrinsicID(); in fnegFoldsIntoMI() local 49 switch (IntrinsicID) { in fnegFoldsIntoMI() 99 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(MI).getIntrinsicID(); in hasSourceMods() local 100 switch (IntrinsicID) { in hasSourceMods() 242 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(MatchInfo)->getIntrinsicID(); in matchFoldableFneg() local 243 switch (IntrinsicID) { in matchFoldableFneg() 344 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(MatchInfo)->getIntrinsicID(); in applyFoldableFneg() local 345 switch (IntrinsicID) { in applyFoldableFneg()
|
H A D | R600ISelLowering.cpp | 427 unsigned IntrinsicID = Op.getConstantOperandVal(1); in LowerOperation() local 428 switch (IntrinsicID) { in LowerOperation() 451 unsigned IntrinsicID = Op.getConstantOperandVal(0); in LowerOperation() local 454 switch (IntrinsicID) { in LowerOperation() 458 switch (IntrinsicID) { in LowerOperation()
|
H A D | AMDGPUInstructionSelector.cpp | 1013 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(I).getIntrinsicID(); in selectG_INTRINSIC() local 1014 switch (IntrinsicID) { in selectG_INTRINSIC() 2069 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(I).getIntrinsicID(); in selectG_INTRINSIC_W_SIDE_EFFECTS() local 2070 switch (IntrinsicID) { in selectG_INTRINSIC_W_SIDE_EFFECTS() 2075 return selectDSOrderedIntrinsic(I, IntrinsicID); in selectG_INTRINSIC_W_SIDE_EFFECTS() 2082 return selectDSGWSIntrinsic(I, IntrinsicID); in selectG_INTRINSIC_W_SIDE_EFFECTS() 2111 return selectNamedBarrierInst(I, IntrinsicID); in selectG_INTRINSIC_W_SIDE_EFFECTS() 2114 return selectSBarrierSignalIsfirst(I, IntrinsicID); in selectG_INTRINSIC_W_SIDE_EFFECTS()
|
H A D | SIISelLowering.cpp | 8403 unsigned IntrinsicID = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 8407 switch (IntrinsicID) { in LowerINTRINSIC_WO_CHAIN() 8424 auto RegID = IntrinsicID == Intrinsic::amdgcn_dispatch_ptr ? in LowerINTRINSIC_WO_CHAIN() 8661 if (IntrinsicID == Intrinsic::amdgcn_cvt_pkrtz) in LowerINTRINSIC_WO_CHAIN() 8663 else if (IntrinsicID == Intrinsic::amdgcn_cvt_pknorm_i16) in LowerINTRINSIC_WO_CHAIN() 8665 else if (IntrinsicID == Intrinsic::amdgcn_cvt_pknorm_u16) in LowerINTRINSIC_WO_CHAIN() 8667 else if (IntrinsicID == Intrinsic::amdgcn_cvt_pk_i16) in LowerINTRINSIC_WO_CHAIN() 8702 unsigned AS = (IntrinsicID == Intrinsic::amdgcn_is_shared) ? in LowerINTRINSIC_WO_CHAIN() 8766 AMDGPU::getImageDimIntrinsicInfo(IntrinsicID)) in LowerINTRINSIC_WO_CHAIN() 9486 unsigned IntrinsicID = Op.getConstantOperandVal(1); in LowerINTRINSIC_VOID() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 1513 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(MI).getIntrinsicID(); in legalizeIntrinsic() local 1514 switch (IntrinsicID) { in legalizeIntrinsic() 1579 bool IsSigned = IntrinsicID == Intrinsic::aarch64_neon_saddv || in legalizeIntrinsic() 1580 IntrinsicID == Intrinsic::aarch64_neon_smaxv || in legalizeIntrinsic() 1581 IntrinsicID == Intrinsic::aarch64_neon_sminv; in legalizeIntrinsic() 1605 unsigned Opc = IntrinsicID == Intrinsic::aarch64_neon_uaddlp in legalizeIntrinsic() 1618 unsigned Opc = IntrinsicID == Intrinsic::aarch64_neon_uaddlv in legalizeIntrinsic() 1660 if (IntrinsicID == Intrinsic::aarch64_neon_smax) in legalizeIntrinsic() 1662 else if (IntrinsicID == Intrinsic::aarch64_neon_smin) in legalizeIntrinsic() 1664 else if (IntrinsicID == Intrinsic::aarch64_neon_umax) in legalizeIntrinsic() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 178 Intrinsic::ID IntrinsicID; // For MO_IntrinsicID. member 614 return Contents.IntrinsicID; in getIntrinsicID() 743 Contents.IntrinsicID = IID; in setIntrinsicID() 974 Op.Contents.IntrinsicID = ID; in CreatePredicate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 186 static bool isIntrinsicSupported(Intrinsic::ID IntrinsicID); 189 static ConstantRange intrinsic(Intrinsic::ID IntrinsicID,
|
H A D | IntrinsicInst.h | 565 static std::optional<unsigned> getMaskParamPos(Intrinsic::ID IntrinsicID); 567 Intrinsic::ID IntrinsicID); 1791 static inline bool isConvergenceControlIntrinsic(unsigned IntrinsicID) { in isConvergenceControlIntrinsic() argument 1792 switch (IntrinsicID) { in isConvergenceControlIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerExpectIntrinsic.cpp | 56 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight() argument 57 if (IntrinsicID == Intrinsic::expect) { in getBranchWeight()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IntrinsicInst.cpp | 427 VPIntrinsic::getMaskParamPos(Intrinsic::ID IntrinsicID) { in getMaskParamPos() argument 428 switch (IntrinsicID) { in getMaskParamPos() 440 VPIntrinsic::getVectorLengthParamPos(Intrinsic::ID IntrinsicID) { in getVectorLengthParamPos() argument 441 switch (IntrinsicID) { in getVectorLengthParamPos()
|
H A D | ConstantRange.cpp | 998 bool ConstantRange::isIntrinsicSupported(Intrinsic::ID IntrinsicID) { in isIntrinsicSupported() argument 999 switch (IntrinsicID) { in isIntrinsicSupported() 1018 ConstantRange ConstantRange::intrinsic(Intrinsic::ID IntrinsicID, in intrinsic() argument 1020 switch (IntrinsicID) { in intrinsic() 1058 assert(!isIntrinsicSupported(IntrinsicID) && "Shouldn't be supported"); in intrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVUtils.cpp | 279 bool isSpvIntrinsic(const MachineInstr &MI, Intrinsic::ID IntrinsicID) { in isSpvIntrinsic() argument 281 return GI->is(IntrinsicID); in isSpvIntrinsic()
|
H A D | SPIRVUtils.h | 88 bool isSpvIntrinsic(const MachineInstr &MI, Intrinsic::ID IntrinsicID);
|
H A D | SPIRVPrepareFunctions.cpp | 116 auto IntrinsicID = Intrinsic->getIntrinsicID(); in lowerIntrinsicToFunction() local 122 switch (IntrinsicID) { in lowerIntrinsicToFunction()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | IRSimilarityIdentifier.h | 277 Intrinsic::ID IntrinsicID = II->getIntrinsicID(); in hash_value() local 280 llvm::hash_value(ID.Inst->getType()), llvm::hash_value(IntrinsicID), in hash_value()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | MveEmitter.cpp | 727 std::string IntrinsicID; member in __anon819a2c470111::IRIntrinsicResult 730 IRIntrinsicResult(StringRef IntrinsicID, in IRIntrinsicResult() argument 733 : IntrinsicID(std::string(IntrinsicID)), ParamTypes(ParamTypes), in IRIntrinsicResult() 738 "Intrinsic::ID", "Intrinsic::" + IntrinsicID); in genCode()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 495 const CallExpr *E, unsigned IntrinsicID, in emitUnaryMaybeConstrainedFPBuiltin() argument 504 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitUnaryMaybeConstrainedFPBuiltin() 512 const CallExpr *E, unsigned IntrinsicID, in emitBinaryMaybeConstrainedFPBuiltin() argument 522 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitBinaryMaybeConstrainedFPBuiltin() 529 CodeGenFunction &CGF, const CallExpr *E, llvm::Intrinsic::ID IntrinsicID, in emitBinaryExpMaybeConstrainedFPBuiltin() argument 542 CGF.CGM.getIntrinsic(IntrinsicID, {Src0->getType(), Src1->getType()}); in emitBinaryExpMaybeConstrainedFPBuiltin() 549 const CallExpr *E, unsigned IntrinsicID, in emitTernaryMaybeConstrainedFPBuiltin() argument 560 Function *F = CGF.CGM.getIntrinsic(IntrinsicID, Src0->getType()); in emitTernaryMaybeConstrainedFPBuiltin() 568 unsigned IntrinsicID, in emitCallMaybeConstrainedFPBuiltin() argument 576 F = CGF.CGM.getIntrinsic(IntrinsicID, Ty); in emitCallMaybeConstrainedFPBuiltin() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVLegalizerInfo.cpp | 477 Intrinsic::ID IntrinsicID = cast<GIntrinsic>(MI).getIntrinsicID(); in legalizeIntrinsic() local 478 switch (IntrinsicID) { in legalizeIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 1221 Intrinsic::ID IntrinsicID; in canonicalizeSPF() local 1224 IntrinsicID = Intrinsic::umin; in canonicalizeSPF() 1227 IntrinsicID = Intrinsic::umax; in canonicalizeSPF() 1230 IntrinsicID = Intrinsic::smin; in canonicalizeSPF() 1233 IntrinsicID = Intrinsic::smax; in canonicalizeSPF() 1238 return IC.Builder.CreateBinaryIntrinsic(IntrinsicID, LHS, RHS); in canonicalizeSPF()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 918 auto IntrinsicID = BinOp->getIntrinsicID(); in tryCombineFromSVBoolBinOp() local 919 switch (IntrinsicID) { in tryCombineFromSVBoolBinOp() 957 IC.Builder.CreateIntrinsic(IntrinsicID, {PredOpTy}, NarrowedBinOpArgs); in tryCombineFromSVBoolBinOp() 1216 auto IntrinsicID = II.getIntrinsicID(); in instCombineSVELast() local 1217 bool IsAfter = IntrinsicID == Intrinsic::aarch64_sve_lasta; in instCombineSVELast() 1231 IC.Builder.CreateIntrinsic(IntrinsicID, {Vec->getType()}, {Pg, LHS}); in instCombineSVELast() 1233 IC.Builder.CreateIntrinsic(IntrinsicID, {Vec->getType()}, {Pg, RHS}); in instCombineSVELast()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 10577 unsigned IntrinsicID = Intrin.getConstantOperandVal(0); in getVectorCompareInfo() local 10580 switch (IntrinsicID) { in getVectorCompareInfo() 10618 switch (IntrinsicID) { in getVectorCompareInfo() 10696 switch (IntrinsicID) { in getVectorCompareInfo() 10719 switch (IntrinsicID) { in getVectorCompareInfo() 10773 switch (IntrinsicID) { in getVectorCompareInfo() 10839 switch (IntrinsicID) { in getVectorCompareInfo() 10862 unsigned IntrinsicID = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 10866 switch (IntrinsicID) { in LowerINTRINSIC_WO_CHAIN() 10976 if (IntrinsicID == Intrinsic::ppc_mma_disassemble_acc) { in LowerINTRINSIC_WO_CHAIN() [all …]
|
H A D | PPCISelDAGToDAG.cpp | 5252 auto IntrinsicID = N->getConstantOperandVal(1); in Select() local 5253 if (IntrinsicID != Intrinsic::ppc_tdw && IntrinsicID != Intrinsic::ppc_tw && in Select() 5254 IntrinsicID != Intrinsic::ppc_trapd && in Select() 5255 IntrinsicID != Intrinsic::ppc_trap) in Select() 5257 unsigned Opcode = (IntrinsicID == Intrinsic::ppc_tdw || in Select() 5258 IntrinsicID == Intrinsic::ppc_trapd) in Select() 5263 if (IntrinsicID == Intrinsic::ppc_tdw || in Select() 5264 IntrinsicID == Intrinsic::ppc_tw) { in Select() 5277 Opcode = IntrinsicID == Intrinsic::ppc_tdw ? PPC::TD : PPC::TW; in Select()
|