Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h155 Constant *stripPointerCasts() { in stripPointerCasts() function
156 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
159 const Constant *stripPointerCasts() const { in stripPointerCasts() function
160 return const_cast<Constant*>(this)->stripPointerCasts(); in stripPointerCasts()
/external/llvm/include/llvm/IR/
DConstant.h153 Constant *stripPointerCasts() { in stripPointerCasts() function
154 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
157 const Constant *stripPointerCasts() const { in stripPointerCasts() function
158 return const_cast<Constant*>(this)->stripPointerCasts(); in stripPointerCasts()
DIntrinsicInst.h173 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
249 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource()
348 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
376 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
/external/llvm-project/llvm/lib/Transforms/ObjCARC/
DObjCARC.h46 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()
64 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand()
80 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs()
81 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts(); in getEquivalentPHIs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARC.h60 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction()
78 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand()
94 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs()
95 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts(); in getEquivalentPHIs()
/external/llvm-project/llvm/include/llvm/IR/
DConstant.h195 const Constant *stripPointerCasts() const { in stripPointerCasts() function
196 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
199 Constant *stripPointerCasts() { in stripPointerCasts() function
201 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstant.h189 const Constant *stripPointerCasts() const { in stripPointerCasts() function
190 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
193 Constant *stripPointerCasts() { in stripPointerCasts() function
195 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
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()
521 getArgOperand(AsyncContextProjectionArg)->stripPointerCasts()); in getAsyncContextProjectionFunction()
[all …]
/external/llvm/lib/Analysis/
DLoads.cpp254 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally()
286 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally()
329 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailableLoadedValue()
351 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailableLoadedValue()
367 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailableLoadedValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
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()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp728 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in emitStrLen()
747 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in emitStrChr()
766 if (const Function *F = dyn_cast<Function>(StrNCmp->stripPointerCasts())) in emitStrNCmp()
783 if (const Function *F = dyn_cast<Function>(StrCpy->stripPointerCasts())) in emitStrCpy()
800 if (const Function *F = dyn_cast<Function>(StrNCpy->stripPointerCasts())) in emitStrNCpy()
823 if (const Function *F = dyn_cast<Function>(MemCpy->stripPointerCasts())) in emitMemCpyChk()
841 if (const Function *F = dyn_cast<Function>(MemChr->stripPointerCasts())) in emitMemChr()
861 if (const Function *F = dyn_cast<Function>(MemCmp->stripPointerCasts())) in emitMemCmp()
892 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) in emitUnaryFloatFnCall()
908 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) in emitBinaryFloatFnCall()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoads.cpp292 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally()
334 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally()
386 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailablePtrLoadStore()
411 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore()
428 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailablePtrLoadStore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp842 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitLibCall()
924 dyn_cast<Function>(MemCpy.getCallee()->stripPointerCasts())) in emitMemCpyChk()
1059 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitUnaryFloatFnCallHelper()
1101 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitBinaryFloatFnCallHelper()
1147 dyn_cast<Function>(PutChar.getCallee()->stripPointerCasts())) in emitPutChar()
1164 dyn_cast<Function>(PutS.getCallee()->stripPointerCasts())) in emitPutS()
1185 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutC()
1205 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutCUnlocked()
1224 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutS()
1243 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutSUnlocked()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp324 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally()
365 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally()
439 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailablePtrLoadStore()
464 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore()
481 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailablePtrLoadStore()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp104 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction()
149 auto *P = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFragment()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp116 Per = dyn_cast<Function>(F->getPersonalityFn()->stripPointerCasts()); in beginFunction()
152 auto *P = dyn_cast<Function>(F->getPersonalityFn()->stripPointerCasts()); in beginFragment()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp105 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction()
150 auto *P = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFragment()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp74 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
75 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
90 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
95 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
669 Value *CpyDest = SI->getPointerOperand()->stripPointerCasts(); in processStore()
690 LI, SI->getPointerOperand()->stripPointerCasts(), in processStore()
691 LI->getPointerOperand()->stripPointerCasts(), in processStore()
916 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn()
1280 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUFixFunctionBitcasts.cpp37 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in visitCallSite()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUFixFunctionBitcasts.cpp39 dyn_cast<Function>(CB.getCalledOperand()->stripPointerCasts()); in visitCallBase()
/external/llvm-project/llvm/lib/Target/X86/
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()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp156 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction()
305 cast<Function>(CxxLongjmpUnwind->stripPointerCasts()) in emitExceptionRegistrationRecord()
358 cast<Function>(SehLongjmpUnwind->stripPointerCasts()) in emitExceptionRegistrationRecord()
765 if (CS.getCalledValue()->stripPointerCasts() != in addStateStores()
766 SetJmp3->stripPointerCasts()) in addStateStores()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp1027 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitLibCall()
1109 dyn_cast<Function>(MemCpy.getCallee()->stripPointerCasts())) in emitMemCpyChk()
1253 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitUnaryFloatFnCallHelper()
1298 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts())) in emitBinaryFloatFnCallHelper()
1345 dyn_cast<Function>(PutChar.getCallee()->stripPointerCasts())) in emitPutChar()
1362 dyn_cast<Function>(PutS.getCallee()->stripPointerCasts())) in emitPutS()
1383 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutC()
1402 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFPutS()
1426 dyn_cast<Function>(F.getCallee()->stripPointerCasts())) in emitFWrite()
1445 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts())) in emitMalloc()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
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()
765 if (CS.getCalledValue()->stripPointerCasts() != in addStateStores()
766 SetJmp3.getCallee()->stripPointerCasts()) in addStateStores()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp887 &i != DFSanUnionFn.getCallee()->stripPointerCasts() && in runImpl()
888 &i != DFSanCheckedUnionFn.getCallee()->stripPointerCasts() && in runImpl()
889 &i != DFSanUnionLoadFn.getCallee()->stripPointerCasts() && in runImpl()
890 &i != DFSanUnionLoadFast16LabelsFn.getCallee()->stripPointerCasts() && in runImpl()
891 &i != DFSanUnimplementedFn.getCallee()->stripPointerCasts() && in runImpl()
892 &i != DFSanSetLabelFn.getCallee()->stripPointerCasts() && in runImpl()
893 &i != DFSanNonzeroLabelFn.getCallee()->stripPointerCasts() && in runImpl()
894 &i != DFSanVarargWrapperFn.getCallee()->stripPointerCasts() && in runImpl()
895 &i != DFSanLoadCallbackFn.getCallee()->stripPointerCasts() && in runImpl()
896 &i != DFSanStoreCallbackFn.getCallee()->stripPointerCasts() && in runImpl()
[all …]

1234567891011