| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | WebAssembly.cpp | 179 unsigned IntNo; in EmitWebAssemblyBuiltinExpr() local 184 IntNo = Intrinsic::ceil; in EmitWebAssemblyBuiltinExpr() 189 IntNo = Intrinsic::floor; in EmitWebAssemblyBuiltinExpr() 194 IntNo = Intrinsic::trunc; in EmitWebAssemblyBuiltinExpr() 199 IntNo = Intrinsic::nearbyint; in EmitWebAssemblyBuiltinExpr() 205 Function *Callee = CGM.getIntrinsic(IntNo, ConvertType(E->getType())); in EmitWebAssemblyBuiltinExpr() 256 unsigned IntNo; in EmitWebAssemblyBuiltinExpr() local 260 IntNo = Intrinsic::wasm_extadd_pairwise_signed; in EmitWebAssemblyBuiltinExpr() 264 IntNo = Intrinsic::wasm_extadd_pairwise_unsigned; in EmitWebAssemblyBuiltinExpr() 270 Function *Callee = CGM.getIntrinsic(IntNo, ConvertType(E->getType())); in EmitWebAssemblyBuiltinExpr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelDAGToDAG.cpp | 469 unsigned IntNo = Node->getConstantOperandVal(0); in selectVSETVLI() local 471 assert((IntNo == Intrinsic::riscv_vsetvli || in selectVSETVLI() 472 IntNo == Intrinsic::riscv_vsetvlimax) && in selectVSETVLI() 475 bool VLMax = IntNo == Intrinsic::riscv_vsetvlimax; in selectVSETVLI() 899 unsigned IntNo = Node->getConstantOperandVal(1); in selectSF_VC_X_SE() local 901 assert((IntNo == Intrinsic::riscv_sf_vc_x_se || in selectSF_VC_X_SE() 902 IntNo == Intrinsic::riscv_sf_vc_i_se) && in selectSF_VC_X_SE() 918 Opcode = IntNo == Intrinsic::riscv_sf_vc_x_se ? RISCV::PseudoSF_VC_X_SE_MF8 in selectSF_VC_X_SE() 922 Opcode = IntNo == Intrinsic::riscv_sf_vc_x_se ? RISCV::PseudoSF_VC_X_SE_MF4 in selectSF_VC_X_SE() 926 Opcode = IntNo == Intrinsic::riscv_sf_vc_x_se ? RISCV::PseudoSF_VC_X_SE_MF2 in selectSF_VC_X_SE() [all …]
|
| H A D | RISCVISelLowering.cpp | 2739 unsigned IntNo = Op.getConstantOperandVal(HasChain ? 1 : 0); in getVLOperand() local 2741 RISCVVIntrinsicsTable::getRISCVVIntrinsicInfo(IntNo); in getVLOperand() 10301 unsigned IntNo = Op.getConstantOperandVal(HasChain ? 1 : 0); in lowerVectorIntrinsicScalars() local 10306 RISCVVIntrinsicsTable::getRISCVVIntrinsicInfo(IntNo); in lowerVectorIntrinsicScalars() 10354 switch (IntNo) { in lowerVectorIntrinsicScalars() 10416 if (IntNo == Intrinsic::riscv_vslide1up || in lowerVectorIntrinsicScalars() 10417 IntNo == Intrinsic::riscv_vslide1up_mask) { in lowerVectorIntrinsicScalars() 10536 unsigned IntNo = Op.getConstantOperandVal(HasChain ? 1 : 0); in promoteVCIXScalar() local 10540 RISCVVIntrinsicsTable::getRISCVVIntrinsicInfo(IntNo); in promoteVCIXScalar() 10596 unsigned IntNo = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelDAGToDAG.cpp | 175 unsigned IntNo = Node->getConstantOperandVal(0); in Select() local 176 switch (IntNo) { in Select() 197 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 200 switch (IntNo) { in Select() 234 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 235 switch (IntNo) { in Select()
|
| H A D | WebAssemblyISelLowering.cpp | 1095 unsigned IntNo = Op.getConstantOperandVal(0); in computeKnownBitsForTargetNode() local 1096 switch (IntNo) { in computeKnownBitsForTargetNode() 2191 unsigned IntNo; in LowerIntrinsic() local 2195 IntNo = Op.getConstantOperandVal(1); in LowerIntrinsic() 2198 IntNo = Op.getConstantOperandVal(0); in LowerIntrinsic() 2205 switch (IntNo) { in LowerIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 197 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 198 switch (IntNo) { in Select() 475 unsigned IntNo = BaseV->getConstantOperandVal(1); in PreprocessTrunc() local 478 if (!((IntNo == Intrinsic::bpf_load_byte && MaskV == 0xFF) || in PreprocessTrunc() 479 (IntNo == Intrinsic::bpf_load_half && MaskV == 0xFFFF) || in PreprocessTrunc() 480 (IntNo == Intrinsic::bpf_load_word && MaskV == 0xFFFFFFFF))) in PreprocessTrunc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAG.cpp | 200 unsigned IntNo = IntN->getConstantOperandVal(1); in LoadInstrForLoadIntrinsic() local 210 auto FLC = LoadPciMap.find(IntNo); in LoadInstrForLoadIntrinsic() 212 EVT ValTy = (IntNo == Intrinsic::hexagon_circ_ldd) ? MVT::i64 : MVT::i32; in LoadInstrForLoadIntrinsic() 334 unsigned IntNo = IntN->getConstantOperandVal(1); in SelectBrevLdIntrinsic() local 344 auto FLI = LoadBrevMap.find(IntNo); in SelectBrevLdIntrinsic() 347 (IntNo == Intrinsic::hexagon_L2_loadrd_pbr) ? MVT::i64 : MVT::i32; in SelectBrevLdIntrinsic() 375 unsigned IntNo = IntN->getConstantOperandVal(1); in SelectNewCircIntrinsic() local 392 auto FLI = LoadNPcMap.find (IntNo); in SelectNewCircIntrinsic() 395 if (IntNo == Intrinsic::hexagon_L2_loadrd_pci || in SelectNewCircIntrinsic() 396 IntNo == Intrinsic::hexagon_L2_loadrd_pcr) in SelectNewCircIntrinsic() [all …]
|
| H A D | HexagonISelDAGToDAGHVX.cpp | 2888 unsigned IntNo = N->getConstantOperandVal(1); in SelectV65GatherPred() local 2889 switch (IntNo) { in SelectV65GatherPred() 2927 unsigned IntNo = N->getConstantOperandVal(1); in SelectV65Gather() local 2928 switch (IntNo) { in SelectV65Gather()
|
| H A D | HexagonISelLowering.cpp | 819 unsigned IntNo = Op.getConstantOperandVal(1); in LowerINTRINSIC_VOID() local 821 if (IntNo == Intrinsic::hexagon_prefetch) { in LowerINTRINSIC_VOID()
|
| H A D | HexagonISelLoweringHVX.cpp | 2167 unsigned IntNo = Op.getConstantOperandVal(0); in LowerHvxIntrinsic() local 2174 switch (IntNo) { in LowerHvxIntrinsic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelDAGToDAG.cpp | 213 unsigned IntNo = Addr->getConstantOperandVal(1); in tryBRIND() local 214 if (IntNo != Intrinsic::xcore_checkevent) in tryBRIND()
|
| H A D | XCoreISelLowering.cpp | 881 unsigned IntNo = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 882 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 1706 unsigned IntNo = Op.getConstantOperandVal(1); in computeKnownBitsForTargetNode() local 1707 switch (IntNo) { in computeKnownBitsForTargetNode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 4699 unsigned IntNo = N->getConstantOperandVal(1); in Select() local 4700 switch (IntNo) { in Select() 4711 Opc = (IntNo == Intrinsic::arm_mrrc ? ARM::t2MRRC : ARM::t2MRRC2); in Select() 4713 Opc = (IntNo == Intrinsic::arm_mrrc ? ARM::MRRC : ARM::MRRC2); in Select() 4743 bool IsAcquire = IntNo == Intrinsic::arm_ldaexd; in Select() 4822 bool IsRelease = IntNo == Intrinsic::arm_stlexd; in Select() 5132 IntNo == Intrinsic::arm_mve_vldr_gather_base_wb_predicated); in Select() 5165 unsigned IntNo = N->getConstantOperandVal(0); in Select() local 5166 switch (IntNo) { in Select() 5215 IntNo == Intrinsic::arm_mve_vadc_predicated); in Select() [all …]
|
| H A D | ARMISelLowering.cpp | 4154 unsigned IntNo = in LowerINTRINSIC_VOID() local 4156 switch (IntNo) { in LowerINTRINSIC_VOID() 4195 unsigned IntNo = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 4197 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 4279 unsigned NewOpc = (IntNo == Intrinsic::arm_neon_vmulls) in LowerINTRINSIC_WO_CHAIN() 4286 unsigned NewOpc = (IntNo == Intrinsic::arm_neon_vminnm) in LowerINTRINSIC_WO_CHAIN() 4295 unsigned NewOpc = (IntNo == Intrinsic::arm_neon_vminu) in LowerINTRINSIC_WO_CHAIN() 4304 unsigned NewOpc = (IntNo == Intrinsic::arm_neon_vmins) in LowerINTRINSIC_WO_CHAIN() 4309 unsigned NewOpc = (IntNo == Intrinsic::arm_neon_vmins) in LowerINTRINSIC_WO_CHAIN() 10761 unsigned IntNo = N->getConstantOperandVal(0); in ReplaceLongIntrinsic() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86IntrinsicsInfo.h | 347 static const IntrinsicData *getIntrinsicWithChain(unsigned IntNo) { in getIntrinsicWithChain() argument 348 const IntrinsicData *Data = lower_bound(IntrinsicsWithChain, IntNo); in getIntrinsicWithChain() 349 if (Data != std::end(IntrinsicsWithChain) && Data->Id == IntNo) in getIntrinsicWithChain() 2080 static const IntrinsicData *getIntrinsicWithoutChain(unsigned IntNo) { in getIntrinsicWithoutChain() argument 2081 const IntrinsicData *Data = lower_bound(IntrinsicsWithoutChain, IntNo); in getIntrinsicWithoutChain() 2082 if (Data != std::end(IntrinsicsWithoutChain) && Data->Id == IntNo) in getIntrinsicWithoutChain()
|
| H A D | X86ISelDAGToDAG.cpp | 5157 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 5158 switch (IntNo) { in Select() 5166 switch (IntNo) { in Select() 5202 switch (IntNo) { in Select() 5242 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 5243 switch (IntNo) { in Select() 5251 switch (IntNo) { in Select() 5276 if (IntNo == Intrinsic::x86_sse3_monitor || in Select() 5277 IntNo == Intrinsic::x86_monitorx) { in Select() 5335 switch (IntNo) { in Select() [all …]
|
| H A D | X86ISelLowering.cpp | 26368 unsigned IntNo = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 26370 const IntrinsicData* IntrData = getIntrinsicWithoutChain(IntNo); in LowerINTRINSIC_WO_CHAIN() 27055 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 27089 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 27160 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 27213 if (IntNo == Intrinsic::x86_sse42_pcmpistri128) in LowerINTRINSIC_WO_CHAIN() 27226 if (IntNo == Intrinsic::x86_sse42_pcmpistrm128) in LowerINTRINSIC_WO_CHAIN() 27330 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 27669 unsigned IntNo = Op.getConstantOperandVal(1); in LowerINTRINSIC_W_CHAIN() local 27670 const IntrinsicData *IntrData = getIntrinsicWithChain(IntNo); in LowerINTRINSIC_W_CHAIN() [all …]
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 735 std::string IntNo = ParamAlloc.allocParam( in genCode() local 737 OS << "Builder.CreateCall(CGM.getIntrinsic(" << IntNo; in genCode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 4908 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 4909 switch (IntNo) { in Select() 4927 IntNo == Intrinsic::aarch64_ldaxp ? AArch64::LDAXPX : AArch64::LDXPX; in Select() 4945 IntNo == Intrinsic::aarch64_stlxp ? AArch64::STLXPX : AArch64::STXPX; in Select() 5783 unsigned IntNo = Node->getConstantOperandVal(0); in Select() local 5784 switch (IntNo) { in Select() 6463 unsigned IntNo = Node->getConstantOperandVal(1); in Select() local 6466 switch (IntNo) { in Select()
|
| H A D | AArch64ISelLowering.cpp | 2640 unsigned IntNo = Op.getConstantOperandVal(0); in computeKnownBitsForTargetNode() local 2641 switch (IntNo) { in computeKnownBitsForTargetNode() 5782 unsigned IntNo = Op.getConstantOperandVal(1); in LowerINTRINSIC_VOID() local 5784 switch (IntNo) { in LowerINTRINSIC_VOID() 5805 return LowerSMELdrStr(Op, DAG, IntNo == Intrinsic::aarch64_sme_ldr); in LowerINTRINSIC_VOID() 5822 unsigned IntNo = Op.getConstantOperandVal(1); in LowerINTRINSIC_W_CHAIN() local 5824 switch (IntNo) { in LowerINTRINSIC_W_CHAIN() 5855 unsigned IntNo = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 5857 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN() 6293 bool IsShiftRight = IntNo == Intrinsic::aarch64_neon_vsri || in LowerINTRINSIC_WO_CHAIN() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelLowering.cpp | 1755 unsigned IntNo = Op.getConstantOperandVal(0); in lowerINTRINSIC_WO_CHAIN() local 1756 switch (IntNo) { in lowerINTRINSIC_WO_CHAIN()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 3085 unsigned IntNo = Op.getConstantOperandVal(0); in LowerINTRINSIC_WO_CHAIN() local 3086 switch (IntNo) { in LowerINTRINSIC_WO_CHAIN()
|