| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceAttributes.cpp | 68 const AttributeSet &AS = GV.getAttributes(); in visitGlobalVariable() 76 visitAttributeList(F.getAttributes(), FunctionsToRefine[&F]); in visitFunction() 80 visitAttributeList(I.getAttributes(), CallsToRefine[&I]); in visitCallBase() 90 visitAttributeSet(AL.getAttributes(AttributesToPreserve.first), in visitAttributeList() 118 visitAttributeSet(GV.getAttributes()); in visitGlobalVariable() 124 visitAttributeList(F.getAttributes()); in visitFunction() 127 void visitCallBase(CallBase &I) { visitAttributeList(I.getAttributes()); } in visitCallBase()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GlobalVariable.h | 222 AttributeSet getAttributes() const { in getAttributes() function 243 return getAttributes().hasAttribute("bss-section") || in hasImplicitSection() 244 getAttributes().hasAttribute("data-section") || in hasImplicitSection() 245 getAttributes().hasAttribute("relro-section") || in hasImplicitSection() 246 getAttributes().hasAttribute("rodata-section"); in hasImplicitSection()
|
| H A D | InstrTypes.h | 1474 AttributeList getAttributes() const { return Attrs; } 1606 return getAttributes().getAttributeAtIndex(i, Kind); 1611 return getAttributes().getAttributeAtIndex(i, Kind); 1616 Attribute Attr = getAttributes().getFnAttr(Kind); 1624 Attribute A = getAttributes().getFnAttr(Kind); 1633 return getAttributes().getParamAttr(ArgNo, Kind); 1639 return getAttributes().getParamAttr(ArgNo, Kind); 1737 return F->getAttributes().getRetAlignment(); 1755 return F->getAttributes().getParamByValType(ArgNo); 1773 return F->getAttributes().getParamInAllocaType(ArgNo); [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Attributes.cpp | 1224 AttributeSet Attrs = getAttributes(Index); in addAttributeAtIndex() 1266 AttrBuilder Merged(C, getAttributes(Index)); in addAttributesAtIndex() 1323 AttributeSet Attrs = getAttributes(Index); in removeAttributesAtIndex() 1381 return getAttributes(ArgNo + FirstArgIndex); in getParamAttrs() 1385 return getAttributes(ReturnIndex); in getRetAttrs() 1389 return getAttributes(FunctionIndex); in getFnAttrs() 1394 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex() 1398 return getAttributes(Index).hasAttribute(Kind); in hasAttributeAtIndex() 1402 return getAttributes(Index).hasAttributes(); in hasAttributesAtIndex() 1420 return getAttributes(Index).getAttribute(Kind); in getAttributeAtIndex() [all …]
|
| H A D | Instruction.cpp | 185 AttributeList AL = CB->getAttributes(); in dropUndefImplyingAttrsAndUnknownMetadata() 461 CI->getAttributes() == cast<CallInst>(I2)->getAttributes() && in haveSameSpecialState() 465 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes() && in haveSameSpecialState() 469 CI->getAttributes() == cast<CallBrInst>(I2)->getAttributes() && in haveSameSpecialState()
|
| H A D | TypeFinder.cpp | 59 incorporateAttributes(FI.getAttributes()); in run() 84 incorporateAttributes(CB->getAttributes()); in run()
|
| H A D | PseudoProbe.cpp | 53 Probe.Attr = II->getAttributes()->getZExtValue(); in extractProbe()
|
| H A D | Function.cpp | 141 AttributeList Attrs = getParent()->getAttributes(); in hasPassPointeeByValueCopyAttr() 150 AttributeList Attrs = getParent()->getAttributes(); in hasPointeeInMemoryValueAttr() 179 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPassPointeeByValueCopySize() 187 getParent()->getAttributes().getParamAttrs(getArgNo()); in getPointeeInMemoryValueType() 279 AttributeList Attrs = getParent()->getAttributes(); in onlyReadsMemory() 285 AttributeList AL = getParent()->getAttributes(); in addAttrs() 303 AttributeList AL = getParent()->getAttributes(); in removeAttrs() 409 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); in Function() 717 setAttributes(Src->getAttributes()); in copyAttributesFrom()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ASTTests.cpp | 581 return getAttributes(DynTypedNode::create(findUnqualifiedDecl(AST, Name))); in TEST() 592 ASSERT_THAT(getAttributes(DynTypedNode::create(*FooIf)), in TEST() 594 ASSERT_THAT(getAttributes(DynTypedNode::create(*FooIf->getThen())), in TEST()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGLoopInfo.h | 101 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() function 224 return hasInfo() ? getInfo().getAttributes().IsParallel : false; in getCurLoopParallel()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CallPromotionUtils.cpp | 431 CB.getAttributes().hasParamAttr(I, Attribute::ByVal)) { in isLegalToPromote() 437 CB.getAttributes().hasParamAttr(I, Attribute::InAlloca)) { in isLegalToPromote() 489 const AttributeList &CallerPAL = CB.getAttributes(); in promoteCall()
|
| H A D | LowerInvoke.cpp | 58 NewCall->setAttributes(II->getAttributes()); in runImpl()
|
| H A D | SimplifyLibCalls.cpp | 655 NewCI->setAttributes(CI->getAttributes()); in optimizeStrCpy() 689 NewCI->setAttributes(CI->getAttributes()); in optimizeStpCpy() 753 NewCI->setAttributes(CI->getAttributes()); in optimizeStrNCpy() 1444 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpy() 1500 NewCI->setAttributes(CI->getAttributes()); in optimizeMemPCpy() 1515 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMove() 1530 NewCI->setAttributes(CI->getAttributes()); in optimizeMemSet() 3608 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpyChk() 3622 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMoveChk() 3636 NewCI->setAttributes(CI->getAttributes()); in optimizeMemSetChk() [all …]
|
| H A D | FunctionComparator.cpp | 122 AttributeSet LAS = L.getAttributes(i); in cmpAttrs() 123 AttributeSet RAS = R.getAttributes(i); in cmpAttrs() 602 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations() 832 if (int Res = cmpAttrs(FnL->getAttributes(), FnR->getAttributes())) in compareSignature()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | DeadArgumentElimination.cpp | 185 AttributeList PAL = CB->getAttributes(); in deleteDeadVarargs() 491 if (F.getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in surveyFunction() 492 F.getAttributes().hasAttrSomewhere(Attribute::Preallocated)) { in surveyFunction() 737 const AttributeList &PAL = F->getAttributes(); in removeDeadStuffFromFunction() 874 const AttributeList &CallPAL = CB.getAttributes(); in removeDeadStuffFromFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCGenScalarMASSEntries.cpp | 101 MASSEntryStr, Func.getFunctionType(), Func.getAttributes()); in createScalarMASSCall()
|
| H A D | PPCLowerMASSVEntries.cpp | 146 MASSVEntryName, Func.getFunctionType(), Func.getAttributes()); in lowerMASSVCall()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpDefinitionsGen.cpp | 335 for (const NamedAttribute &namedAttr : op.getAttributes()) { in computeAttrMetadata() 580 for (const auto &namedAttr : op.getAttributes()) in populateSubstitutions() 791 for (const auto &namedAttr : emitHelper.getOp().getAttributes()) in genAttributeVerifier() 1005 for (const NamedAttribute &namedAttr : op.getAttributes()) { in genAttrGetters() 1016 auto derivedAttrs = make_filter_range(op.getAttributes(), in genAttrGetters() 1100 for (const NamedAttribute &namedAttr : op.getAttributes()) { in genAttrSetters() 1124 for (const NamedAttribute &namedAttr : op.getAttributes()) in genOptionalAttrRemovers() 1596 if (llvm::all_of(op.getAttributes(), [](const NamedAttribute &named) { in genPopulateDefaultAttributes() 1617 for (const NamedAttribute &namedAttr : op.getAttributes()) { in genPopulateDefaultAttributes() 2098 for (const auto &namedAttr : op.getAttributes()) { in genCodeForAddingArgAndRegionForBuilder() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.h | 168 std::vector<const Attr *> getAttributes(const DynTypedNode &);
|
| /llvm-project-15.0.7/llvm/tools/bugpoint-passes/ |
| H A D | TestPasses.cpp | 146 AttributeSet A = F.getAttributes().getFnAttrs(); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonOptimizeSZextends.cpp | 75 if (F.getAttributes().hasParamAttr(Idx, Attribute::SExt)) { in runOnFunction()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 1732 for (ParsedAttr &AL : DS.getAttributes()) { in stripTypeAttributesOffDeclSpec() 1740 DS.getAttributes().remove(AL); in stripTypeAttributesOffDeclSpec() 3738 ParseBorlandTypeAttributes(DS.getAttributes()); in ParseDeclarationSpecifiers() 3899 ParseAlignmentSpecifier(DS.getAttributes()); in ParseDeclarationSpecifiers() 4256 ParseOpenCLQualifiers(DS.getAttributes()); in ParseDeclarationSpecifiers() 5729 ParseOpenCLQualifiers(DS.getAttributes()); in ParseTypeQualifierListOpt() 5791 ParseGNUAttributes(DS.getAttributes()); in ParseTypeQualifierListOpt() 5940 std::move(DS.getAttributes()), in ParseDeclaratorInternal() 6642 for (ParsedAttr &attr : DS.getAttributes()) { in InitCXXThisScopeForDeclaratorIfRelevant() 7049 MaybeParseHLSLSemantics(DS.getAttributes()); in ParseParameterDeclarationClause() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/ODS/ |
| H A D | Operation.h | 162 ArrayRef<Attribute> getAttributes() const { return attributes; } in getAttributes() function
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAddMissingPrototypes.cpp | 137 NewF->setAttributes(F.getAttributes()); in runOnModule()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64RegisterInfo.cpp | 95 MF->getFunction().getAttributes().hasAttrSomewhere( in getCalleeSavedRegs() 131 MF->getFunction().getAttributes().hasAttrSomewhere( in getDarwinCalleeSavedRegs() 199 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 234 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|