| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopDataPrefetch.cpp | 254 Value *PtrValue; in runOnLoop() local 259 PtrValue = LMemI->getPointerOperand(); in runOnLoop() 263 PtrValue = SMemI->getPointerOperand(); in runOnLoop() 266 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop() 270 if (L->isLoopInvariant(PtrValue)) in runOnLoop() 273 const SCEV *LSCEV = SE->getSCEV(PtrValue); in runOnLoop() 323 LLVM_DEBUG(dbgs() << " Access: " << *PtrValue << ", SCEV: " << *LSCEV in runOnLoop()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopPreIncPrep.cpp | 265 Value *PtrValue; in runOnLoop() local 270 PtrValue = LMemI->getPointerOperand(); in runOnLoop() 273 PtrValue = SMemI->getPointerOperand(); in runOnLoop() 277 PtrValue = IMemI->getArgOperand(0); in runOnLoop() 281 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop() 287 PtrValue->getType()->getPointerElementType()->isVectorTy()) in runOnLoop() 290 if (L->isLoopInvariant(PtrValue)) in runOnLoop() 293 const SCEV *LSCEV = SE->getSCEVAtScope(PtrValue, L); in runOnLoop() 302 if (PtrValue->getType()->getPointerElementType()->isIntegerTy(64)) { in runOnLoop()
|
| /freebsd-12.1/contrib/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 | 720 Value *PtrValue = LMemI->getPointerOperand(); in getFalkorUnrollingPreferences() local 721 if (L->isLoopInvariant(PtrValue)) in getFalkorUnrollingPreferences() 724 const SCEV *LSCEV = SE.getSCEV(PtrValue); in getFalkorUnrollingPreferences()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 2240 Value *PtrValue, Value *Mask, in CreateAlignmentAssumptionHelper() argument 2243 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in CreateAlignmentAssumptionHelper() 2277 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue, 2281 assert(isa<PointerType>(PtrValue->getType()) && 2283 auto *PtrTy = cast<PointerType>(PtrValue->getType()); 2287 return CreateAlignmentAssumptionHelper(DL, PtrValue, Mask, IntPtrTy, 2303 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue, 2307 assert(isa<PointerType>(PtrValue->getType()) && 2309 auto *PtrTy = cast<PointerType>(PtrValue->getType()); 2323 return CreateAlignmentAssumptionHelper(DL, PtrValue, Mask, IntPtrTy,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2210 void CodeGenFunction::EmitAlignmentAssumption(llvm::Value *PtrValue, in EmitAlignmentAssumption() argument 2217 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue, &TheCheck); in EmitAlignmentAssumption() 2219 EmitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in EmitAlignmentAssumption() 2224 void CodeGenFunction::EmitAlignmentAssumption(llvm::Value *PtrValue, in EmitAlignmentAssumption() argument 2231 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue, &TheCheck); in EmitAlignmentAssumption() 2234 EmitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, AlignmentVal, in EmitAlignmentAssumption() 2239 void CodeGenFunction::EmitAlignmentAssumption(llvm::Value *PtrValue, in EmitAlignmentAssumption() argument 2249 EmitAlignmentAssumption(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in EmitAlignmentAssumption()
|
| H A D | CodeGenFunction.h | 2808 void EmitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty, 2813 void EmitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty, 2818 void EmitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
|
| H A D | CGStmtOpenMP.cpp | 1474 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local 1476 PtrValue, E, /*No second loc needed*/ SourceLocation(), Alignment); in emitAlignedClause()
|
| H A D | CGBuiltin.cpp | 1908 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local 1916 EmitAlignmentAssumption(PtrValue, Ptr, /*The expr loc is sufficient.*/ SourceLocation(), in EmitBuiltinExpr() 1918 return RValue::get(PtrValue); in EmitBuiltinExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 939 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local 940 if (!PtrValue || in BuildObjCDictionaryLiteral() 941 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()
|