Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.h131 Dereferenceable, enumerator
H A DIntrinsicEmitter.cpp494 case CodeGenIntrinsic::Dereferenceable: in getArgAttrEnumName()
539 Attr.Kind == CodeGenIntrinsic::Dereferenceable) in EmitAttributes()
H A DCodeGenIntrinsics.cpp441 addArgAttribute(ArgNo, Dereferenceable, Bytes); in setProperty()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp60 case Attribute::Dereferenceable: in isUsefullToPreserve()
88 case Attribute::Dereferenceable: in canonicalizedKnowledge()
258 addKnowledge({Attribute::Dereferenceable, DerefSize, Pointer}); in addAccessedPtr()
H A DInlineFunction.cpp1389 Attribute::Dereferenceable, Attribute::DereferenceableOrNull, in AddParamAndFnBasicAttributes()
1458 NewAB.removeAttribute(Attribute::Dereferenceable); in AddParamAndFnBasicAttributes()
1604 ValidUB.removeAttribute(Attribute::Dereferenceable); in AddReturnAttributes()
H A DCodeExtractor.cpp991 case Attribute::Dereferenceable: in constructFunctionDeclaration()
H A DSimplifyLibCalls.cpp283 CI->removeParamAttr(ArgNo, Attribute::Dereferenceable); in annotateDereferenceableBytes()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp247 return get(Context, Dereferenceable, Bytes); in getWithDereferenceableBytes()
448 assert(hasAttribute(Attribute::Dereferenceable) && in getDereferenceableBytes()
571 if (hasAttribute(Attribute::Dereferenceable)) in getAsString()
1345 if (auto A = findEnumAttribute(Attribute::Dereferenceable)) in getDereferenceableBytes()
2186 return addRawIntAttr(Attribute::Dereferenceable, Bytes); in addDereferenceableAttr()
2310 if (const MDNode *Dereferenceable = in addFromEquivalentMetadata() local
2313 mdconst::extract<ConstantInt>(Dereferenceable->getOperand(0)); in addFromEquivalentMetadata()
2422 .addAttribute(Attribute::Dereferenceable) in typeIncompatible()
2464 AM.addAttribute(Attribute::Dereferenceable); in getUBImplyingAttributes()
H A DInstruction.cpp566 CB->hasRetAttr(Attribute::Dereferenceable) || in hasUBImplyingAttrs()
H A DInstructions.cpp452 if (paramHasAttr(ArgNo, Attribute::Dereferenceable) && in paramHasNonNullAttr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp52 Ptr, {Attribute::Dereferenceable, Attribute::Alignment}, *AC, in isDereferenceableAndAlignedPointerViaAssumption()
58 if (RK.AttrKind == Attribute::Dereferenceable) in isDereferenceableAndAlignedPointerViaAssumption()
H A DValueTracking.cpp647 (RK.AttrKind == Attribute::Dereferenceable && in isKnownNonZeroFromAssume()
7583 A->hasAttribute(Attribute::Dereferenceable) || in isGuaranteedNotToBeUndefOrPoison()
7640 CB->hasRetAttr(Attribute::Dereferenceable) || in isGuaranteedNotToBeUndefOrPoison()
7987 CB->paramHasAttr(i, Attribute::Dereferenceable) || in handleGuaranteedWellDefinedOps()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp62 Attribute::Dereferenceable, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp599 for (const auto &Attr : {Attribute::Alignment, Attribute::Dereferenceable, in attributesPermitTailCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3801 Attribute Dereferenceable = Attrs.getParamAttr(0, Attribute::Dereferenceable); in tryToMoveFreeBeforeNullTest() local
3802 if (Dereferenceable.isValid()) { in tryToMoveFreeBeforeNullTest()
3803 uint64_t Bytes = Dereferenceable.getDereferenceableBytes(); in tryToMoveFreeBeforeNullTest()
3805 Attribute::Dereferenceable); in tryToMoveFreeBeforeNullTest()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h1169 return getRawIntAttr(Attribute::Dereferenceable).value_or(0);
H A DAttributes.td125 def Dereferenceable : IntAttr<"dereferenceable", IntersectMin, [ParamAttr, RetAttr]>;
H A DInstrTypes.h1732 paramHasAttr(ArgNo, Attribute::Dereferenceable) ||
H A DIntrinsics.td101 // Dereferenceable -- Return value or the specified argument is dereferenceable
103 class Dereferenceable<AttrIndex idx, int bytes> : IntrinsicProperty {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp602 case Attribute::Dereferenceable: in adjustArgAttributes()
H A DRewriteStatepointsForGC.cpp2887 R.addAttribute(Attribute::Dereferenceable); in getParamAndReturnAttributesToRemove()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp666 case Attribute::Dereferenceable: in getAttrKindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp2469 AttrKinds.push_back(Attribute::Dereferenceable); in isImpliedByIR()
2541 U, {Attribute::NonNull, Attribute::Dereferenceable})) { in getKnownNonNullAndDerefBytesForUse()
4944 {Attribute::Dereferenceable, Attribute::DereferenceableOrNull}, in initialize()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2114 return Attribute::Dereferenceable; in getAttrFromCode()
2379 else if (Kind == Attribute::Dereferenceable) in parseAttributeGroupBlock()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h4267 : public IRAttribute<Attribute::Dereferenceable,

12