Home
last modified time | relevance | path

Searched refs:PtrVal (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DPointerIntPair.h88 PointerIntPair(PointerTy PtrVal, IntType IntVal) { in PointerIntPair() argument
89 setPointerAndInt(PtrVal, IntVal); in PointerIntPair()
92 explicit PointerIntPair(PointerTy PtrVal) { initWithPointer(PtrVal); } in PointerIntPair() argument
98 void setPointer(PointerTy PtrVal) & { in setPointer() argument
99 Value = Info::updatePointer(Value, PtrVal); in setPointer()
106 void initWithPointer(PointerTy PtrVal) & { in initWithPointer() argument
107 Value = Info::updatePointer(0, PtrVal); in initWithPointer()
110 void setPointerAndInt(PointerTy PtrVal, IntType IntVal) & { in setPointerAndInt() argument
111 Value = Info::updateInt(Info::updatePointer(0, PtrVal), in setPointerAndInt()
H A DImmutableList.h234 uintptr_t PtrVal = reinterpret_cast<uintptr_t>(X.getInternalPointer());
235 return (unsigned((uintptr_t)PtrVal) >> 4) ^
236 (unsigned((uintptr_t)PtrVal) >> 9);
H A DDenseMapInfo.h84 static unsigned getHashValue(const T *PtrVal) {
85 return (unsigned((uintptr_t)PtrVal) >> 4) ^
86 (unsigned((uintptr_t)PtrVal) >> 9);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h95 static constexpr unsigned getHashValue(const T *PtrVal) {
96 return (unsigned((uptr)PtrVal) >> 4) ^ (unsigned((uptr)PtrVal) >> 9);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnixAPIChecker.cpp56 EnsurePtrNotNull(SVal PtrVal, const Expr *PtrExpr, CheckerContext &C,
114 SVal PtrVal, const Expr *PtrExpr, CheckerContext &C, ProgramStateRef State, in EnsurePtrNotNull() argument
117 const auto Ptr = PtrVal.getAs<DefinedSVal>(); in EnsurePtrNotNull()
H A DSmartPtrModeling.cpp308 const auto PtrVal = C.getSValBuilder().getConjuredHeapSymbolVal( in evalCall() local
313 State = State->set<TrackedRegionMap>(ThisRegion, PtrVal); in evalCall()
314 State = State->assume(PtrVal, true); in evalCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp977 Info.PtrVal = Inst->getArgOperand(0); in getTgtMemIntrinsic()
994 Info.PtrVal = Inst->getArgOperand(1); in getTgtMemIntrinsic()
1003 Info.PtrVal = Inst->getArgOperand(0); in getTgtMemIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp1652 ValueLatticeElement PtrVal = getValueState(I.getOperand(0)); in visitLoadInst() local
1653 if (PtrVal.isUnknownOrUndef()) in visitLoadInst()
1658 if (SCCPSolver::isConstant(PtrVal)) { in visitLoadInst()
1659 Constant *Ptr = getConstant(PtrVal, I.getOperand(0)->getType()); in visitLoadInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp822 Info.PtrVal = Inst->getOperand(0); in ParseMemoryInst()
829 Info.PtrVal = Inst->getOperand(1); in ParseMemoryInst()
913 return Info.PtrVal; in getPointerOperand()
H A DLoopStrengthReduce.cpp1018 if (IntrInfo.PtrVal == OperandVal) in isAddressUse()
1073 if (TTI.getTgtMemIntrinsic(II, IntrInfo) && IntrInfo.PtrVal) { in getAccessType()
1075 = IntrInfo.PtrVal->getType()->getPointerAddressSpace(); in getAccessType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1939 Value *PtrVal = PointerOperand; in expandAtomicOpToLibcall() local
1940 PtrVal = Builder.CreateAddrSpaceCast(PtrVal, PointerType::getUnqual(Ctx)); in expandAtomicOpToLibcall()
1941 Args.push_back(PtrVal); in expandAtomicOpToLibcall()
H A DCodeGenPrepare.cpp2535 Value *PtrVal = PtrOps.pop_back_val(); in optimizeCallInst() local
2536 unsigned AS = PtrVal->getType()->getPointerAddressSpace(); in optimizeCallInst()
2537 if (optimizeMemoryInst(II, PtrVal, AccessTy, AS)) in optimizeCallInst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp577 llvm::Constant *getImageRelativeConstant(llvm::Constant *PtrVal) { in getImageRelativeConstant() argument
579 return PtrVal; in getImageRelativeConstant()
581 if (PtrVal->isNullValue()) in getImageRelativeConstant()
587 llvm::ConstantExpr::getPtrToInt(PtrVal, CGM.IntPtrTy); in getImageRelativeConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp514 Info.PtrVal = Inst->getArgOperand(0); in getTgtMemIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8851 static SDValue getMemCmpLoad(const Value *PtrVal, MVT LoadVT, in getMemCmpLoad() argument
8855 if (const Constant *LoadInput = dyn_cast<Constant>(PtrVal)) { in getMemCmpLoad()
8858 Type::getIntNTy(PtrVal->getContext(), LoadVT.getScalarSizeInBits()); in getMemCmpLoad()
8877 if (Builder.AA && Builder.AA->pointsToConstantMemory(PtrVal)) { in getMemCmpLoad()
8885 SDValue Ptr = Builder.getValue(PtrVal); in getMemCmpLoad()
8888 MachinePointerInfo(PtrVal), Align(1)); in getMemCmpLoad()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h78 Value *PtrVal = nullptr; member
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3721 Info.PtrVal = Inst->getArgOperand(0); in getTgtMemIntrinsic()
3728 Info.PtrVal = Inst->getArgOperand(Inst->arg_size() - 1); in getTgtMemIntrinsic()