Home
last modified time | relevance | path

Searched refs:Dereferenceable (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DAssumeBundleQueriesTest.cpp98 Attribute::AttrKind::Dereferenceable, 16)); in TEST()
122 Attribute::AttrKind::Dereferenceable, 48)); in TEST()
164 Attribute::AttrKind::Dereferenceable, 48)); in TEST()
166 Attribute::AttrKind::Dereferenceable, 28)); in TEST()
172 Attribute::AttrKind::Dereferenceable, 4)); in TEST()
176 Attribute::AttrKind::Dereferenceable, 12)); in TEST()
203 Attribute::AttrKind::Dereferenceable, 48)); in TEST()
277 Map, Assume, {I->getOperand(0), Attribute::Dereferenceable}, {16, 16})); in TEST()
305 Map, Assume, {I->getOperand(0), Attribute::Dereferenceable}, in TEST()
355 Map, Assume, {I->getOperand(0), Attribute::Dereferenceable}, {48, 48})); in TEST()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp60 case Attribute::Dereferenceable: in isUsefullToPreserve()
88 case Attribute::Dereferenceable: in canonicalizedKnowledge()
259 addKnowledge({Attribute::Dereferenceable, DerefSize, Pointer}); in addAccessedPtr()
H A DCodeExtractor.cpp972 case Attribute::Dereferenceable: in constructFunction()
H A DSimplifyLibCalls.cpp228 CI->removeParamAttr(ArgNo, Attribute::Dereferenceable); in annotateDereferenceableBytes()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DAttributesTest.cpp41 Attribute Deref4 = Attribute::get(C, Attribute::Dereferenceable, 4); in TEST()
42 Attribute Deref5 = Attribute::get(C, Attribute::Dereferenceable, 5); in TEST()
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp177 return get(Context, Dereferenceable, Bytes); in getWithDereferenceableBytes()
341 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
419 if (hasAttribute(Attribute::Dereferenceable)) in getAsString()
903 if (auto A = findEnumAttribute(Attribute::Dereferenceable)) in getDereferenceableBytes()
1684 return addRawIntAttr(Attribute::Dereferenceable, Bytes); in addDereferenceableAttr()
1831 .addAttribute(Attribute::Dereferenceable) in typeIncompatible()
1863 AM.addAttribute(Attribute::Dereferenceable); in getUBImplyingAttributes()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp55 Attribute::Dereferenceable, in isValidForDXIL()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoads.cpp97 V, {Attribute::Dereferenceable, Attribute::Alignment}, nullptr, in isDereferenceableAndAlignedPointer()
103 if (RK.AttrKind == Attribute::Dereferenceable) in isDereferenceableAndAlignedPointer()
H A DValueTracking.cpp642 AttrKinds.push_back(Attribute::Dereferenceable); in isKnownNonZeroFromAssume()
5574 CB->paramHasAttr(i, Attribute::Dereferenceable)) in getGuaranteedWellDefinedOps()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DAnalysis.cpp583 for (const auto &Attr : {Attribute::Alignment, Attribute::Dereferenceable, in attributesPermitTailCall()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3026 Attribute Dereferenceable = Attrs.getParamAttr(0, Attribute::Dereferenceable); in tryToMoveFreeBeforeNullTest() local
3027 if (Dereferenceable.isValid()) { in tryToMoveFreeBeforeNullTest()
3028 uint64_t Bytes = Dereferenceable.getDereferenceableBytes(); in tryToMoveFreeBeforeNullTest()
3030 Attribute::Dereferenceable); in tryToMoveFreeBeforeNullTest()
H A DInstCombineCalls.cpp2895 Changed = !Call.hasRetAttr(Attribute::Dereferenceable); in annotateAnyAllocSite()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DAttributes.td93 def Dereferenceable : IntAttr<"dereferenceable", [ParamAttr, RetAttr]>;
H A DAttributes.h1113 return getRawIntAttr(Attribute::Dereferenceable);
H A DInstrTypes.h1701 paramHasAttr(ArgNo, Attribute::Dereferenceable) ||
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2787 R.addAttribute(Attribute::Dereferenceable); in getParamAndReturnAttributesToRemove()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp2215 U, {Attribute::NonNull, Attribute::Dereferenceable})) { in getKnownNonNullAndDerefBytesForUse()
2274 hasAttr({Attribute::NonNull, Attribute::Dereferenceable}, in initialize()
4138 getAttrs({Attribute::Dereferenceable, Attribute::DereferenceableOrNull}, in initialize()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h3681 : public IRAttribute<Attribute::Dereferenceable,
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp688 case Attribute::Dereferenceable: in getAttrKindEncoding()
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1901 return Attribute::Dereferenceable; in getAttrFromCode()
2100 else if (Kind == Attribute::Dereferenceable) in parseAttributeGroupBlock()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp687 case Attribute::Dereferenceable: in getAttrKindEncoding()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp1391 case Attribute::Dereferenceable: { in parseEnumAttribute()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp63 for (const auto &Attr : {Attribute::Alignment, Attribute::Dereferenceable, in isInTailCallPosition()