Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/IR/
DIntrinsicInst.h44 Intrinsic::ID getIntrinsicID() const { in getIntrinsicID() function
45 return (Intrinsic::ID)getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
66 switch (I->getIntrinsicID()) { in classof()
101 return I->getIntrinsicID() == Intrinsic::dbg_declare; in classof()
134 return I->getIntrinsicID() == Intrinsic::dbg_value; in classof()
205 switch (I->getIntrinsicID()) { in classof()
236 return I->getIntrinsicID() == Intrinsic::memset; in classof()
270 return I->getIntrinsicID() == Intrinsic::memcpy || in classof()
271 I->getIntrinsicID() == Intrinsic::memmove; in classof()
285 return I->getIntrinsicID() == Intrinsic::memcpy; in classof()
[all …]
/external/llvm/lib/IR/
DStatepoint.cpp29 return (F && F->getIntrinsicID() == Intrinsic::experimental_gc_statepoint); in isStatepoint()
53 return F->getIntrinsicID() == Intrinsic::experimental_gc_relocate; in isGCRelocate()
70 return (F->getIntrinsicID() == Intrinsic::experimental_gc_result_int || in isGCResult()
71 F->getIntrinsicID() == Intrinsic::experimental_gc_result_float || in isGCResult()
72 F->getIntrinsicID() == Intrinsic::experimental_gc_result_ptr || in isGCResult()
73 F->getIntrinsicID() == Intrinsic::experimental_gc_result); in isGCResult()
DBasicBlock.cpp194 if (II->getIntrinsicID() != Intrinsic::lifetime_start && in getFirstNonPHIOrDbgOrLifetime()
195 II->getIntrinsicID() != Intrinsic::lifetime_end) in getFirstNonPHIOrDbgOrLifetime()
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp25 switch (II->getIntrinsicID()) { in readsThreadIndex()
35 return II->getIntrinsicID() == Intrinsic::ptx_read_laneid; in readsLaneId()
40 switch (II->getIntrinsicID()) { in isNVVMAtomic()
DNVPTXImageOptimizer.cpp66 switch (CalledF->getIntrinsicID()) { in runOnFunction()
DNVPTXUtilities.cpp373 if (isMemorySpaceTransferIntrinsic(IS->getIntrinsicID())) { in skipPointerTransfer()
406 if (isMemorySpaceTransferIntrinsic(IS->getIntrinsicID())) { in skipPointerTransfer()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp50 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in handleSwitchExpect()
102 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in handleBranchExpect()
149 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) { in lowerExpectIntrinsic()
DDeadStoreElimination.cpp160 switch (II->getIntrinsicID()) { in hasMemoryWrite()
211 switch (II->getIntrinsicID()) { in getLocForWrite()
247 switch (II->getIntrinsicID()) { in isRemovable()
280 switch (II->getIntrinsicID()) { in isShortenable()
302 switch (II->getIntrinsicID()) { in getStoredPointerOperand()
DScalarReplAggregates.cpp583 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in CanConvertToScalar()
584 II->getIntrinsicID() == Intrinsic::lifetime_end) { in CanConvertToScalar()
745 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in ConvertUsesToScalar()
746 II->getIntrinsicID() == Intrinsic::lifetime_end) { in ConvertUsesToScalar()
1648 if (II->getIntrinsicID() != Intrinsic::lifetime_start && in isSafeForScalarRepl()
1649 II->getIntrinsicID() != Intrinsic::lifetime_end) in isSafeForScalarRepl()
1909 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in RewriteForScalarRepl()
1910 II->getIntrinsicID() == Intrinsic::lifetime_end) { in RewriteForScalarRepl()
2147 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in RewriteLifetimeIntrinsic()
2163 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in RewriteLifetimeIntrinsic()
DMemCpyOptimizer.cpp687 if (IT->getIntrinsicID() == Intrinsic::lifetime_start || in performCallSlotOptzn()
688 IT->getIntrinsicID() == Intrinsic::lifetime_end) in performCallSlotOptzn()
908 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in processMemCpy()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp380 switch (II->getIntrinsicID()) { in visitCallInst()
475 IntrinsicIDToOverflowCheckFlavor(II->getIntrinsicID()); in visitCallInst()
523 if (II->getIntrinsicID() == Intrinsic::minnum) { in visitCallInst()
546 assert(II->getIntrinsicID() == Intrinsic::maxnum); in visitCallInst()
726 switch (II->getIntrinsicID()) { in visitCallInst()
912 if (II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_pd || in visitCallInst()
913 II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_pd_256) in visitCallInst()
926 if (II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_ps_256 || in visitCallInst()
927 II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_pd_256) { in visitCallInst()
1045 bool Zext = (II->getIntrinsicID() == Intrinsic::arm_neon_vmullu || in visitCallInst()
[all …]
DInstCombineShifts.cpp758 if ((II->getIntrinsicID() == Intrinsic::ctlz || in visitLShr()
759 II->getIntrinsicID() == Intrinsic::cttz || in visitLShr()
760 II->getIntrinsicID() == Intrinsic::ctpop) && in visitLShr()
762 bool isCtPop = II->getIntrinsicID() == Intrinsic::ctpop; in visitLShr()
DInstCombineSimplifyDemanded.cpp821 switch (II->getIntrinsicID()) { in SimplifyDemandedUseBits()
1258 switch (II->getIntrinsicID()) { in SimplifyDemandedVectorElts()
1281 switch (II->getIntrinsicID()) { in SimplifyDemandedVectorElts()
1296 switch (II->getIntrinsicID()) { in SimplifyDemandedVectorElts()
/external/llvm/lib/Target/
DTargetIntrinsicInfo.cpp25 unsigned TargetIntrinsicInfo::getIntrinsicID(Function *F) const { in getIntrinsicID() function in TargetIntrinsicInfo
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp99 switch (I->getIntrinsicID()) { in AddPrototypes()
348 switch (Callee->getIntrinsicID()) { in LowerIntrinsicCall()
419 << (Callee->getIntrinsicID() == Intrinsic::stacksave ? in LowerIntrinsicCall()
422 if (Callee->getIntrinsicID() == Intrinsic::stacksave) in LowerIntrinsicCall()
430 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ? in LowerIntrinsicCall()
DGCRootLowering.cpp145 if (unsigned IID = F->getIntrinsicID()) in CouldBecomeSafePoint()
213 switch (F->getIntrinsicID()) { in PerformDefaultLowering()
DShadowStackGCLowering.cpp136 !CI->getCalledFunction()->getIntrinsicID()) in Next()
330 if (F->getIntrinsicID() == Intrinsic::gcroot) { in CollectRoots()
/external/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h51 virtual unsigned getIntrinsicID(Function *F) const;
/external/llvm/lib/Analysis/
DLint.cpp277 switch (II->getIntrinsicID()) { in visitCallSite()
547 if (IC && IC->getIntrinsicID() == Intrinsic::eh_endcatch) in allSuccessorsReachEndCatch()
551 if (IC && IC->getIntrinsicID() == Intrinsic::eh_begincatch) { in allSuccessorsReachEndCatch()
632 if (IC && IC->getIntrinsicID() == Intrinsic::eh_begincatch) in allPredCameFromBeginCatch()
636 if (IC && IC->getIntrinsicID() == Intrinsic::eh_endcatch) { in allPredCameFromBeginCatch()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp445 switch (Inst->getIntrinsicID()) { in getOrCreateResultFromMemIntrinsic()
481 switch (Inst->getIntrinsicID()) { in getTgtMemIntrinsic()
504 switch (Inst->getIntrinsicID()) { in getTgtMemIntrinsic()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp307 if (II->getIntrinsicID() == Intrinsic::stacksave) in isInstructionTriviallyDead()
311 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in isInstructionTriviallyDead()
312 II->getIntrinsicID() == Intrinsic::lifetime_end) in isInstructionTriviallyDead()
316 if (II->getIntrinsicID() == Intrinsic::assume) { in isInstructionTriviallyDead()
1197 if (II->getIntrinsicID() == Intrinsic::assume) { in markAliveBlocks()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp134 if (IMemI->getIntrinsicID() == Intrinsic::prefetch) in GetPointerOperand()
188 if (IMemI->getIntrinsicID() == Intrinsic::prefetch) { in runOnLoop()
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h265 switch (II.getIntrinsicID()) { in visitIntrinsicInst()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp77 EXPECT_EQ(II_Start1->getIntrinsicID(), Intrinsic::lifetime_start); in TEST_F()
79 EXPECT_EQ(II_End1->getIntrinsicID(), Intrinsic::lifetime_end); in TEST_F()
/external/llvm/include/llvm/Transforms/Utils/
DVectorUtils.h102 Intrinsic::ID ID = II->getIntrinsicID(); in getIntrinsicIDForCall()

1234