/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 243 AttributeSet getAttributes() const { in setAttributes() 264 return getAttributes().hasAttribute("bss-section") || 265 getAttributes().hasAttribute("data-section") || 266 getAttributes().hasAttribute("relro-section") || in getCodeModel() 267 getAttributes().hasAttribute("rodata-section"); in getCodeModel() 228 AttributeSet getAttributes() const { getAttributes() function
|
H A D | InstrTypes.h | 1417 AttributeList getAttributes() const { return Attrs; } 1424 return getAttributes().getRetAttrs(); 1429 return getAttributes().getParamAttrs(ArgNo); 1439 AttributeList AL = getAttributes(); 1440 AttributeList ALOther = Other->getAttributes(); 1604 return getAttributes().getAttributeAtIndex(i, Kind); 1609 return getAttributes().getAttributeAtIndex(i, Kind); 1614 Attribute Attr = getAttributes().getFnAttr(Kind); 1622 Attribute A = getAttributes().getFnAttr(Kind); 1631 Attribute A = getAttributes() [all...] |
/llvm-project/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceAttributes.cpp | 58 AttributeSet AS = GV.getAttributes(); in visitGlobalVariable() 69 F.setAttributes(visitAttributeList(F.getAttributes())); in visitFunction() 73 CB.setAttributes(visitAttributeList(CB.getAttributes())); in visitCallBase() 78 visitAttributeSet(AL.getAttributes(Index), AttributesToPreserve); in visitAttributeIndex()
|
/llvm-project/llvm/lib/IR/ |
H A D | Attributes.cpp | 1665 CurBuilder.merge(AttrBuilder(C, List.getAttributes(I - 1))); in getAttributeAtIndex() 1675 AttributeSet Attrs = getAttributes(Index); 1725 AttrBuilder Merged(C, getAttributes(Index)); in getParamDereferenceableOrNullBytes() 1753 AttributeSet Attrs = getAttributes(Index); in getAttributes() function in AttributeList 1763 AttributeSet Attrs = getAttributes(Index); in hasParentContext() 1772 AttributeSet Attrs = getAttributes(Index); in end() 1839 getAttributes(Idx).intersectWith(C, Other.getAttributes(Idx)); in operator ()() 1857 return getAttributes(ArgNo + FirstArgIndex); in addAttributeImpl() 1861 return getAttributes(ReturnInde in addAttribute() [all...] |
H A D | TypeFinder.cpp | 59 incorporateAttributes(FI.getAttributes()); in run() 84 incorporateAttributes(CB->getAttributes()); in run()
|
H A D | Instruction.cpp | 509 AttributeSet RetAttrs = CB->getAttributes().getRetAttrs(); in dropUBImplyingAttrsAndMetadata() 537 AttributeList AL = CB->getAttributes(); in setHasNoInfs() 846 ? CB0->getAttributes() in hasSameSpecialState() 847 .intersectWith(CB0->getContext(), CB1->getAttributes()) in hasSameSpecialState() 849 : CB0->getAttributes() == CB1->getAttributes(); in hasSameSpecialState()
|
H A D | Function.cpp | 176 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr() 185 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr() 214 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize() 222 getParent()->getAttributes().getParamAttrs(getArgNo()); 290 return capturesNothing(getAttributes().getCaptureInfo()); in hasNoFreeAttr() 320 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory() 326 AttributeList AL = getParent()->getAttributes(); in addAttrs() 344 AttributeList AL = getParent()->getAttributes(); in removeAttrs() 361 AttributeSet Argument::getAttributes() const { 362 return getParent()->getAttributes() [all...] |
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64Arm64ECCallLowering.cpp | 511 getThunkType(F->getFunctionType(), F->getAttributes(), in buildEntryThunk() 579 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildEntryThunk() 580 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildEntryThunk() 615 getThunkType(F->getFunctionType(), F->getAttributes(), in buildGuestExitThunk() 652 Function *Thunk = buildExitThunk(F->getFunctionType(), F->getAttributes()); in buildGuestExitThunk() 672 auto SRetAttr = F->getAttributes().getParamAttr(0, Attribute::StructRet); in buildGuestExitThunk() 673 auto InRegAttr = F->getAttributes().getParamAttr(0, Attribute::InReg); in buildGuestExitThunk() 689 getThunkType(F->getFunctionType(), F->getAttributes(), in lowerCall() 711 buildExitThunk(F->getFunctionType(), F->getAttributes()); in lowerCall() 731 auto SRetAttr = F->getAttributes() in runOnModule() [all...] |
H A D | AArch64RegisterInfo.cpp | 95 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 129 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 188 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs() 267 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 313 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.cpp | 326 F.getAttributes().getAttributes(Index).getStackAlignment()) in getReqNTID() 344 I.getAttributes().getAttributes(Index).getStackAlignment()) in isKernelFunction()
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | ASTTests.cpp | 582 return getAttributes(DynTypedNode::create(findUnqualifiedDecl(AST, Name))); in TEST() 593 ASSERT_THAT(getAttributes(DynTypedNode::create(*FooIf)), in TEST() 595 ASSERT_THAT(getAttributes(DynTypedNode::create(*FooIf->getThen())), in TEST()
|
/llvm-project/clang/lib/CodeGen/ |
H A D | CGLoopInfo.h | 104 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function 231 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
|
/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILIntrinsicExpansion.cpp | 249 Exp2Call->setAttributes(Orig->getAttributes()); in expandClampIntrinsic() 319 Log2Call->setAttributes(Orig->getAttributes()); 377 Atan->setAttributes(Orig->getAttributes()); 426 Exp2Call->setAttributes(Orig->getAttributes());
|
/llvm-project/llvm/lib/Transforms/Utils/ |
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()
|
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 | LowerInvoke.cpp | 58 NewCall->setAttributes(II->getAttributes()); in runImpl()
|
/llvm-project/mlir/include/mlir/TableGen/ |
H A D | Operator.h | 174 llvm::iterator_range<const_attribute_iterator> getAttributes() const; 178 llvm::iterator_range<attribute_iterator> getAttributes();
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 193 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs() 497 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction() 498 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in surveyFunction() 751 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction() 902 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() 817 if (F->getAttributes().hasAttrSomewhere(Attribute::InAlloca)) in run()
|
/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 69 for (ParsedAttr &AL : DS.getAttributes()) { in ParseTypeName() 75 Attrs->takeOneFrom(DS.getAttributes(), AL); in ParseTypeName() 2013 for (ParsedAttr &AL : DS.getAttributes()) { in ParseDeclaration() 2021 DS.getAttributes().remove(AL); in ParseDeclaration() 3741 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers() 4253 ParseAttributes(PAKM_GNU | PAKM_Declspec, DS.getAttributes(), LateAttrs); in ParseDeclarationSpecifiers() 4261 DS.getAttributes().addNew(AttrName, AttrNameLoc, nullptr, AttrNameLoc, in ParseDeclarationSpecifiers() 4282 ParseMicrosoftTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers() 4286 ParseWebAssemblyFuncrefTypeAttribute(DS.getAttributes()); in ParseDeclarationSpecifiers() 4291 ParseBorlandTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers() [all...] |
/llvm-project/llvm/lib/Target/AArch64/Utils/ |
H A D | AArch64SMEAttributes.cpp | 48 *this = SMEAttrs(CB.getAttributes()); in SMEAttrs()
|
/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCGenScalarMASSEntries.cpp | 100 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
|
/llvm-project/flang/lib/Lower/ |
H A D | ConvertConstant.cpp | 384 builder.getArrayAttr(field.getAttributes())); in genStructureComponentInit() 406 builder.getArrayAttr(field.getAttributes())); in genStructureComponentInit() 446 builder.getArrayAttr(addrField.getAttributes())); in genStructureComponentInit() 448 loc, recTy, res, addr, builder.getArrayAttr(field.getAttributes())); in genStructureComponentInit() 456 loc, recTy, res, castVal, builder.getArrayAttr(field.getAttributes())); in genStructureComponentInit() 506 builder.getArrayAttr(field.getAttributes())); in genInlinedStructureCtorLitImpl()
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | AST.h | 183 std::vector<const Attr *> getAttributes(const DynTypedNode &);
|
/llvm-project/llvm/tools/bugpoint-passes/ |
H A D | TestPasses.cpp | 146 AttributeSet A = F.getAttributes().getFnAttrs(); in runOnFunction()
|