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.cpp377 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 DLoopDataPrefetch.cpp328 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 DIRBuilder.cpp1297 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 DAArch64FalkorHWPFFix.cpp157 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 DAArch64TargetTransformInfo.cpp3580 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 DCoroFrame.cpp1792 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 DCodeGenFunction.cpp2556 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 DCGStmtOpenMP.cpp2271 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 DCodeGenFunction.h3505 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty,
3510 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
H A DCGBuiltin.cpp3410 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 DIRBuilder.h2627 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 DSemaExprObjC.cpp1023 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local
1024 if (!PtrValue || in BuildObjCDictionaryLiteral()
1025 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()