Home
last modified time | relevance | path

Searched refs:DereferenceableOrNull (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp253 return get(Context, DereferenceableOrNull, Bytes); in getWithDereferenceableOrNullBytes()
455 assert(hasAttribute(Attribute::DereferenceableOrNull) && in getDereferenceableOrNullBytes()
574 if (hasAttribute(Attribute::DereferenceableOrNull)) in getAsString()
1351 if (auto A = findEnumAttribute(Attribute::DereferenceableOrNull)) in getDereferenceableOrNullBytes()
2193 return addRawIntAttr(Attribute::DereferenceableOrNull, Bytes); in addDereferenceableOrNullAttr()
2317 if (const MDNode *DereferenceableOrNull = in addFromEquivalentMetadata() local
2320 mdconst::extract<ConstantInt>(DereferenceableOrNull->getOperand(0)); in addFromEquivalentMetadata()
2423 .addAttribute(Attribute::DereferenceableOrNull) in typeIncompatible()
2465 AM.addAttribute(Attribute::DereferenceableOrNull); in getUBImplyingAttributes()
H A DInstruction.cpp567 CB->hasRetAttr(Attribute::DereferenceableOrNull); in hasUBImplyingAttrs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp61 case Attribute::DereferenceableOrNull: in isUsefullToPreserve()
89 case Attribute::DereferenceableOrNull: { in canonicalizedKnowledge()
H A DInlineFunction.cpp1389 Attribute::Dereferenceable, Attribute::DereferenceableOrNull, in AddParamAndFnBasicAttributes()
1461 NewAB.removeAttribute(Attribute::DereferenceableOrNull); in AddParamAndFnBasicAttributes()
1607 ValidUB.removeAttribute(Attribute::DereferenceableOrNull); in AddReturnAttributes()
H A DCodeExtractor.cpp992 case Attribute::DereferenceableOrNull: in constructFunctionDeclaration()
H A DSimplifyLibCalls.cpp286 CI->removeParamAttr(ArgNo, Attribute::DereferenceableOrNull); in annotateDereferenceableBytes()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp63 Attribute::DereferenceableOrNull, in isValidForDXIL()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAnalysis.cpp600 Attribute::DereferenceableOrNull, Attribute::NoAlias, in attributesPermitTailCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h1175 return getRawIntAttr(Attribute::DereferenceableOrNull).value_or(0);
H A DAttributes.td128 def DereferenceableOrNull : IntAttr<"dereferenceable_or_null", IntersectMin,
H A DInstrTypes.h1734 paramHasAttr(ArgNo, Attribute::DereferenceableOrNull);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp603 case Attribute::DereferenceableOrNull: in adjustArgAttributes()
H A DRewriteStatepointsForGC.cpp2888 R.addAttribute(Attribute::DereferenceableOrNull); in getParamAndReturnAttributesToRemove()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPKinds.def648 EnumAttrInt(DereferenceableOrNull, 8))
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp7584 A->hasAttribute(Attribute::DereferenceableOrNull)) in isGuaranteedNotToBeUndefOrPoison()
7641 CB->hasRetAttr(Attribute::DereferenceableOrNull)) in isGuaranteedNotToBeUndefOrPoison()
7988 CB->paramHasAttr(i, Attribute::DereferenceableOrNull)) && in handleGuaranteedWellDefinedOps()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp668 case Attribute::DereferenceableOrNull: in getAttrKindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp4944 {Attribute::Dereferenceable, Attribute::DereferenceableOrNull}, in initialize()
5008 A.hasAttr(getIRPosition(), Attribute::DereferenceableOrNull)) { in manifest()
5009 A.removeAttrs(getIRPosition(), {Attribute::DereferenceableOrNull}); in manifest()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2116 return Attribute::DereferenceableOrNull; in getAttrFromCode()
2381 else if (Kind == Attribute::DereferenceableOrNull) in parseAttributeGroupBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp4073 Changed = !Call.hasRetAttr(Attribute::DereferenceableOrNull); in annotateAnyAllocSite()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp825 case Attribute::DereferenceableOrNull: in getAttrKindEncoding()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1594 case Attribute::DereferenceableOrNull: { in parseEnumAttribute()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp73 Attribute::DereferenceableOrNull, Attribute::NoAlias, in isInTailCallPosition()