Home
last modified time | relevance | path

Searched refs:hasAttributes (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGlobalVariable.h207 bool hasAttributes() const { in hasAttributes() function
208 return Attrs.hasAttributes(); in hasAttributes()
230 if (!hasAttributes()) in getAttributesAsList()
H A DAttributes.h350 bool hasAttributes() const { return SetNode != nullptr; } in hasAttributes() function
1083 bool hasAttributes() const { return !Attrs.empty(); }
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp477 bool hasAttributes = false; in printName() local
484 hasAttributes = true; in printName()
507 os << (hasAttributes ? ", " : " ("); in printName()
509 hasAttributes = true; in printName()
512 os << (hasAttributes ? ", " : " ("); in printName()
514 hasAttributes = true; in printName()
519 hasAttributes = true; in printName()
524 hasAttributes = true; in printName()
529 hasAttributes = true; in printName()
544 hasAttributes = true; in printName()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DAttributes.cpp648 if (!hasAttributes()) in addAttributes()
651 if (!AS.hasAttributes()) in addAttributes()
772 assert(hasAttributes() && "empty AttributeSet doesn't refer to any context"); in hasParentContext()
1093 return !Pair.second.hasAttributes(); in get()
1118 if (ArgAttrs[I - 1].hasAttributes()) { in get()
1126 if (RetAttrs.hasAttributes()) in get()
1128 else if (FnAttrs.hasAttributes()) in get()
1153 if (!Attrs.hasAttributes()) in get()
1260 if (!B.hasAttributes()) in addAttributesAtIndex()
1402 return getAttributes(Index).hasAttributes(); in hasAttributesAtIndex()
[all …]
H A DAttributeImpl.h246 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes() function
H A DAsmWriter.cpp958 if (Attrs.hasAttributes()) in processModule()
989 if (FnAttrs.hasAttributes()) in processModule()
1030 if (Attrs.hasAttributes()) in processFunction()
1252 assert(AS.hasAttributes() && "Doesn't need a slot!"); in CreateAttributeSetSlot()
2706 if (Attrs.hasAttributes()) { in writeParamOperand()
3556 if (Attrs.hasAttributes()) in printGlobal()
3733 if (ArgAttrs.hasAttributes()) { in printFunction()
3822 if (Attrs.hasAttributes()) { in printArgument()
H A DVerifier.cpp1755 if (!Attrs.hasAttributes()) in verifyParameterAttrs()
1922 Check(!AttrSet.hasAttributes() || AttrSet.hasParentContext(Context), in verifyFunctionAttrs()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceAttributes.cpp69 if (AS.hasAttributes()) in visitGlobalVariable()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.h183 if (!Group.second.hasAttributes()) in getAttributeGroupID()
H A DDXILValueEnumerator.cpp398 if (GV.hasAttributes()) in ValueEnumerator()
1011 if (!AS.hasAttributes()) in EnumerateAttributes()
H A DDXILBitcodeWriter.cpp955 if (AS.hasAttributes()) in writeAttributeTable()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h183 if (!Group.second.hasAttributes()) in getAttributeGroupID()
H A DValueEnumerator.cpp360 if (GV.hasAttributes()) in ValueEnumerator()
1006 if (!AS.hasAttributes()) in EnumerateAttributes()
H A DBitcodeWriter.cpp855 if (AS.hasAttributes()) in writeAttributeTable()
1379 GV.hasComdat() || GV.hasAttributes() || GV.isDSOLocal() || in writeModuleInfo()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h794 bool hasAttributes() const { return !Attrs.empty(); } in hasAttributes() function
2567 bool hasAttributes() const { in hasAttributes() function
2569 getDeclSpec().hasAttributes()) in hasAttributes()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1223 if (!AB.hasAttributes()) in IdentifyValidAttributes()
1245 if (!Valid.hasAttributes()) in AddReturnAttributes()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp1287 if (Attrs.hasAttributes() || !FwdRefAttrGrps.empty()) { in parseGlobal()
1322 if (!R->second.hasAttributes()) in parseUnnamedAttrGrp()
2724 if (ArgList[i].Attrs.hasAttributes()) in parseFunctionType()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp2578 } else if (Specs == DeclSpec::PQ_None && !DS.hasAttributes()) { in ParseSpecifierQualifierList()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.cpp2597 if (Attrs.hasAttributes()) { in ConstructAttributeList()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp573 .hasAttributes()) in isLibCallInTailPosition()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp68 if (CallerAttrs.hasAttributes()) in isInTailCallPosition()