Home
last modified time | relevance | path

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

1234

/external/llvm/include/llvm/IR/
DIntrinsicInst.h44 Intrinsic::ID getIntrinsicID() const { in getIntrinsicID() function
45 return 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.cpp185 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in getFirstNonPHIOrDbgOrLifetime()
186 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()
/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.cpp166 switch (II->getIntrinsicID()) { in hasMemoryWrite()
217 switch (II->getIntrinsicID()) { in getLocForWrite()
253 switch (II->getIntrinsicID()) { in isRemovable()
286 switch (II->getIntrinsicID()) { in isShortenable()
308 switch (II->getIntrinsicID()) { in getStoredPointerOperand()
DScalarReplAggregates.cpp584 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in CanConvertToScalar()
585 II->getIntrinsicID() == Intrinsic::lifetime_end) { in CanConvertToScalar()
746 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in ConvertUsesToScalar()
747 II->getIntrinsicID() == Intrinsic::lifetime_end) { in ConvertUsesToScalar()
1649 if (II->getIntrinsicID() != Intrinsic::lifetime_start && in isSafeForScalarRepl()
1650 II->getIntrinsicID() != Intrinsic::lifetime_end) in isSafeForScalarRepl()
1910 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in RewriteForScalarRepl()
1911 II->getIntrinsicID() == Intrinsic::lifetime_end) { in RewriteForScalarRepl()
2148 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in RewriteLifetimeIntrinsic()
2164 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in RewriteLifetimeIntrinsic()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp205 switch (II.getIntrinsicID()) { in SimplifyX86immshift()
462 if (II.getIntrinsicID() == Intrinsic::x86_sse4a_extrq) { in SimplifyX86extrq()
560 if (II.getIntrinsicID() == Intrinsic::x86_sse4a_insertq) { in SimplifyX86insertq()
764 switch (II->getIntrinsicID()) { in visitCallInst()
869 IntrinsicIDToOverflowCheckFlavor(II->getIntrinsicID()); in visitCallInst()
917 if (II->getIntrinsicID() == Intrinsic::minnum) { in visitCallInst()
940 assert(II->getIntrinsicID() == Intrinsic::maxnum); in visitCallInst()
1443 if (II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_pd || in visitCallInst()
1444 II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_pd_256) in visitCallInst()
1457 if (II->getIntrinsicID() == Intrinsic::x86_avx_vpermilvar_ps_256 || 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()
/external/llvm/lib/Target/
DTargetIntrinsicInfo.cpp25 unsigned TargetIntrinsicInfo::getIntrinsicID(Function *F) const { in getIntrinsicID() function in TargetIntrinsicInfo
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp99 switch (F.getIntrinsicID()) { in AddPrototypes()
348 switch (Callee->getIntrinsicID()) { in LowerIntrinsicCall()
419 << (Callee->getIntrinsicID() == Intrinsic::stacksave ? in LowerIntrinsicCall()
422 if (Callee->getIntrinsicID() == Intrinsic::stacksave) in LowerIntrinsicCall()
437 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ? in LowerIntrinsicCall()
DGCRootLowering.cpp145 if (Intrinsic::ID IID = F->getIntrinsicID()) in CouldBecomeSafePoint()
213 switch (F->getIntrinsicID()) { in PerformDefaultLowering()
DShadowStackGCLowering.cpp136 !CI->getCalledFunction()->getIntrinsicID()) in Next()
334 if (F->getIntrinsicID() == Intrinsic::gcroot) { in CollectRoots()
/external/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h51 virtual unsigned getIntrinsicID(Function *F) const;
/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp300 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in IsSafeStackAlloca()
301 II->getIntrinsicID() == Intrinsic::lifetime_end) in IsSafeStackAlloca()
412 if (II->getIntrinsicID() == Intrinsic::gcroot) in findInsts()
649 if (II->getIntrinsicID() == Intrinsic::stacksave) { in moveDynamicAllocasToUnsafeStack()
655 } else if (II->getIntrinsicID() == Intrinsic::stackrestore) { in moveDynamicAllocasToUnsafeStack()
DInstrumentation.cpp47 if (II->getIntrinsicID() == llvm::Intrinsic::localescape) in PrepareToSplitEntryBlock()
/external/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp139 if (IMemI->getIntrinsicID() == Intrinsic::prefetch) in GetPointerOperand()
195 if (IMemI->getIntrinsicID() == Intrinsic::prefetch) { in runOnLoop()
273 if (II->getIntrinsicID() == Intrinsic::prefetch) in runOnLoop()
/external/llvm/include/llvm/CodeGen/
DCommandFlags.h369 if (F->getIntrinsicID() == Intrinsic::debugtrap || in setFunctionAttributes()
370 F->getIntrinsicID() == Intrinsic::trap) in setFunctionAttributes()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp108 switch (I->getIntrinsicID()) { in isIntrinsicSourceOfDivergence()
/external/llvm/lib/Target/Hexagon/
DHexagonOptimizeSZextends.cpp130 if (!intrinsicAlreadySextended(I->getIntrinsicID())) in runOnFunction()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp497 switch (Inst->getIntrinsicID()) { in getOrCreateResultFromMemIntrinsic()
533 switch (Inst->getIntrinsicID()) { in getTgtMemIntrinsic()
556 switch (Inst->getIntrinsicID()) { in getTgtMemIntrinsic()
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h265 switch (II.getIntrinsicID()) { in visitIntrinsicInst()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp315 if (II->getIntrinsicID() == Intrinsic::stacksave) in isInstructionTriviallyDead()
319 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in isInstructionTriviallyDead()
320 II->getIntrinsicID() == Intrinsic::lifetime_end) in isInstructionTriviallyDead()
324 if (II->getIntrinsicID() == Intrinsic::assume) { in isInstructionTriviallyDead()
1258 if (II->getIntrinsicID() == Intrinsic::assume) { in markAliveBlocks()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp121 switch (II->getIntrinsicID()) { in getForArgument()

1234