| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 248 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 D | InstrTypes.h | 1424 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 D | Argument.h | 189 LLVM_ABI AttributeSet getAttributes() const;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Attributes.cpp | 1672 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 D | Function.cpp | 166 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 D | TypeFinder.cpp | 59 incorporateAttributes(FI.getAttributes()); in run() 84 incorporateAttributes(CB->getAttributes()); in run()
|
| H A D | Instruction.cpp | 508 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 D | PseudoProbe.cpp | 61 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Arm64ECCallLowering.cpp | 505 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 D | NVPTXUtilities.h | 70 return F.getAttributes().getAttributes(Index).getStackAlignment(); in getAlign()
|
| H A D | NVPTXUtilities.cpp | 247 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 D | CGLoopInfo.h | 104 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 D | LowerInvoke.cpp | 58 NewCall->setAttributes(II->getAttributes()); in runImpl()
|
| H A D | FunctionComparator.cpp | 128 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 D | CallPromotionUtils.cpp | 436 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 D | WebAssemblyFixFunctionBitcasts.cpp | 114 Wrapper->setAttributes(F->getAttributes()); in createWrapper() 205 Wrapper->setAttributes(F->getAttributes()); in createWrapper()
|
| H A D | WebAssemblyAddMissingPrototypes.cpp | 136 NewF->setAttributes(F.getAttributes()); in runOnModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 188 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 D | DeadArgumentElimination.cpp | 187 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 D | ArgumentPromotion.cpp | 130 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 D | SCCP.cpp | 201 F.setAttributes(UpdateAttrs(F.getAttributes())); in runIPSCCP() 207 CB->setAttributes(UpdateAttrs(CB->getAttributes())); in runIPSCCP()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 62 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 D | PPCGenScalarMASSEntries.cpp | 100 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | HardwareLoops.cpp | 505 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 D | HexagonOptimizeSZextends.cpp | 68 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
|