| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 213 const Constant *stripPointerCasts() const { in stripPointerCasts() function 214 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts() 217 Constant *stripPointerCasts() { in stripPointerCasts() function 219 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
|
| H A D | AbstractCallSite.h | 220 return V ? dyn_cast<Function>(V->stripPointerCasts()) : nullptr; in getCalledFunction()
|
| H A D | Value.h | 643 const Value *stripPointerCasts() const; 644 Value *stripPointerCasts() { in stripPointerCasts() function 646 static_cast<const Value *>(this)->stripPointerCasts()); in stripPointerCasts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroInstr.h | 121 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise() 177 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts()); in getRawInfo() 229 return cast<Function>(getArgOperand(AllocArg)->stripPointerCasts()); in getAllocFunction() 234 return cast<Function>(getArgOperand(DeallocArg)->stripPointerCasts()); in getDeallocFunction() 311 getArgOperand(AsyncFuncPtrArg)->stripPointerCasts()); in getAsyncFunctionPointer() 332 getArgOperand(AsyncFuncPtrArg)->stripPointerCasts()); in getAsyncFunctionPointer() 351 return getArgOperand(AsyncContextArg)->stripPointerCasts(); in getAsyncContext() 541 getArgOperand(AsyncContextProjectionArg)->stripPointerCasts()); in getAsyncContextProjectionFunction() 546 getArgOperand(ResumeFunctionArg)->stripPointerCasts()); in getResumeFunction() 551 getArgOperand(MustTailCallFuncArg)->stripPointerCasts()); in getMustTailCallFunction() [all …]
|
| H A D | CoroCleanup.cpp | 85 cast<GlobalVariable>(II->getArgOperand(0)->stripPointerCasts()) in lower() 88 cast<GlobalVariable>(II->getArgOperand(1)->stripPointerCasts()) in lower()
|
| H A D | Coroutines.cpp | 510 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFRetconPrototype() 546 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFAlloc() 561 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFDealloc() 592 auto *AsyncFuncPtrAddr = dyn_cast<GlobalVariable>(V->stripPointerCasts()); in checkAsyncFuncPointer()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 48 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction() 66 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand() 82 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs() 83 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts(); in getEquivalentPHIs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Annotation2Metadata.cpp | 48 auto *StrC = dyn_cast<GlobalValue>(OpC->getOperand(1)->stripPointerCasts()); in convertAnnotation2Metadata() 54 auto *Fn = dyn_cast<Function>(OpC->getOperand(0)->stripPointerCasts()); in convertAnnotation2Metadata()
|
| H A D | GlobalOpt.cpp | 681 ->stripPointerCasts()) && in AllUsesOfValueWillTrapIfNull() 711 if (CE->stripPointerCasts() != GV) in allUsesOfLoadedValueWillTrapIfNull() 1037 SI->getPointerOperand()->stripPointerCasts() != GV) in valueIsOnlyUsedLocallyOrStoredToOneGlobal() 1114 StoredOnceVal = StoredOnceVal->stripPointerCasts(); in optimizeOnceStoredGlobal() 2089 Value *AStripped = (*A)->stripPointerCasts(); in compareNames() 2090 Value *BStripped = (*B)->stripPointerCasts(); in compareNames() 2235 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in hasUsesToReplace() 2274 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases() 2394 dyn_cast<Function>(CI->getArgOperand(0)->stripPointerCasts()); in OptimizeEmptyGlobalCXXDtors()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 379 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally() 420 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally() 504 Value *LoadPtr = LI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 524 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 590 const Value *StrippedPtr = Loc.Ptr->stripPointerCasts(); in findAvailablePtrLoadStore() 617 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() 670 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCFIException.cpp | 72 Per = dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction() 123 auto *P = dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in beginBasicBlockSection()
|
| H A D | AIXException.cpp | 87 cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
|
| H A D | WinCFGuard.cpp | 67 if (C->stripPointerCasts() == F) in isPossibleIndirectCallTarget()
|
| H A D | ARMException.cpp | 63 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
|
| H A D | WinException.cpp | 80 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction() 131 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFunction() 227 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunclet() 260 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFuncletImpl() 1012 const auto *Per = cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in emitExceptHandlerTable()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 1452 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitLibCall() 1536 dyn_cast<Function>(MemCpy.getCallee()->stripPointerCasts())) in emitMemCpyChk() 1712 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitUnaryFloatFnCallHelper() 1831 dyn_cast<Function>(PutS.getCallee()->stripPointerCasts())) in emitPutS() 1851 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutC() 1871 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutS() 1895 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFWrite() 1954 dyn_cast<Function>(Func.getCallee()->stripPointerCasts())) in emitHotColdNew() 1975 dyn_cast<Function>(Func.getCallee()->stripPointerCasts())) in emitHotColdNewNoThrow() 1995 dyn_cast<Function>(Func.getCallee()->stripPointerCasts())) in emitHotColdNewAligned() [all …]
|
| H A D | Evaluator.cpp | 249 auto *V = CB.getCalledOperand()->stripPointerCasts(); in getCalleeWithFormalArgs() 461 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock() 580 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 588 dyn_cast<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts())) in collectUsedGlobalVariables() 605 dyn_cast<GlobalVariable>(U->stripPointerCasts())) in setMustKeepGlobalVariables() 607 else if (const ConstantArray *CA = dyn_cast<ConstantArray>(U->stripPointerCasts())) { in setMustKeepGlobalVariables() 610 dyn_cast<GlobalVariable>(Elt->stripPointerCasts())) in setMustKeepGlobalVariables()
|
| H A D | GCRootLowering.cpp | 171 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) in InsertRootInitializers() 236 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); in DoLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 156 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction() 300 cast<Function>(CxxLongjmpUnwind.getCallee()->stripPointerCasts()) in emitExceptionRegistrationRecord() 355 cast<Function>(SehLongjmpUnwind.getCallee()->stripPointerCasts()) in emitExceptionRegistrationRecord() 754 if (Call->getCalledOperand()->stripPointerCasts() != in addStateStores() 755 SetJmp3.getCallee()->stripPointerCasts()) in addStateStores()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 1399 DFSanUnionLoadFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1403 DFSanUnimplementedFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1407 DFSanSetLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1409 DFSanNonzeroLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1411 DFSanVarargWrapperFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1413 DFSanLoadCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1415 DFSanStoreCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1427 DFSanCmpCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1429 DFSanChainOriginFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1438 ->stripPointerCasts()); in initializeRuntimeFunctions() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAnnotateKernelFeatures.cpp | 77 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in addFeatureAttributes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 726 LI, SI, SI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad() 727 LI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad() 1001 return U->stripPointerCasts() == cpySrc && in performCallSlotOptzn() 1027 II->getArgOperand(1)->stripPointerCasts() == srcAlloca && in performCallSlotOptzn() 1079 if (C->getArgOperand(ArgI)->stripPointerCasts() == cpySrc && in performCallSlotOptzn() 1086 if (C->getArgOperand(ArgI)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn() 1834 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument() 1906 auto *AI = dyn_cast<AllocaInst>(ImmutArg->stripPointerCasts()); in processImmutArgument()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVVMReflect.cpp | 140 Str = Str->stripPointerCasts(); in runNVVMReflect()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | EHPersonalities.cpp | 25 Pers ? dyn_cast<GlobalValue>(Pers->stripPointerCasts()) : nullptr; in classifyEHPersonality()
|