Home
last modified time | relevance | path

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

1234567

/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()
DValue.h470 Value *stripPointerCasts();
471 const Value *stripPointerCasts() const { in stripPointerCasts() function
472 return const_cast<Value*>(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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstant.h173 const Constant *stripPointerCasts() const { in stripPointerCasts() function
174 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
177 Constant *stripPointerCasts() { in stripPointerCasts() function
179 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
DIntrinsicInst.h271 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
319 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource()
701 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
741 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DBuildLibCalls.cpp46 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in EmitStrLen()
67 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in EmitStrChr()
91 if (const Function *F = dyn_cast<Function>(StrNCmp->stripPointerCasts())) in EmitStrNCmp()
110 if (const Function *F = dyn_cast<Function>(StrCpy->stripPointerCasts())) in EmitStrCpy()
129 if (const Function *F = dyn_cast<Function>(StrNCpy->stripPointerCasts())) in EmitStrNCpy()
153 if (const Function *F = dyn_cast<Function>(MemCpy->stripPointerCasts())) in EmitMemCpyChk()
174 if (const Function *F = dyn_cast<Function>(MemChr->stripPointerCasts())) in EmitMemChr()
199 if (const Function *F = dyn_cast<Function>(MemCmp->stripPointerCasts())) in EmitMemCmp()
230 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) in EmitUnaryFloatFnCall()
249 if (const Function *F = dyn_cast<Function>(PutChar->stripPointerCasts())) in EmitPutChar()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DObjCARC.h79 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand()
95 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs()
96 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts(); in getEquivalentPHIs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp772 if (const Function *F = dyn_cast<Function>(StrLen->stripPointerCasts())) in emitStrLen()
792 if (const Function *F = dyn_cast<Function>(StrChr->stripPointerCasts())) in emitStrChr()
812 if (const Function *F = dyn_cast<Function>(StrNCmp->stripPointerCasts())) in emitStrNCmp()
829 if (const Function *F = dyn_cast<Function>(StrCpy->stripPointerCasts())) in emitStrCpy()
846 if (const Function *F = dyn_cast<Function>(StrNCpy->stripPointerCasts())) in emitStrNCpy()
869 if (const Function *F = dyn_cast<Function>(MemCpy->stripPointerCasts())) in emitMemCpyChk()
888 if (const Function *F = dyn_cast<Function>(MemChr->stripPointerCasts())) in emitMemChr()
909 if (const Function *F = dyn_cast<Function>(MemCmp->stripPointerCasts())) in emitMemCmp()
946 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) in emitUnaryFloatFnCall()
962 if (const Function *F = dyn_cast<Function>(Callee->stripPointerCasts())) in emitBinaryFloatFnCall()
[all …]
/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-7.0/llvm/lib/Analysis/
DLoads.cpp270 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally()
302 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally()
350 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailablePtrLoadStore()
375 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore()
389 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailablePtrLoadStore()
/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/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp76 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
77 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
85 if (GEP1 && GEP2 == 0 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
90 if (GEP2 && GEP1 == 0 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
513 SI->getPointerOperand()->stripPointerCasts(), in processStore()
514 LI->getPointerOperand()->stripPointerCasts(), in processStore()
671 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn()
877 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument()
/external/swiftshader/third_party/LLVM/include/llvm/
DValue.h279 Value *stripPointerCasts();
280 const Value *stripPointerCasts() const { in stripPointerCasts() function
281 return const_cast<Value*>(this)->stripPointerCasts(); in stripPointerCasts()
DIntrinsicInst.h149 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest()
228 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCFIException.cpp104 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction()
147 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp109 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
110 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
125 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
130 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
709 Value *CpyDest = SI->getPointerOperand()->stripPointerCasts(); in processStore()
730 LI, SI->getPointerOperand()->stripPointerCasts(), in processStore()
731 LI->getPointerOperand()->stripPointerCasts(), in processStore()
958 if (CS.getArgument(i)->stripPointerCasts() == cpySrc && in performCallSlotOptzn()
966 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn()
1333 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroInstr.h105 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise()
161 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts()); in getRawInfo()
167 return cast<Function>(getArgOperand(CoroutineArg)->stripPointerCasts()); in getCoroutine()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp162 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction()
311 cast<Function>(CxxLongjmpUnwind->stripPointerCasts()) in emitExceptionRegistrationRecord()
364 cast<Function>(SehLongjmpUnwind->stripPointerCasts()) in emitExceptionRegistrationRecord()
773 if (CS.getCalledValue()->stripPointerCasts() != in addStateStores()
774 SetJmp3->stripPointerCasts()) in addStateStores()
/external/spirv-llvm/lib/SPIRV/
DSPIRVLowerOCLBlocks.cpp363 CallBlkBind->getArgOperand(0)->stripPointerCasts()); in getBlockInvokeFuncAndContext()
367 } else if (auto F = dyn_cast<Function>(Blk->stripPointerCasts())) { in getBlockInvokeFuncAndContext()
374 InvF = cast<Function>(GV->getInitializer()->stripPointerCasts()); in getBlockInvokeFuncAndContext()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DFunctionLoweringInfo.cpp461 cast<Function>(I.getPersonalityFn()->stripPointerCasts())); in AddLandingPadInfo()
473 dyn_cast<GlobalVariable>(Val->stripPointerCasts())); in AddLandingPadInfo()
480 FilterList.push_back(cast<GlobalVariable>((*II)->stripPointerCasts())); in AddLandingPadInfo()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp76 Value *StrippedDest = MI->getArgOperand(0)->stripPointerCasts(); in SimplifyMemTransfer()
256 Value *Op1 = II->getArgOperand(0)->stripPointerCasts(); in visitCallInst()
270 Op1 = GEP->getPointerOperand()->stripPointerCasts(); in visitCallInst()
824 Value *Underlying = TrampMem->stripPointerCasts(); in FindInitTrampolineFromAlloca()
883 Callee = Callee->stripPointerCasts(); in FindInitTrampoline()
1000 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in transformConstExprCastCall()
1259 Function *NestF =cast<Function>(Tramp->getArgOperand(1)->stripPointerCasts()); in transformCallThroughTrampoline()

1234567