/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 377 Value *PtrValue = nullptr; in getPointerOperandAndType() local 381 PtrValue = LMemI->getPointerOperand(); in getPointerOperandAndType() 384 PtrValue = SMemI->getPointerOperand(); in getPointerOperandAndType() 390 PtrValue = IMemI->getArgOperand(0); in getPointerOperandAndType() 392 PtrValue = IMemI->getArgOperand(1); in getPointerOperandAndType() 399 return PtrValue; in getPointerOperandAndType() 874 Value *PtrValue = nullptr; in collectCandidates() local 876 PtrValue = getPointerOperandAndType(&J, &PointerElementType); in collectCandidates() 878 if (!PtrValue) in collectCandidates() 881 if (PtrValue->getType()->getPointerAddressSpace()) in collectCandidates() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopDataPrefetch.cpp | 328 Value *PtrValue; in runOnLoop() local 333 PtrValue = LMemI->getPointerOperand(); in runOnLoop() 337 PtrValue = SMemI->getPointerOperand(); in runOnLoop() 340 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop() 344 if (L->isLoopInvariant(PtrValue)) in runOnLoop() 347 const SCEV *LSCEV = SE->getSCEV(PtrValue); in runOnLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 1297 Value *PtrValue, in CreateAlignmentAssumptionHelper() argument 1300 SmallVector<Value *, 4> Vals({PtrValue, AlignValue}); in CreateAlignmentAssumptionHelper() 1308 Value *PtrValue, in CreateAlignmentAssumption() argument 1311 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption() 1314 auto *PtrTy = cast<PointerType>(PtrValue->getType()); in CreateAlignmentAssumption() 1317 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption() 1321 Value *PtrValue, in CreateAlignmentAssumption() argument 1324 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption() 1326 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FalkorHWPFFix.cpp | 157 Value *PtrValue = LoadI->getPointerOperand(); in runOnLoop() local 158 if (L.isLoopInvariant(PtrValue)) in runOnLoop() 161 const SCEV *LSCEV = SE.getSCEV(PtrValue); in runOnLoop()
|
H A D | AArch64TargetTransformInfo.cpp | 3580 Value *PtrValue = LMemI->getPointerOperand(); in getFalkorUnrollingPreferences() local 3581 if (L->isLoopInvariant(PtrValue)) in getFalkorUnrollingPreferences() 3584 const SCEV *LSCEV = SE.getSCEV(PtrValue); in getFalkorUnrollingPreferences()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 1792 auto *PtrValue = Builder.CreatePtrToInt(GEP, IntPtrTy); in insertSpills() local 1795 PtrValue = Builder.CreateAdd(PtrValue, AlignMask); in insertSpills() 1796 PtrValue = Builder.CreateAnd(PtrValue, Builder.CreateNot(AlignMask)); in insertSpills() 1797 return Builder.CreateIntToPtr(PtrValue, AI->getType()); in insertSpills()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 2556 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument 2570 Builder.CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in emitAlignmentAssumption() 2588 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption() 2592 emitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption() 2596 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument 2604 emitAlignmentAssumption(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
|
H A D | CGStmtOpenMP.cpp | 2271 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local 2273 PtrValue, E, /*No second loc needed*/ SourceLocation(), in emitAlignedClause() 2685 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in GetAlignedMapping() local 2686 AlignedVars[PtrValue] = CGF.Builder.getInt64(Alignment.getSExtValue()); in GetAlignedMapping()
|
H A D | CodeGenFunction.h | 3505 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty, 3510 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
|
H A D | CGBuiltin.cpp | 3410 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local 3420 emitAlignmentAssumption(PtrValue, Ptr, in EmitBuiltinExpr() 3423 return RValue::get(PtrValue); in EmitBuiltinExpr()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 2627 Value *PtrValue, Value *AlignValue, 2637 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue, 2650 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 1023 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local 1024 if (!PtrValue || in BuildObjCDictionaryLiteral() 1025 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()
|