Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
869 Value *PtrValue = nullptr; in collectCandidates() local
871 PtrValue = getPointerOperandAndType(&J, &PointerElementType); in collectCandidates()
873 if (!PtrValue) in collectCandidates()
876 if (PtrValue->getType()->getPointerAddressSpace()) in collectCandidates()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DIRBuilder.cpp1373 Value *PtrValue, in CreateAlignmentAssumptionHelper() argument
1376 SmallVector<Value *, 4> Vals({PtrValue, AlignValue}); in CreateAlignmentAssumptionHelper()
1384 Value *PtrValue, in CreateAlignmentAssumption() argument
1387 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption()
1390 auto *PtrTy = cast<PointerType>(PtrValue->getType()); in CreateAlignmentAssumption()
1393 return CreateAlignmentAssumptionHelper(DL, PtrValue, AlignValue, OffsetValue); in CreateAlignmentAssumption()
1397 Value *PtrValue, in CreateAlignmentAssumption() argument
1400 assert(isa<PointerType>(PtrValue->getType()) && in CreateAlignmentAssumption()
1402 return CreateAlignmentAssumptionHelper(DL, PtrValue, Alignment, OffsetValue); in CreateAlignmentAssumption()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64FalkorHWPFFix.cpp158 Value *PtrValue = LoadI->getPointerOperand(); in runOnLoop() local
159 if (L.isLoopInvariant(PtrValue)) in runOnLoop()
162 const SCEV *LSCEV = SE.getSCEV(PtrValue); in runOnLoop()
H A DAArch64TargetTransformInfo.cpp2690 Value *PtrValue = LMemI->getPointerOperand(); in getFalkorUnrollingPreferences() local
2691 if (L->isLoopInvariant(PtrValue)) in getFalkorUnrollingPreferences()
2694 const SCEV *LSCEV = SE.getSCEV(PtrValue); in getFalkorUnrollingPreferences()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1623 auto *PtrValue = Builder.CreatePtrToInt(GEP, IntPtrTy); in insertSpills() local
1626 PtrValue = Builder.CreateAdd(PtrValue, AlignMask); in insertSpills()
1627 PtrValue = Builder.CreateAnd(PtrValue, Builder.CreateNot(AlignMask)); in insertSpills()
1628 return Builder.CreateIntToPtr(PtrValue, AI->getType()); in insertSpills()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2410 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument
2424 Builder.CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in emitAlignmentAssumption()
2442 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2446 emitAlignmentAssumptionCheck(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
2450 void CodeGenFunction::emitAlignmentAssumption(llvm::Value *PtrValue, in emitAlignmentAssumption() argument
2458 emitAlignmentAssumption(PtrValue, Ty, Loc, AssumptionLoc, Alignment, in emitAlignmentAssumption()
H A DCodeGenFunction.h3194 void emitAlignmentAssumption(llvm::Value *PtrValue, QualType Ty,
3199 void emitAlignmentAssumption(llvm::Value *PtrValue, const Expr *E,
H A DCGStmtOpenMP.cpp2243 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in emitAlignedClause() local
2245 PtrValue, E, /*No second loc needed*/ SourceLocation(), in emitAlignedClause()
2658 llvm::Value *PtrValue = CGF.EmitScalarExpr(E); in GetAlignedMapping() local
2659 AlignedVars[PtrValue] = CGF.Builder.getInt64(Alignment.getSExtValue()); in GetAlignedMapping()
H A DCGBuiltin.cpp2803 Value *PtrValue = EmitScalarExpr(Ptr); in EmitBuiltinExpr() local
2804 if (PtrValue->getType() != VoidPtrTy) in EmitBuiltinExpr()
2805 PtrValue = EmitCastToVoidPtr(PtrValue); in EmitBuiltinExpr()
2815 emitAlignmentAssumption(PtrValue, Ptr, in EmitBuiltinExpr()
2818 return RValue::get(PtrValue); in EmitBuiltinExpr()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DIRBuilder.h2506 Value *PtrValue, Value *AlignValue,
2516 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
2529 CallInst *CreateAlignmentAssumption(const DataLayout &DL, Value *PtrValue,
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprObjC.cpp1016 const PointerType *PtrValue = ValueT->getAs<PointerType>(); in BuildObjCDictionaryLiteral() local
1017 if (!PtrValue || in BuildObjCDictionaryLiteral()
1018 !Context.hasSameUnqualifiedType(PtrValue->getPointeeType(), IdT)) { in BuildObjCDictionaryLiteral()