/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | PointerIntPair.h | 88 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 D | ImmutableList.h | 234 uintptr_t PtrVal = reinterpret_cast<uintptr_t>(X.getInternalPointer()); 235 return (unsigned((uintptr_t)PtrVal) >> 4) ^ 236 (unsigned((uintptr_t)PtrVal) >> 9);
|
H A D | DenseMapInfo.h | 84 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 D | sanitizer_dense_map_info.h | 95 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 D | UnixAPIChecker.cpp | 56 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 D | SmartPtrModeling.cpp | 308 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 D | PPCTargetTransformInfo.cpp | 977 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 D | SCCPSolver.cpp | 1652 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 D | EarlyCSE.cpp | 822 Info.PtrVal = Inst->getOperand(0); in ParseMemoryInst() 829 Info.PtrVal = Inst->getOperand(1); in ParseMemoryInst() 913 return Info.PtrVal; in getPointerOperand()
|
H A D | LoopStrengthReduce.cpp | 1018 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 D | AtomicExpandPass.cpp | 1939 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 D | CodeGenPrepare.cpp | 2535 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 D | MicrosoftCXXABI.cpp | 577 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 D | AMDGPUTargetTransformInfo.cpp | 514 Info.PtrVal = Inst->getArgOperand(0); in getTgtMemIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 8851 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 D | TargetTransformInfo.h | 78 Value *PtrVal = nullptr; member
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 3721 Info.PtrVal = Inst->getArgOperand(0); in getTgtMemIntrinsic() 3728 Info.PtrVal = Inst->getArgOperand(Inst->arg_size() - 1); in getTgtMemIntrinsic()
|