| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 368 Value *PtrValue = nullptr; in getPointerOperandAndType() local 372 PtrValue = LMemI->getPointerOperand(); in getPointerOperandAndType() 375 PtrValue = SMemI->getPointerOperand(); in getPointerOperandAndType() 381 PtrValue = IMemI->getArgOperand(0); in getPointerOperandAndType() 383 PtrValue = IMemI->getArgOperand(1); in getPointerOperandAndType() 390 return PtrValue; in getPointerOperandAndType() 865 Value *PtrValue = nullptr; in collectCandidates() local 867 PtrValue = getPointerOperandAndType(&J, &PointerElementType); in collectCandidates() 869 if (!PtrValue) in collectCandidates() 872 if (PtrValue->getType()->getPointerAddressSpace()) in collectCandidates() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopDataPrefetch.cpp | 327 Value *PtrValue; in runOnLoop() local 332 PtrValue = LMemI->getPointerOperand(); in runOnLoop() 336 PtrValue = SMemI->getPointerOperand(); in runOnLoop() 339 unsigned PtrAddrSpace = PtrValue->getType()->getPointerAddressSpace(); in runOnLoop() 343 if (L->isLoopInvariant(PtrValue)) in runOnLoop() 346 const SCEV *LSCEV = SE->getSCEV(PtrValue); in runOnLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 1219 Value *PtrValue, in CreateAlignmentAssumptionHelper() argument 1222 SmallVector<Value *, 4> Vals({PtrValue, AlignValue}); in CreateAlignmentAssumptionHelper() 1230 Value *PtrValue, in CreateAlignmentAssumption() argument 1233 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption() 1236 auto *PtrTy = cast<PointerType>(PtrValue->getType()); in CreateAlignmentAssumption() 1239 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption() 1243 Value *PtrValue, in CreateAlignmentAssumption() argument 1246 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption() 1248 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption() 1251 CallInst *IRBuilderBase::CreateDereferenceableAssumption(Value *PtrValue, in CreateDereferenceableAssumption() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FalkorHWPFFix.cpp | 154 Value *PtrValue = LoadI->getPointerOperand(); in runOnLoop() local 155 if (L.isLoopInvariant(PtrValue)) in runOnLoop() 158 const SCEV *LSCEV = SE.getSCEV(PtrValue); in runOnLoop()
|
| H A D | AArch64TargetTransformInfo.cpp | 4673 Value *PtrValue = LMemI->getPointerOperand(); in getFalkorUnrollingPreferences() local 4674 if (L->isLoopInvariant(PtrValue)) in getFalkorUnrollingPreferences() 4677 const SCEV *LSCEV = SE.getSCEV(PtrValue); in getFalkorUnrollingPreferences()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 1035 auto *PtrValue = Builder.CreatePtrToInt(GEP, IntPtrTy); in insertSpills() local 1038 PtrValue = Builder.CreateAdd(PtrValue, AlignMask); in insertSpills() 1039 PtrValue = Builder.CreateAnd(PtrValue, Builder.CreateNot(AlignMask)); in insertSpills() 1040 return Builder.CreateIntToPtr(PtrValue, AI->getType()); in insertSpills()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2664 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument 2678 Builder.CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in emitAlignmentAssumption() 2696 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption() 2700 emitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption() 2704 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument 2712 emitAlignmentAssumption(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
|
| H A D | CGBuiltin.cpp | 3508 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local 3518 emitAlignmentAssumption(PtrValue, Ptr, in EmitBuiltinExpr() 3521 return RValue::get(PtrValue); in EmitBuiltinExpr() 3526 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local 3531 Builder.CreateDereferenceableAssumption(PtrValue, SizeValue); in EmitBuiltinExpr()
|
| H A D | CGStmtOpenMP.cpp | 2318 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local 2320 PtrValue, E, /*No second loc needed*/ SourceLocation(), in emitAlignedClause() 2816 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in GetAlignedMapping() local 2817 AlignedVars[PtrValue] = CGF.Builder.getInt64(Alignment.getSExtValue()); in GetAlignedMapping()
|
| H A D | CodeGenFunction.h | 3550 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty, 3555 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 2728 Value *PtrValue, Value *AlignValue, 2739 Value *PtrValue, 2753 Value *PtrValue, 2759 LLVM_ABI CallInst *CreateDereferenceableAssumption(Value *PtrValue,
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 1018 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local 1019 if (!PtrValue || in BuildObjCDictionaryLiteral() 1020 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()
|