Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp376 Value *PtrValue = nullptr; in getPointerOperandAndType() local
380 PtrValue = LMemI->getPointerOperand(); in getPointerOperandAndType()
383 PtrValue = SMemI->getPointerOperand(); in getPointerOperandAndType()
389 PtrValue = IMemI->getArgOperand(0); in getPointerOperandAndType()
391 PtrValue = IMemI->getArgOperand(1); in getPointerOperandAndType()
398 return PtrValue; in getPointerOperandAndType()
868 Value *PtrValue = nullptr; in collectCandidates() local
872 if (!PtrValue) in collectCandidates()
878 if (L->isLoopInvariant(PtrValue)) in collectCandidates()
1308 assert((PtrValue && I) && "Invalid parameter!"); in runOnLoop()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dmatrix-type-builtins.m33 @interface PtrValue interface
42 void test_column_major_load(PtrValue *Ptr, IntValue *Stride) {
52 void test_column_major_store(UnsignedMatrixValue *M, PtrValue *Ptr, IntValue *Stride) {
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A DState.h279 template <typename Ty, ValueKind Kind> struct PtrValue { struct
285 __attribute__((flatten, always_inline)) PtrValue &operator=(const Ty Other) { argument
336 inline state::PtrValue<ParallelRegionFnTy, state::VK_ParallelRegionFn>
/llvm-project-15.0.7/llvm/lib/IR/
H A DIRBuilder.cpp1269 Value *PtrValue, in CreateAlignmentAssumptionHelper() argument
1272 SmallVector<Value *, 4> Vals({PtrValue, AlignValue}); in CreateAlignmentAssumptionHelper()
1280 Value *PtrValue, in CreateAlignmentAssumption() argument
1283 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption()
1286 auto *PtrTy = cast<PointerType>(PtrValue->getType()); in CreateAlignmentAssumption()
1289 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption()
1293 Value *PtrValue, in CreateAlignmentAssumption() argument
1296 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption()
1298 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64FalkorHWPFFix.cpp160 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 DAArch64TargetTransformInfo.cpp2380 Value *PtrValue = LMemI->getPointerOperand(); in getFalkorUnrollingPreferences() local
2381 if (L->isLoopInvariant(PtrValue)) in getFalkorUnrollingPreferences()
2384 const SCEV *LSCEV = SE.getSCEV(PtrValue); in getFalkorUnrollingPreferences()
/llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1588 auto *PtrValue = Builder.CreatePtrToInt(GEP, IntPtrTy); in insertSpills() local
1591 PtrValue = Builder.CreateAdd(PtrValue, AlignMask); in insertSpills()
1592 PtrValue = Builder.CreateAnd(PtrValue, Builder.CreateNot(AlignMask)); in insertSpills()
1593 return Builder.CreateIntToPtr(PtrValue, AI->getType()); in insertSpills()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2384 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument
2398 Builder.CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in emitAlignmentAssumption()
2416 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2420 emitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
2424 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument
2434 emitAlignmentAssumption(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
H A DCodeGenFunction.h3192 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty,
3197 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
H A DCGStmtOpenMP.cpp2235 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local
2237 PtrValue, E, /*No second loc needed*/ SourceLocation(), in emitAlignedClause()
H A DCGBuiltin.cpp2780 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local
2790 emitAlignmentAssumption(PtrValue, Ptr, in EmitBuiltinExpr()
2793 return RValue::get(PtrValue); in EmitBuiltinExpr()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIRBuilder.h2441 Value *PtrValue, Value *AlignValue,
2451 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
2464 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp1015 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local
1016 if (!PtrValue || in BuildObjCDictionaryLiteral()
1017 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()