Home
last modified time | relevance | path

Searched refs:stripPointerCasts (Results 1 – 25 of 116) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstant.h201 const Constant *stripPointerCasts() const { in stripPointerCasts() function
202 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
205 Constant *stripPointerCasts() { in stripPointerCasts() function
207 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
H A DValue.h631 const Value *stripPointerCasts() const;
632 Value *stripPointerCasts() { in stripPointerCasts() function
634 static_cast<const Value *>(this)->stripPointerCasts()); in stripPointerCasts()
H A DAbstractCallSite.h220 return V ? dyn_cast<Function>(V->stripPointerCasts()) : nullptr; in getCalledFunction()
H A DIntrinsicInst.h630 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
695 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource()
1117 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
1157 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInstr.h121 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise()
177 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts()); in getRawInfo()
231 return cast<Function>(getArgOperand(AllocArg)->stripPointerCasts()); in getAllocFunction()
236 return cast<Function>(getArgOperand(DeallocArg)->stripPointerCasts()); in getDeallocFunction()
313 getArgOperand(AsyncFuncPtrArg)->stripPointerCasts()); in getAsyncFunctionPointer()
334 getArgOperand(AsyncFuncPtrArg)->stripPointerCasts()); in getAsyncFunctionPointer()
353 return getArgOperand(AsyncContextArg)->stripPointerCasts(); in getAsyncContext()
543 getArgOperand(AsyncContextProjectionArg)->stripPointerCasts()); in getAsyncContextProjectionFunction()
548 getArgOperand(ResumeFunctionArg)->stripPointerCasts()); in getResumeFunction()
553 getArgOperand(MustTailCallFuncArg)->stripPointerCasts()); in getMustTailCallFunction()
[all …]
H A DCoroCleanup.cpp85 cast<GlobalVariable>(II->getArgOperand(0)->stripPointerCasts()) in lowerRemainingCoroIntrinsics()
88 cast<GlobalVariable>(II->getArgOperand(1)->stripPointerCasts()) in lowerRemainingCoroIntrinsics()
H A DCoroutines.cpp590 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFRetconPrototype()
626 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFAlloc()
641 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFDealloc()
672 auto *AsyncFuncPtrAddr = dyn_cast<GlobalVariable>(V->stripPointerCasts()); in checkAsyncFuncPointer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h49 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()
67 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand()
83 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs()
84 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts(); in getEquivalentPHIs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp362 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally()
403 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally()
483 Value *LoadPtr = LI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore()
503 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore()
529 const Value *StrippedPtr = Loc.Ptr->stripPointerCasts(); in findAvailablePtrLoadStore()
556 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore()
609 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
H A DEHPersonalities.cpp23 Pers ? dyn_cast<GlobalValue>(Pers->stripPointerCasts()) : nullptr; in classifyEHPersonality()
H A DMemoryBuiltins.cpp125 V = V->stripPointerCasts(); in getCalledFunction()
235 dyn_cast<CallBase>(LookThroughBitCast ? V->stripPointerCasts() : V); in hasNoAliasAttr()
615 V = V->stripPointerCasts(); in compute()
909 V = V->stripPointerCasts(); in compute_()
H A DTypeMetadataUtils.cpp92 M, DevirtCalls, CI->getArgOperand(0)->stripPointerCasts(), 0, CI, DT); in findDevirtualizableCallsForTypeTest()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCFIException.cpp103 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction()
157 auto *P = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFragment()
H A DAIXException.cpp76 dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
H A DWinCFGuard.cpp70 if (C->stripPointerCasts() == F) in isPossibleIndirectCallTarget()
H A DARMException.cpp65 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
H A DWinException.cpp85 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction()
136 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
240 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunclet()
273 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFuncletImpl()
1006 const auto *Per = cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in emitExceptHandlerTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUFixFunctionBitcasts.cpp39 dyn_cast<Function>(CB.getCalledOperand()->stripPointerCasts()); in visitCallBase()
H A DAMDGPULowerModuleLDSPass.cpp78 if (!ToRemove.contains(C->stripPointerCasts())) { in removeFromUsedList()
108 if (Constant *C = dyn_cast<Constant>(LocalVars[I]->stripPointerCasts())) { in removeFromUsedLists()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp156 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction()
300 cast<Function>(CxxLongjmpUnwind.getCallee()->stripPointerCasts()) in emitExceptionRegistrationRecord()
356 cast<Function>(SehLongjmpUnwind.getCallee()->stripPointerCasts()) in emitExceptionRegistrationRecord()
758 if (Call->getCalledOperand()->stripPointerCasts() != in addStateStores()
759 SetJmp3.getCallee()->stripPointerCasts()) in addStateStores()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DGCRootLowering.cpp154 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) in InsertRootInitializers()
226 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); in DoLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1234 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitLibCall()
1316 dyn_cast<Function>(MemCpy.getCallee()->stripPointerCasts())) in emitMemCpyChk()
1460 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitUnaryFloatFnCallHelper()
1505 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitBinaryFloatFnCallHelper()
1552 dyn_cast<Function>(PutChar.getCallee()->stripPointerCasts())) in emitPutChar()
1569 dyn_cast<Function>(PutS.getCallee()->stripPointerCasts())) in emitPutS()
1590 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutC()
1609 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutS()
1633 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFWrite()
1652 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts())) in emitMalloc()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1303 DFSanUnionLoadFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1307 DFSanUnimplementedFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1309 DFSanSetLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1311 DFSanNonzeroLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1313 DFSanVarargWrapperFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1315 DFSanLoadCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1317 DFSanStoreCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1321 DFSanCmpCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1323 DFSanChainOriginFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1327 DFSanMemOriginTransferFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp349 Value *LP = IIL->getArgOperand(1)->stripPointerCasts(); in isMaskedStoreOverwrite()
350 Value *EP = IIE->getArgOperand(1)->stripPointerCasts(); in isMaskedStoreOverwrite()
738 const Value *Ptr = Loc.Ptr->stripPointerCasts(); in removePartiallyOverlappedStores()
998 const Value *P1 = Earlier.Ptr->stripPointerCasts(); in isOverwrite()
999 const Value *P2 = Later.Ptr->stripPointerCasts(); in isOverwrite()
1307 Ptr = Ptr->stripPointerCasts(); in isGuaranteedLoopInvariant()
1320 Ptr = Ptr->stripPointerCasts(); in isGuaranteedLoopInvariant()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DObjCARCAnalysisUtils.h109 V = V->stripPointerCasts(); in GetRCIdentityRoot()

12345