Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp368 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 DLoopDataPrefetch.cpp327 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 DIRBuilder.cpp1219 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 DAArch64FalkorHWPFFix.cpp154 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 DAArch64TargetTransformInfo.cpp4673 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 DCoroFrame.cpp1035 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 DCodeGenFunction.cpp2664 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 DCGBuiltin.cpp3508 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 DCGStmtOpenMP.cpp2318 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 DCodeGenFunction.h3550 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 DIRBuilder.h2728 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 DSemaExprObjC.cpp1018 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local
1019 if (!PtrValue || in BuildObjCDictionaryLiteral()
1020 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()