Home
last modified time | relevance | path

Searched refs:PtrValue (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp340 Value *PtrValue; in collectCandidates() local
344 PtrValue = LMemI->getPointerOperand(); in collectCandidates()
347 PtrValue = SMemI->getPointerOperand(); in collectCandidates()
353 PtrValue = IMemI->getArgOperand(0); in collectCandidates()
355 PtrValue = IMemI->getArgOperand(1); in collectCandidates()
363 if (L->isLoopInvariant(PtrValue)) in collectCandidates()
366 const SCEV *LSCEV = SE->getSCEVAtScope(PtrValue, L); in collectCandidates()
371 if (isValidCandidate(&J, PtrValue, PointerElementType)) in collectCandidates()
830 assert((PtrValue && I) && "Invalid parameter!"); in runOnLoop()
862 assert((PtrValue && I) && "Invalid parameter!"); in runOnLoop()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp322 Value *PtrValue; in runOnLoop() local
327 PtrValue = LMemI->getPointerOperand(); in runOnLoop()
331 PtrValue = SMemI->getPointerOperand(); in runOnLoop()
334 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop()
338 if (L->isLoopInvariant(PtrValue)) in runOnLoop()
341 const SCEV *LSCEV = SE->getSCEV(PtrValue); in runOnLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1224 Value *PtrValue, in CreateAlignmentAssumptionHelper() argument
1227 SmallVector<Value *, 4> Vals({PtrValue, AlignValue}); in CreateAlignmentAssumptionHelper()
1235 Value *PtrValue, in CreateAlignmentAssumption() argument
1238 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption()
1241 auto *PtrTy = cast<PointerType>(PtrValue->getType()); in CreateAlignmentAssumption()
1244 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption()
1248 Value *PtrValue, in CreateAlignmentAssumption() argument
1251 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption()
1253 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FalkorHWPFFix.cpp160 Value *PtrValue = LoadI->getPointerOperand(); in runOnLoop() local
161 if (L.isLoopInvariant(PtrValue)) in runOnLoop()
164 const SCEV *LSCEV = SE.getSCEV(PtrValue); in runOnLoop()
H A DAArch64TargetTransformInfo.cpp1673 Value *PtrValue = LMemI->getPointerOperand(); in getFalkorUnrollingPreferences() local
1674 if (L->isLoopInvariant(PtrValue)) in getFalkorUnrollingPreferences()
1677 const SCEV *LSCEV = SE.getSCEV(PtrValue); in getFalkorUnrollingPreferences()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2317 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument
2331 Builder.CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in emitAlignmentAssumption()
2349 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2353 emitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
2357 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument
2367 emitAlignmentAssumption(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
H A DCodeGenFunction.h3134 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty,
3139 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
H A DCGStmtOpenMP.cpp2200 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local
2202 PtrValue, E, /*No second loc needed*/ SourceLocation(), in emitAlignedClause()
H A DCGBuiltin.cpp2852 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local
2862 emitAlignmentAssumption(PtrValue, Ptr, in EmitBuiltinExpr()
2865 return RValue::get(PtrValue); in EmitBuiltinExpr()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h2599 Value *PtrValue, Value *AlignValue,
2609 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
2622 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp1015 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local
1016 if (!PtrValue || in BuildObjCDictionaryLiteral()
1017 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()