Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/IR/
DIntrinsicInst.h43 Intrinsic::ID getIntrinsicID() const { in getIntrinsicID() function
44 return (Intrinsic::ID)getCalledFunction()->getIntrinsicID(); in getIntrinsicID()
65 switch (I->getIntrinsicID()) { in classof()
88 return I->getIntrinsicID() == Intrinsic::dbg_declare; in classof()
109 return I->getIntrinsicID() == Intrinsic::dbg_value; in classof()
175 switch (I->getIntrinsicID()) { in classof()
204 return I->getIntrinsicID() == Intrinsic::memset; in classof()
236 return I->getIntrinsicID() == Intrinsic::memcpy || in classof()
237 I->getIntrinsicID() == Intrinsic::memmove; in classof()
251 return I->getIntrinsicID() == Intrinsic::memcpy; in classof()
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp66 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in HandleSwitchExpect()
110 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect) in HandleIfExpect()
156 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) { in runOnFunction()
DLocal.cpp296 if (II->getIntrinsicID() == Intrinsic::stacksave) in isInstructionTriviallyDead()
300 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in isInstructionTriviallyDead()
301 II->getIntrinsicID() == Intrinsic::lifetime_end) in isInstructionTriviallyDead()
/external/llvm/lib/Target/
DTargetIntrinsicInfo.cpp25 unsigned TargetIntrinsicInfo::getIntrinsicID(Function *F) const { in getIntrinsicID() function in TargetIntrinsicInfo
/external/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h51 virtual unsigned getIntrinsicID(Function *F) const;
/external/llvm/lib/Analysis/
DConstantFolding.cpp1133 switch (F->getIntrinsicID()) { in canConstantFoldCallTo()
1280 if (F->getIntrinsicID() == Intrinsic::convert_to_fp16) { in ConstantFoldCall()
1316 switch (F->getIntrinsicID()) { in ConstantFoldCall()
1384 else if (F->getIntrinsicID() == Intrinsic::sqrt && in ConstantFoldCall()
1417 switch (F->getIntrinsicID()) { in ConstantFoldCall()
1445 switch (F->getIntrinsicID()) { in ConstantFoldCall()
1467 if (F->getIntrinsicID() == Intrinsic::bswap) in ConstantFoldCall()
1507 if (F->getIntrinsicID() == Intrinsic::pow) { in ConstantFoldCall()
1519 if (F->getIntrinsicID() == Intrinsic::powi && Ty->isHalfTy()) in ConstantFoldCall()
1523 if (F->getIntrinsicID() == Intrinsic::powi && Ty->isFloatTy()) in ConstantFoldCall()
[all …]
DValueTracking.cpp736 switch (II->getIntrinsicID()) { in ComputeMaskedBits()
764 switch (II->getIntrinsicID()) { in ComputeMaskedBits()
1443 if (II->getIntrinsicID() == Intrinsic::sqrt) in CannotBeNegativeZero()
1953 if (II->getIntrinsicID() != Intrinsic::lifetime_start && in onlyUsedByLifetimeMarkers()
1954 II->getIntrinsicID() != Intrinsic::lifetime_end) in onlyUsedByLifetimeMarkers()
2001 switch (II->getIntrinsicID()) { in isSafeToSpeculativelyExecute()
DCostModel.cpp221 return TTI->getIntrinsicInstrCost(II->getIntrinsicID(), II->getType(), in getInstructionCost()
/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()
DGCStrategy.cpp246 if (unsigned IID = F->getIntrinsicID()) in CouldBecomeSafePoint()
293 switch (F->getIntrinsicID()) { in PerformDefaultLowering()
DShadowStackGC.cpp136 !CI->getCalledFunction()->getIntrinsicID()) in Next()
334 if (F->getIntrinsicID() == Intrinsic::gcroot) { in CollectRoots()
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp154 switch (II->getIntrinsicID()) { in hasMemoryWrite()
210 switch (II->getIntrinsicID()) { in getLocForWrite()
251 switch (II->getIntrinsicID()) { in isRemovable()
284 switch (II->getIntrinsicID()) { in isShortenable()
306 switch (II->getIntrinsicID()) { in getStoredPointerOperand()
DScalarReplAggregates.cpp576 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in CanConvertToScalar()
577 II->getIntrinsicID() == Intrinsic::lifetime_end) { in CanConvertToScalar()
738 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in ConvertUsesToScalar()
739 II->getIntrinsicID() == Intrinsic::lifetime_end) { in ConvertUsesToScalar()
1639 if (II->getIntrinsicID() != Intrinsic::lifetime_start && in isSafeForScalarRepl()
1640 II->getIntrinsicID() != Intrinsic::lifetime_end) in isSafeForScalarRepl()
1895 if (II->getIntrinsicID() == Intrinsic::lifetime_start || in RewriteForScalarRepl()
1896 II->getIntrinsicID() == Intrinsic::lifetime_end) { in RewriteForScalarRepl()
2128 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in RewriteLifetimeIntrinsic()
2144 if (II->getIntrinsicID() == Intrinsic::lifetime_start) in RewriteLifetimeIntrinsic()
/external/llvm/lib/Target/NVPTX/
DNVPTXSplitBBatBar.cpp43 Intrinsic::ID id = inst->getIntrinsicID(); in runOnFunction()
DNVPTXUtilities.cpp336 if (isMemorySpaceTransferIntrinsic(IS->getIntrinsicID())) { in skipPointerTransfer()
369 if (isMemorySpaceTransferIntrinsic(IS->getIntrinsicID())) { in skipPointerTransfer()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp74 EXPECT_EQ(II_Start1->getIntrinsicID(), Intrinsic::lifetime_start); in TEST_F()
76 EXPECT_EQ(II_End1->getIntrinsicID(), Intrinsic::lifetime_end); in TEST_F()
/external/llvm/lib/IR/
DBasicBlock.cpp163 if (II->getIntrinsicID() != Intrinsic::lifetime_start && in getFirstNonPHIOrDbgOrLifetime()
164 II->getIntrinsicID() != Intrinsic::lifetime_end) in getFirstNonPHIOrDbgOrLifetime()
DAutoUpgrade.cpp150 if (unsigned id = F->getIntrinsicID()) in UpgradeIntrinsicFunction()
307 switch (NewFn->getIntrinsicID()) { in UpgradeIntrinsicCall()
DFunction.cpp214 if (unsigned IID = getIntrinsicID()) in Function()
364 unsigned Function::getIntrinsicID() const { in getIntrinsicID() function in Function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp273 switch (II->getIntrinsicID()) { in visitCallInst()
667 bool Zext = (II->getIntrinsicID() == Intrinsic::arm_neon_vmullu); in visitCallInst()
711 if (SS->getIntrinsicID() == Intrinsic::stacksave) { in visitCallInst()
731 if (II->getIntrinsicID() == Intrinsic::stackrestore) in visitCallInst()
817 if (II->getIntrinsicID() == Intrinsic::init_trampoline) { in FindInitTrampolineFromAlloca()
824 if (II->getIntrinsicID() == Intrinsic::adjust_trampoline) in FindInitTrampolineFromAlloca()
849 if (II->getIntrinsicID() == Intrinsic::init_trampoline && in FindInitTrampolineFromBB()
866 AdjustTramp->getIntrinsicID() != Intrinsic::adjust_trampoline) in FindInitTrampoline()
DInstCombineShifts.cpp733 if ((II->getIntrinsicID() == Intrinsic::ctlz || in visitLShr()
734 II->getIntrinsicID() == Intrinsic::cttz || in visitLShr()
735 II->getIntrinsicID() == Intrinsic::ctpop) && in visitLShr()
737 bool isCtPop = II->getIntrinsicID() == Intrinsic::ctpop; in visitLShr()
DInstCombineSimplifyDemanded.cpp777 switch (II->getIntrinsicID()) { in SimplifyDemandedUseBits()
1210 switch (II->getIntrinsicID()) { in SimplifyDemandedVectorElts()
1233 switch (II->getIntrinsicID()) { in SimplifyDemandedVectorElts()
1248 switch (II->getIntrinsicID()) { in SimplifyDemandedVectorElts()
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h265 switch (II.getIntrinsicID()) { in visitIntrinsicInst()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp215 if (F->getIntrinsicID() != Intrinsic::not_intrinsic) { in mightUseCTR()
216 switch (F->getIntrinsicID()) { in mightUseCTR()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCUtil.cpp186 switch (F->getIntrinsicID()) { in GetInstructionClass()

123