| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 340 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 D | LoopDataPrefetch.cpp | 322 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 D | IRBuilder.cpp | 1224 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 D | AArch64FalkorHWPFFix.cpp | 160 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 D | AArch64TargetTransformInfo.cpp | 1673 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 D | CodeGenFunction.cpp | 2317 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 D | CodeGenFunction.h | 3134 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty, 3139 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
|
| H A D | CGStmtOpenMP.cpp | 2200 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local 2202 PtrValue, E, /*No second loc needed*/ SourceLocation(), in emitAlignedClause()
|
| H A D | CGBuiltin.cpp | 2852 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 D | IRBuilder.h | 2599 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 D | SemaExprObjC.cpp | 1015 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local 1016 if (!PtrValue || in BuildObjCDictionaryLiteral() 1017 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()
|