Home
last modified time | relevance | path

Searched refs:getIntrinsicID (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicInst.h51 Intrinsic::ID getIntrinsicID() const { in getIntrinsicID() function
52 return getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
72 switch (I->getIntrinsicID()) { in classof()
98 return getIntrinsicID() != Intrinsic::dbg_value; in isAddressOfVariable()
124 switch (I->getIntrinsicID()) { in classof()
146 return I->getIntrinsicID() == Intrinsic::dbg_declare; in classof()
162 return I->getIntrinsicID() == Intrinsic::dbg_addr; in classof()
179 return I->getIntrinsicID() == Intrinsic::dbg_value; in classof()
201 return I->getIntrinsicID() == Intrinsic::dbg_label; in classof()
231 switch (I->getIntrinsicID()) { in classof()
[all …]
DStatepoint.h319 return I->getIntrinsicID() == Intrinsic::experimental_gc_relocate || in classof()
320 I->getIntrinsicID() == Intrinsic::experimental_gc_result; in classof()
363 return I->getIntrinsicID() == Intrinsic::experimental_gc_relocate; in classof()
396 return I->getIntrinsicID() == Intrinsic::experimental_gc_result; in classof()
/external/llvm-project/llvm/include/llvm/IR/
DIntrinsicInst.h51 Intrinsic::ID getIntrinsicID() const { in getIntrinsicID() function
52 return getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
58 switch (getIntrinsicID()) { in isCommutative()
115 return isDbgInfoIntrinsic(I->getIntrinsicID()); in classof()
134 return getIntrinsicID() != Intrinsic::dbg_value; in isAddressOfVariable()
160 switch (I->getIntrinsicID()) { in classof()
183 return I->getIntrinsicID() == Intrinsic::dbg_declare; in classof()
199 return I->getIntrinsicID() == Intrinsic::dbg_addr; in classof()
216 return I->getIntrinsicID() == Intrinsic::dbg_value; in classof()
236 return I->getIntrinsicID() == Intrinsic::dbg_label; in classof()
[all …]
DStatepoint.h69 return CF->getIntrinsicID() == Intrinsic::experimental_gc_statepoint; in classof()
221 return I->getIntrinsicID() == Intrinsic::experimental_gc_relocate || in classof()
222 I->getIntrinsicID() == Intrinsic::experimental_gc_result; in classof()
262 return I->getIntrinsicID() == Intrinsic::experimental_gc_relocate; in classof()
299 return I->getIntrinsicID() == Intrinsic::experimental_gc_result; in classof()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroInstr.h62 return I->getIntrinsicID() == Intrinsic::coro_subfn_addr; in classof()
74 return I->getIntrinsicID() == Intrinsic::coro_alloc; in classof()
94 if (II->getIntrinsicID() == Intrinsic::coro_begin) in getCoroBegin()
101 auto ID = I->getIntrinsicID(); in classof()
195 return I->getIntrinsicID() == Intrinsic::coro_id; in classof()
241 auto ID = I->getIntrinsicID(); in classof()
256 return I->getIntrinsicID() == Intrinsic::coro_id_retcon; in classof()
269 return I->getIntrinsicID() == Intrinsic::coro_id_retcon_once; in classof()
318 auto ID = I->getIntrinsicID(); in classof()
339 return I->getIntrinsicID() == Intrinsic::coro_async_context_alloc; in classof()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInstr.h62 return I->getIntrinsicID() == Intrinsic::coro_subfn_addr; in classof()
74 return I->getIntrinsicID() == Intrinsic::coro_alloc; in classof()
94 if (II->getIntrinsicID() == Intrinsic::coro_begin) in getCoroBegin()
101 auto ID = I->getIntrinsicID(); in classof()
195 return I->getIntrinsicID() == Intrinsic::coro_id; in classof()
241 auto ID = I->getIntrinsicID(); in classof()
256 return I->getIntrinsicID() == Intrinsic::coro_id_retcon; in classof()
269 return I->getIntrinsicID() == Intrinsic::coro_id_retcon_once; in classof()
281 return I->getIntrinsicID() == Intrinsic::coro_frame; in classof()
297 return I->getIntrinsicID() == Intrinsic::coro_free; in classof()
[all …]
/external/llvm/include/llvm/IR/
DIntrinsicInst.h43 Intrinsic::ID getIntrinsicID() const { in getIntrinsicID() function
44 return getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
68 switch (I->getIntrinsicID()) { in classof()
100 return I->getIntrinsicID() == Intrinsic::dbg_declare; in classof()
133 return I->getIntrinsicID() == Intrinsic::dbg_value; in classof()
202 switch (I->getIntrinsicID()) { in classof()
231 return I->getIntrinsicID() == Intrinsic::memset; in classof()
263 return I->getIntrinsicID() == Intrinsic::memcpy || in classof()
264 I->getIntrinsicID() == Intrinsic::memmove; in classof()
277 return I->getIntrinsicID() == Intrinsic::memcpy; in classof()
[all …]
DStatepoint.h312 return I->getIntrinsicID() == Intrinsic::experimental_gc_relocate || in classof()
313 I->getIntrinsicID() == Intrinsic::experimental_gc_result; in classof()
355 return I->getIntrinsicID() == Intrinsic::experimental_gc_relocate; in classof()
389 return I->getIntrinsicID() == Intrinsic::experimental_gc_result; in classof()
/external/llvm-project/llvm/lib/Target/AArch64/
DSVEIntrinsicOpts.cpp92 if (I->getIntrinsicID() != Intrinsic::aarch64_sve_convert_to_svbool) in isReinterpretToSVBool()
148 Op1->getIntrinsicID() == Intrinsic::aarch64_sve_convert_to_svbool && in optimizePTest()
149 Op2->getIntrinsicID() == Intrinsic::aarch64_sve_convert_to_svbool && in optimizePTest()
156 auto Fn = Intrinsic::getDeclaration(M, I->getIntrinsicID(), Tys); in optimizePTest()
173 assert(I->getIntrinsicID() == Intrinsic::aarch64_sve_convert_from_svbool && in optimizeConvertFromSVBool()
204 switch (IntrI->getIntrinsicID()) { in optimizeIntrinsic()
246 switch (F.getIntrinsicID()) { in runOnModule()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp83 if (!Fn || (Fn->getIntrinsicID() != Intrinsic::expect && in handleSwitchExpect()
84 Fn->getIntrinsicID() != Intrinsic::expect_with_probability)) in handleSwitchExpect()
96 getBranchWeight(Fn->getIntrinsicID(), CI, n + 1); in handleSwitchExpect()
246 Expect->getCalledFunction()->getIntrinsicID(), Expect, 2); in handlePhiDef()
301 if (!Fn || (Fn->getIntrinsicID() != Intrinsic::expect && in handleBrSelExpect()
302 Fn->getIntrinsicID() != Intrinsic::expect_with_probability)) in handleBrSelExpect()
315 getBranchWeight(Fn->getIntrinsicID(), CI, 2); in handleBrSelExpect()
371 if (Fn && (Fn->getIntrinsicID() == Intrinsic::expect || in lowerExpectIntrinsic()
372 Fn->getIntrinsicID() == Intrinsic::expect_with_probability)) { in lowerExpectIntrinsic()
DEarlyCSE.cpp338 if (LII && RII && LII->getIntrinsicID() == RII->getIntrinsicID() && in isEqualImpl()
663 IntrID = II->getIntrinsicID(); in ParseMemoryInst()
794 return isHandledNonTargetIntrinsic(II->getIntrinsicID()); in isHandledNonTargetIntrinsic()
816 if (isHandledNonTargetIntrinsic(II->getIntrinsicID())) in getOrCreateResult()
823 switch (II->getIntrinsicID()) { in getOrCreateResultNonTargetMemIntrinsic()
871 if (II->getIntrinsicID() == Intrinsic::masked_load) in isNonTargetIntrinsicMatch()
873 if (II->getIntrinsicID() == Intrinsic::masked_store) in isNonTargetIntrinsicMatch()
878 if (II->getIntrinsicID() == Intrinsic::masked_load) in isNonTargetIntrinsicMatch()
880 if (II->getIntrinsicID() == Intrinsic::masked_store) in isNonTargetIntrinsicMatch()
885 if (II->getIntrinsicID() == Intrinsic::masked_load) in isNonTargetIntrinsicMatch()
[all …]
/external/llvm-project/llvm/lib/IR/
DIntrinsicInst.cpp149 switch (getIntrinsicID()) { in isUnaryOp()
160 switch (getIntrinsicID()) { in isTernaryOp()
171 switch (I->getIntrinsicID()) { in classof()
193 auto maskPos = GetMaskParamPos(getIntrinsicID()); in getMaskParam()
200 auto vlenPos = GetVectorLengthParamPos(getIntrinsicID()); in getVectorLengthParam()
312 switch (getIntrinsicID()) { in getBinaryOp()
332 switch (getIntrinsicID()) { in isSigned()
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp65 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::minnum); in TEST_F()
69 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::maxnum); in TEST_F()
73 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::minimum); in TEST_F()
77 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::maximum); in TEST_F()
81 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::readcyclecounter); in TEST_F()
85 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::fabs); in TEST_F()
91 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::fabs); in TEST_F()
97 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::pow); in TEST_F()
103 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::pow); in TEST_F()
109 EXPECT_EQ(II->getIntrinsicID(), Intrinsic::fma); in TEST_F()
[all …]
DVPIntrinsicTest.cpp113 VPIntrinsic::GetMaskParamPos(F.getIntrinsicID()); in TEST_F()
121 VPIntrinsic::GetVectorLengthParamPos(F.getIntrinsicID()); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp149 switch (getIntrinsicID()) { in isUnaryOp()
160 switch (getIntrinsicID()) { in isTernaryOp()
171 switch (I->getIntrinsicID()) { in classof()
182 switch (getIntrinsicID()) { in getBinaryOp()
202 switch (getIntrinsicID()) { in isSigned()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp25 switch (II->getIntrinsicID()) { in readsThreadIndex()
35 return II->getIntrinsicID() == Intrinsic::nvvm_read_ptx_sreg_laneid; in readsLaneId()
40 switch (II->getIntrinsicID()) { in isNVVMAtomic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp25 switch (II->getIntrinsicID()) { in readsThreadIndex()
35 return II->getIntrinsicID() == Intrinsic::nvvm_read_ptx_sreg_laneid; in readsLaneId()
40 switch (II->getIntrinsicID()) { in isNVVMAtomic()
/external/llvm/lib/Analysis/
DTypeMetadataUtils.cpp66 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
75 if (F && F->getIntrinsicID() == Intrinsic::assume) in findDevirtualizableCallsForTypeTest()
91 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCLoopInstrFormPrep.cpp278 if (IMemI->getIntrinsicID() == Intrinsic::prefetch || in GetPointerOperand()
279 IMemI->getIntrinsicID() == Intrinsic::ppc_mma_lxvp) in GetPointerOperand()
281 if (IMemI->getIntrinsicID() == Intrinsic::ppc_mma_stxvp) in GetPointerOperand()
349 if (IMemI->getIntrinsicID() == Intrinsic::prefetch || in collectCandidates()
350 IMemI->getIntrinsicID() == Intrinsic::ppc_mma_lxvp) { in collectCandidates()
353 } else if (IMemI->getIntrinsicID() == Intrinsic::ppc_mma_stxvp) { in collectCandidates()
464 if (II->getIntrinsicID() == Intrinsic::prefetch) in prepareBaseForUpdateFormChain()
837 if (II && ((II->getIntrinsicID() == Intrinsic::ppc_mma_lxvp) || in runOnLoop()
838 II->getIntrinsicID() == Intrinsic::ppc_mma_stxvp)) in runOnLoop()
880 return II->getIntrinsicID() == Intrinsic::ppc_mma_lxvp || in runOnLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp62 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in handleSwitchExpect()
114 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in handleBranchExpect()
161 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) { in lowerExpectIntrinsic()
/external/llvm-project/llvm/lib/Analysis/
DAssumeBundleQueries.cpp48 assert(Assume.getIntrinsicID() == Intrinsic::assume && in hasAttributeInAssume()
77 assert(Assume.getIntrinsicID() == Intrinsic::assume && in fillMapFromAssume()
128 assert(Assume.getIntrinsicID() == Intrinsic::assume && in getKnowledgeFromOperandInAssume()
136 assert(Assume.getIntrinsicID() == Intrinsic::assume && in isAssumeWithEmptyBundle()
DTypeMetadataUtils.cpp78 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
86 if (F && F->getIntrinsicID() == Intrinsic::assume) in findDevirtualizableCallsForTypeTest()
103 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTypeMetadataUtils.cpp77 assert(CI->getCalledFunction()->getIntrinsicID() == Intrinsic::type_test); in findDevirtualizableCallsForTypeTest()
85 if (F && F->getIntrinsicID() == Intrinsic::assume) in findDevirtualizableCallsForTypeTest()
102 assert(CI->getCalledFunction()->getIntrinsicID() == in findDevirtualizableCallsForTypeCheckedLoad()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp25 switch (II->getIntrinsicID()) { in readsThreadIndex()
35 return II->getIntrinsicID() == Intrinsic::nvvm_read_ptx_sreg_laneid; in readsLaneId()
40 switch (II->getIntrinsicID()) { in isNVVMAtomic()
168 switch (II->getIntrinsicID()) { in simplifyNvvmIntrinsic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerIntrinsics.cpp64 Intrinsic::ID ID = F.getIntrinsicID(); in expandMemIntrinsicUses()
138 switch (F.getIntrinsicID()) { in runOnModule()

12345678910>>...20