| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constant.h | 219 const Constant *stripPointerCasts() const { in stripPointerCasts() function 220 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts() 223 Constant *stripPointerCasts() { in stripPointerCasts() function 225 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
|
| H A D | Value.h | 656 LLVM_ABI const Value *stripPointerCasts() const; 657 Value *stripPointerCasts() { in stripPointerCasts() function 659 static_cast<const Value *>(this)->stripPointerCasts()); in stripPointerCasts()
|
| H A D | AbstractCallSite.h | 222 return V ? dyn_cast<Function>(V->stripPointerCasts()) : nullptr; in getCalledFunction()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Coroutines/ |
| H A D | CoroInstr.h | 156 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise() 212 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts()); in getRawInfo() 218 return cast<Function>(getArgOperand(CoroutineArg)->stripPointerCasts()); in getCoroutine() 257 return cast<Function>(getArgOperand(PrototypeArg)->stripPointerCasts()); in getPrototype() 262 return cast<Function>(getArgOperand(AllocArg)->stripPointerCasts()); in getAllocFunction() 267 return cast<Function>(getArgOperand(DeallocArg)->stripPointerCasts()); in getDeallocFunction() 342 getArgOperand(AsyncFuncPtrArg)->stripPointerCasts()); in getAsyncFunctionPointer() 363 getArgOperand(AsyncFuncPtrArg)->stripPointerCasts()); in getAsyncFunctionPointer() 381 return getArgOperand(AsyncContextArg)->stripPointerCasts(); in getAsyncContext() 581 getArgOperand(AsyncContextProjectionArg)->stripPointerCasts()); in getAsyncContextProjectionFunction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 49 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/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Annotation2Metadata.cpp | 47 auto *StrC = dyn_cast<GlobalValue>(OpC->getOperand(1)->stripPointerCasts()); in convertAnnotation2Metadata() 53 auto *Fn = dyn_cast<Function>(OpC->getOperand(0)->stripPointerCasts()); in convertAnnotation2Metadata()
|
| H A D | GlobalOpt.cpp | 698 ->stripPointerCasts()) && in AllUsesOfValueWillTrapIfNull() 732 if (CE->stripPointerCasts() != GV) in allUsesOfLoadedValueWillTrapIfNull() 1065 SI->getPointerOperand()->stripPointerCasts() != GV) in valueIsOnlyUsedLocallyOrStoredToOneGlobal() 1137 StoredOnceVal = StoredOnceVal->stripPointerCasts(); in optimizeOnceStoredGlobal() 2103 Value *AStripped = (*A)->stripPointerCasts(); in compareNames() 2104 Value *BStripped = (*B)->stripPointerCasts(); in compareNames() 2249 GlobalValue *Target = cast<GlobalValue>(Aliasee->stripPointerCasts()); in hasUsesToReplace() 2288 GlobalValue *Target = dyn_cast<GlobalValue>(Aliasee->stripPointerCasts()); in OptimizeGlobalAliases() 2410 dyn_cast<Function>(CI->getArgOperand(0)->stripPointerCasts()); in OptimizeEmptyGlobalAtExitDtors()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCFIException.cpp | 74 Per = dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction() 125 auto *P = dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in beginBasicBlockSection()
|
| H A D | AIXException.cpp | 88 cast<GlobalValue>(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() 226 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunclet() 259 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFuncletImpl() 1014 const auto *Per = cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in emitExceptHandlerTable()
|
| H A D | ARMException.cpp | 63 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 463 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally() 504 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally() 588 Value *LoadPtr = LI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 608 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in getAvailableLoadStore() 674 const Value *StrippedPtr = Loc.Ptr->stripPointerCasts(); in findAvailablePtrLoadStore() 701 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in findAvailablePtrLoadStore() 754 Value *StrippedPtr = Load->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
|
| H A D | TypeMetadataUtils.cpp | 106 M, DevirtCalls, CI->getArgOperand(0)->stripPointerCasts(), 0, CI, DT); in findDevirtualizableCallsForTypeTest() 230 auto C = Ptr->stripPointerCasts(); in getFunctionAtVTableOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroCleanup.cpp | 87 cast<GlobalVariable>(II->getArgOperand(0)->stripPointerCasts()) in lower() 90 cast<GlobalVariable>(II->getArgOperand(1)->stripPointerCasts()) in lower()
|
| H A D | Coroutines.cpp | 566 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFRetconPrototype() 602 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFAlloc() 617 auto F = dyn_cast<Function>(V->stripPointerCasts()); in checkWFDealloc() 648 auto *AsyncFuncPtrAddr = dyn_cast<GlobalVariable>(V->stripPointerCasts()); in checkAsyncFuncPointer()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 1400 DFSanUnionLoadFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1402 DFSanLoadLabelAndOriginFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1404 DFSanUnimplementedFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1406 DFSanWrapperExternWeakNullFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1408 DFSanSetLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1410 DFSanNonzeroLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1412 DFSanVarargWrapperFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1414 DFSanLoadCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1416 DFSanStoreCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() 1418 DFSanMemTransferCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 1612 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitLibCall() 1705 dyn_cast<Function>(MemCpy.getCallee()->stripPointerCasts())) in emitMemCpyChk() 1881 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitUnaryFloatFnCallHelper() 1931 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitBinaryFloatFnCallHelper() 1982 dyn_cast<Function>(PutChar.getCallee()->stripPointerCasts())) in emitPutChar() 2000 dyn_cast<Function>(PutS.getCallee()->stripPointerCasts())) in emitPutS() 2020 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutC() 2040 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutS() 2064 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFWrite() 2083 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts())) in emitMalloc() [all …]
|
| H A D | Evaluator.cpp | 250 auto *V = CB.getCalledOperand()->stripPointerCasts(); in getCalleeWithFormalArgs() 432 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock() 546 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | GlobalMerge.cpp | 627 dyn_cast<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts())) in collectUsedGlobalVariables() 647 dyn_cast<GlobalVariable>(U->stripPointerCasts())) in setMustKeepGlobalVariables() 649 else if (const ConstantArray *CA = dyn_cast<ConstantArray>(U->stripPointerCasts())) { in setMustKeepGlobalVariables() 652 dyn_cast<GlobalVariable>(Elt->stripPointerCasts())) in setMustKeepGlobalVariables()
|
| H A D | GCRootLowering.cpp | 174 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) in InsertRootInitializers() 240 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); in DoLowering()
|
| H A D | WinEHPrepare.cpp | 169 HT.TypeDescriptor = cast<GlobalVariable>(TypeInfo->stripPointerCasts()); in addTryBlockMapEntry() 173 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts())) in addTryBlockMapEntry() 328 cast<CatchPadInst>(It)->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateForAsynchEH() 518 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() 1151 dyn_cast<Function>(CB->getCalledOperand()->stripPointerCasts()); in removeImplausibleInstructions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 161 PersonalityFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction() 302 cast<Function>(CxxLongjmpUnwind.getCallee()->stripPointerCasts()) in emitExceptionRegistrationRecord() 355 cast<Function>(SehLongjmpUnwind.getCallee()->stripPointerCasts()) in emitExceptionRegistrationRecord() 775 if (Call->getCalledOperand()->stripPointerCasts() != in addStateStores() 776 SetJmp3.getCallee()->stripPointerCasts()) in addStateStores()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 714 LI, SI, SI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad() 715 LI->getPointerOperand()->stripPointerCasts(), in processStoreOfLoad() 988 return U->stripPointerCasts() == cpySrc && in performCallSlotOptzn() 1013 II->getArgOperand(1)->stripPointerCasts() == srcAlloca && in performCallSlotOptzn() 1065 if (C->getArgOperand(ArgI)->stripPointerCasts() == cpySrc && in performCallSlotOptzn() 1072 if (C->getArgOperand(ArgI)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn() 1983 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument() 2066 auto *AI = dyn_cast<AllocaInst>(ImmutArg->stripPointerCasts()); in processImmutArgument()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | EHPersonalities.cpp | 25 Pers ? dyn_cast<GlobalValue>(Pers->stripPointerCasts()) : nullptr; in classifyEHPersonality()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVVMReflect.cpp | 156 dyn_cast<Constant>(Call->getArgOperand(0)->stripPointerCasts()); in handleReflectFunction()
|