Home
last modified time | relevance | path

Searched refs:PtrToIntInst (Results 1 – 25 of 30) sorted by relevance

12

/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerRefTypesIntPtrConv.cpp64 PtrToIntInst *PTI = dyn_cast<PtrToIntInst>(&*I); in runOnFunction()
/src/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp283 if (auto *PI = dyn_cast<PtrToIntInst>(I.OldInstruction)) { in INITIALIZE_PASS_DEPENDENCY()
397 isa<PtrToIntInst>(CurUser))) in adjustByValArgAlignment()
433 (isa<CallInst>(V) || isa<StoreInst>(V) || isa<PtrToIntInst>(V))) in handleByValParam()
448 !isa<PtrToIntInst>(V)) in handleByValParam()
/src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.cpp100 if (isa<PtrToIntInst>(P)) in IsStoredObjCPointer()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h255 void visitPtrToIntInst(PtrToIntInst &I) { in visitPtrToIntInst()
/src/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h146 void visitPtrToIntInst(PtrToIntInst &I);
H A DExecution.cpp1711 void Interpreter::visitPtrToIntInst(PtrToIntInst &I) { in visitPtrToIntInst()
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstVisitor.h185 RetTy visitPtrToIntInst(PtrToIntInst &I) { DELEGATE(CastInst);} in visitPtrToIntInst()
H A DInstruction.def193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
H A DInstructions.h4741 class PtrToIntInst : public CastInst {
4747 PtrToIntInst *cloneImpl() const;
4751 PtrToIntInst(Value *S, ///< The value to be converted
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp279 if (AI == cast<PtrToIntInst>(I)->getOperand(0)) in HasAddressTaken()
H A DAnalysis.cpp324 } else if (isa<PtrToIntInst>(I)) { in getNoopInput()
/src/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2986 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
3403 PtrToIntInst::PtrToIntInst(Value *S, Type *Ty, const Twine &Name, in PtrToIntInst() function in PtrToIntInst
4294 PtrToIntInst *PtrToIntInst::cloneImpl() const { in cloneImpl()
4295 return new PtrToIntInst(getOperand(0), getType()); in cloneImpl()
/src/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp1234 const PtrToIntInst *ptr_to_int_inst = cast<PtrToIntInst>(inst); in Interpret()
/src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp147 if (auto *PI = dyn_cast<PtrToIntInst>(Arg)) { in foldIntegerTypedPHI()
310 if (!all_of(PN.users(), [](User *U) { return isa<PtrToIntInst>(U); })) in foldPHIArgIntToPtrToPHI()
H A DInstCombineInternal.h145 Instruction *visitPtrToInt(PtrToIntInst &CI);
H A DInstructionCombining.cpp388 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast()
2936 isa<PtrToIntInst>(U.getUser()); in visitGetElementPtrInst()
H A DInstCombineCasts.cpp2028 Instruction *InstCombinerImpl::visitPtrToInt(PtrToIntInst &CI) { in visitPtrToInt()
/src/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp731 if (isa<ICmpInst, PtrToIntInst>(User)) in isPointerUseReplacable()
H A DInlineCost.cpp472 bool visitPtrToInt(PtrToIntInst &I);
1725 bool CallAnalyzer::visitPtrToInt(PtrToIntInst &I) { in visitPtrToInt()
H A DVectorUtils.cpp671 if (isa<BitCastInst>(I) || isa<PtrToIntInst>(I) || isa<IntToPtrInst>(I) || in computeMinimumValueSizes()
H A DInstructionSimplify.cpp3815 if (MaxRecurse && isa<PtrToIntInst>(LI) && in simplifyICmpInst()
3823 } else if (PtrToIntInst *RI = dyn_cast<PtrToIntInst>(RHS)) { in simplifyICmpInst()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp754 PtrParts visitPtrToIntInst(PtrToIntInst &PI);
1289 PtrParts SplitPtrStructs::visitPtrToIntInst(PtrToIntInst &PI) { in visitPtrToIntInst()
/src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1535 return V->getType()->isPointerTy() || isa<PtrToIntInst>(V); in isPointerOperand()
3552 isa<PtrToIntInst>(LocalStackBaseAlloca) in processStaticAllocas()
3553 ? cast<PtrToIntInst>(LocalStackBaseAlloca)->getPointerOperand() in processStaticAllocas()
/src/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1903 macro(PtrToIntInst) \
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp950 if ((isa<PtrToIntInst>(UseInst)) || (isa<TruncInst>(UseInst))) in simplifyUsers()

12