Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroInstr.h121 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise()
177 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts()); in getRawInfo()
183 return cast<Function>(getArgOperand(CoroutineArg)->stripPointerCasts()); in getCoroutine()
226 return cast<Function>(getArgOperand(PrototypeArg)->stripPointerCasts()); in getPrototype()
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()
[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()
/netbsd-src/external/apache2/llvm/dist/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.h643 const Value *stripPointerCasts() const;
644 Value *stripPointerCasts() { in stripPointerCasts() function
646 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.h612 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
677 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource()
1098 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
1138 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.cpp124 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_()
/netbsd-src/external/apache2/llvm/dist/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.cpp73 dyn_cast<GlobalValue>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
H A DWinCFGuard.cpp70 if (C->stripPointerCasts() == F) in isPossibleIndirectCallTarget()
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()
H A DARMException.cpp65 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUFixFunctionBitcasts.cpp39 dyn_cast<Function>(CB.getCalledOperand()->stripPointerCasts()); in visitCallBase()
H A DAMDGPULowerModuleLDSPass.cpp65 if (!ToRemove.contains(C->stripPointerCasts())) { in removeFromUsedList()
91 if (Constant *C = dyn_cast<Constant>(LocalVars[I]->stripPointerCasts())) { in removeFromUsedLists()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DGCRootLowering.cpp153 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) in InsertRootInitializers()
225 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); in DoLowering()
H A DMachineFunction.cpp711 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts())) in addLandingPad()
724 dyn_cast<GlobalValue>(Val->stripPointerCasts())); in addLandingPad()
731 FilterList.push_back(cast<GlobalValue>((*II)->stripPointerCasts())); in addLandingPad()
739 Value *TypeInfo = CPI->getArgOperand(I - 1)->stripPointerCasts(); in addLandingPad()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1400 DFSanRuntimeFunctions.insert(DFSanUnionFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1402 DFSanCheckedUnionFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1404 DFSanUnionLoadFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1406 DFSanUnionLoadFastLabelsFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1408 DFSanLoadLabelAndOriginFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1410 DFSanUnimplementedFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1412 DFSanSetLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1414 DFSanNonzeroLabelFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1416 DFSanVarargWrapperFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
1418 DFSanLoadCallbackFn.getCallee()->stripPointerCasts()); in initializeRuntimeFunctions()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPULDSUtils.cpp46 if (auto *G = dyn_cast<GlobalValue>(V->stripPointerCasts())) { in userRequiresLowering()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp347 Value *LP = IIL->getArgOperand(1)->stripPointerCasts(); in isMaskedStoreOverwrite()
348 Value *EP = IIE->getArgOperand(1)->stripPointerCasts(); in isMaskedStoreOverwrite()
726 const Value *Ptr = Loc.Ptr->stripPointerCasts(); in removePartiallyOverlappedStores()
971 const Value *P1 = Earlier.Ptr->stripPointerCasts(); in isOverwrite()
972 const Value *P2 = Later.Ptr->stripPointerCasts(); in isOverwrite()
1258 Ptr = Ptr->stripPointerCasts(); in IsGuaranteedLoopInvariant()
1271 Ptr = Ptr->stripPointerCasts(); in IsGuaranteedLoopInvariant()

12345