Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 177) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalVariable.h248 AttributeSet getAttributes() const { in getAttributes() function
269 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection()
270 getAttributes().hasAttribute("data-section") || in hasImplicitSection()
271 getAttributes().hasAttribute("relro-section") || in hasImplicitSection()
272 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
H A DInstrTypes.h1424 AttributeList getAttributes() const { return Attrs; }
1431 return getAttributes().getRetAttrs();
1436 return getAttributes().getParamAttrs(ArgNo);
1446 AttributeList AL = getAttributes();
1447 AttributeList ALOther = Other->getAttributes();
1623 return getAttributes().getAttributeAtIndex(i, Kind);
1628 return getAttributes().getAttributeAtIndex(i, Kind);
1633 Attribute Attr = getAttributes().getFnAttr(Kind);
1641 Attribute A = getAttributes().getFnAttr(Kind);
1650 Attribute A = getAttributes().getParamAttr(ArgNo, Kind);
[all …]
H A DArgument.h189 LLVM_ABI AttributeSet getAttributes() const;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1672 CurBuilder.merge(AttrBuilder(C, List.getAttributes(I - 1))); in get()
1682 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex()
1732 AttrBuilder Merged(C, getAttributes(Index)); in addAttributesAtIndex()
1760 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1770 AttributeSet Attrs = getAttributes(Index); in removeAttributeAtIndex()
1779 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex()
1846 getAttributes(Idx).intersectWith(C, Other.getAttributes(Idx)); in intersectWith()
1864 return getAttributes(ArgNo + FirstArgIndex); in getParamAttrs()
1868 return getAttributes(ReturnIndex); in getRetAttrs()
1872 return getAttributes(FunctionIndex); in getFnAttrs()
[all …]
H A DFunction.cpp166 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr()
175 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr()
204 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize()
212 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPointeeInMemoryValueType()
280 return capturesNothing(getAttributes().getCaptureInfo()); in hasNoCaptureAttr()
310 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory()
316 AttributeList AL = getParent()->getAttributes(); in addAttrs()
334 AttributeList AL = getParent()->getAttributes(); in removeAttrs()
351 AttributeSet Argument::getAttributes() const { in getAttributes() function in Argument
352 return getParent()->getAttributes().getParamAttrs(getArgNo()); in getAttributes()
[all …]
H A DTypeFinder.cpp59 incorporateAttributes(FI.getAttributes()); in run()
84 incorporateAttributes(CB->getAttributes()); in run()
H A DInstruction.cpp508 AttributeSet RetAttrs = CB->getAttributes().getRetAttrs(); in hasPoisonGeneratingReturnAttributes()
536 AttributeList AL = CB->getAttributes(); in dropUBImplyingAttrsAndUnknownMetadata()
859 ? CB0->getAttributes() in hasSameSpecialState()
860 .intersectWith(CB0->getContext(), CB1->getAttributes()) in hasSameSpecialState()
862 : CB0->getAttributes() == CB1->getAttributes(); in hasSameSpecialState()
H A DPseudoProbe.cpp61 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp505 getThunkType(F->getFunctionType(), F->getAttributes(), in buildEntryThunk()
572 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildEntryThunk()
573 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildEntryThunk()
608 getThunkType(F->getFunctionType(), F->getAttributes(), in buildGuestExitThunk()
645 Function *Thunk = buildExitThunk(F->getFunctionType(), F->getAttributes()); in buildGuestExitThunk()
661 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildGuestExitThunk()
662 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildGuestExitThunk()
678 getThunkType(F->getFunctionType(), F->getAttributes(), in buildPatchableThunk()
700 buildExitThunk(F->getFunctionType(), F->getAttributes()); in buildPatchableThunk()
717 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildPatchableThunk()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.h70 return F.getAttributes().getAttributes(Index).getStackAlignment(); in getAlign()
H A DNVPTXUtilities.cpp247 const auto CI = Arg.getAttributes().getCaptureInfo(); in isParamGridConstant()
358 I.getAttributes().getAttributes(Index).getStackAlignment()) in getAlign()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGLoopInfo.h104 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function
234 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp58 NewCall->setAttributes(II->getAttributes()); in runImpl()
H A DFunctionComparator.cpp128 AttributeSet LAS = L.getAttributes(i); in cmpAttrs()
129 AttributeSet RAS = R.getAttributes(i); in cmpAttrs()
716 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations()
961 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
H A DCallPromotionUtils.cpp436 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote()
442 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote()
516 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp114 Wrapper->setAttributes(F->getAttributes()); in createWrapper()
205 Wrapper->setAttributes(F->getAttributes()); in createWrapper()
H A DWebAssemblyAddMissingPrototypes.cpp136 NewF->setAttributes(F.getAttributes()); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp188 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in checkFunctionMemoryAccess()
189 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) in checkFunctionMemoryAccess()
1018 if (F->getAttributes().hasAttrSomewhere(Attribute::Returned)) in addArgumentReturnedAttrs()
1285 CaptureInfo OrigCI = A.getAttributes().getCaptureInfo(); in addArgumentAttrs()
1343 CaptureInfo OrigCI = A->getAttributes().getCaptureInfo(); in addArgumentAttrs()
1375 CC |= CaptureComponents(A->getAttributes().getCaptureInfo()); in addArgumentAttrs()
1385 CaptureInfo OrigCI = A->getAttributes().getCaptureInfo(); in addArgumentAttrs()
1635 if (F->getAttributes().hasRetAttr(Attribute::NonNull)) in addNonNullAttrs()
1669 if (F->getAttributes().hasRetAttr(Attribute::NonNull) || in addNonNullAttrs()
1688 AttributeList Attrs = F->getAttributes(); in addNoUndefAttrs()
H A DDeadArgumentElimination.cpp187 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs()
491 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction()
492 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in surveyFunction()
743 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction()
894 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp130 AttributeList PAL = F->getAttributes(); in doPromotion()
203 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) { in doPromotion()
229 const AttributeList &CallPAL = CB.getAttributes(); in doPromotion()
816 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in promoteArguments()
H A DSCCP.cpp201 F.setAttributes(UpdateAttrs(F.getAttributes())); in runIPSCCP()
207 CB->setAttributes(UpdateAttrs(CB->getAttributes())); in runIPSCCP()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp62 for (ParsedAttr &AL : DS.getAttributes()) { in ParseTypeName()
68 Attrs->takeOneFrom(DS.getAttributes(), AL); in ParseTypeName()
1861 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec()
1869 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec()
3482 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers()
3995 ParseAttributes(PAKM_GNU | PAKM_Declspec, DS.getAttributes(), LateAttrs); in ParseDeclarationSpecifiers()
4003 DS.getAttributes().addNew(AttrName, AttrNameLoc, AttributeScopeInfo(), in ParseDeclarationSpecifiers()
4015 ParsePtrauthQualifier(DS.getAttributes()); in ParseDeclarationSpecifiers()
4029 ParseMicrosoftTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers()
4033 ParseWebAssemblyFuncrefTypeAttribute(DS.getAttributes()); in ParseDeclarationSpecifiers()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp100 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp505 if (BeginBB->getParent()->getAttributes().hasFnAttr(Attribute::StrictFP)) in InsertIterationSetup()
538 if (ExitBranch->getParent()->getParent()->getAttributes().hasFnAttr( in InsertLoopDec()
561 if (ExitBranch->getParent()->getParent()->getAttributes().hasFnAttr( in InsertLoopRegDec()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp68 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()

12345678