/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstrFMA3Info.cpp | 23 #define FMA3GROUP(Name, Suf, Attrs) \ argument 27 FMA3GROUP(Name, Suf, Attrs) \ 32 FMA3GROUP(Name, Suf##Ym, Attrs) \ 33 FMA3GROUP(Name, Suf##Yr, Attrs) \ 40 FMA3GROUP(Name, Suf##m, Attrs) \ 41 FMA3GROUP(Name, Suf##r, Attrs) 48 FMA3GROUP(Name, Suf##Zm, Attrs) \ 52 FMA3GROUP(Name, Suf##m, Attrs) \ 54 FMA3GROUP(Name, Suf##r, Attrs) \ 62 FMA3GROUP_PACKED(Name, Attrs) \ [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGLoopInfo.cpp | 41 if (Attrs.PipelineDisabled) in createPipeliningMetadata() 91 Attrs.UnrollCount != 0) in createPartialUnrollMetadata() 118 if (Attrs.UnrollCount > 0) { in createPartialUnrollMetadata() 220 Attrs.InterleaveCount != 0 || Attrs.VectorizeWidth != 0 || in createLoopVectorizeMetadata() 431 if (Attrs.MustProgress) in createMetadata() 437 if (Attrs.IsParallel) { in createMetadata() 477 : Header(Header), Attrs(Attrs), StartLoc(StartLoc), EndLoc(EndLoc), in LoopInfo() 480 if (Attrs.IsParallel) { in LoopInfo() 486 if (!Attrs.IsParallel && Attrs.VectorizeWidth == 0 && in LoopInfo() 488 Attrs.InterleaveCount == 0 && Attrs.UnrollCount == 0 && in LoopInfo() [all …]
|
H A D | CGLoopInfo.h | 90 LoopInfo(llvm::BasicBlock *Header, const LoopAttributes &Attrs, 101 const LoopAttributes &getAttributes() const { return Attrs; } in getAttributes() 116 LoopAttributes Attrs; variable 152 createPipeliningMetadata(const LoopAttributes &Attrs, 156 createPartialUnrollMetadata(const LoopAttributes &Attrs, 160 createUnrollAndJamMetadata(const LoopAttributes &Attrs, 164 createLoopVectorizeMetadata(const LoopAttributes &Attrs, 168 createLoopDistributeMetadata(const LoopAttributes &Attrs, 172 createFullUnrollMetadata(const LoopAttributes &Attrs, 189 llvm::MDNode *createMetadata(const LoopAttributes &Attrs, [all …]
|
H A D | CGCall.cpp | 4497 return Attrs; in maybeRaiseRetAlignmentAttribute() 4499 return Attrs in maybeRaiseRetAlignmentAttribute() 4527 return Attrs; in TryEmitAsCallSiteAttribute() 4530 return Attrs; in TryEmitAsCallSiteAttribute() 5163 Attrs = in EmitCall() 5169 Attrs = in EmitCall() 5180 Attrs = in EmitCall() 5187 Attrs = in EmitCall() 5228 Attrs = in EmitCall() 5236 Attrs = AllocAlignAttrEmitter.TryEmitAsCallSiteAttribute(Attrs); in EmitCall() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeRecord.h | 41 uint16_t Attrs = 0; member 74 unsigned(Attrs) & in getFlags() 285 Attrs(Attrs) {} in PointerRecord() 348 uint32_t Attrs = 0; variable 725 : TypeRecord(TypeRecordKind::OneMethod), Type(Type), Attrs(Attrs), in OneMethodRecord() 745 MemberAttributes Attrs; variable 789 : TypeRecord(TypeRecordKind::DataMember), Attrs(Attrs), Type(Type), in DataMemberRecord() 813 : TypeRecord(TypeRecordKind::StaticDataMember), Attrs(Attrs), Type(Type), in StaticDataMemberRecord() 834 : TypeRecord(TypeRecordKind::Enumerator), Attrs(Attrs), in EnumeratorRecord() 868 : TypeRecord(TypeRecordKind::BaseClass), Attrs(Attrs), Type(Type), in BaseClassRecord() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-c-test/ |
H A D | attributes.c | 32 LLVMAttributeRef *Attrs = 0; in llvm_test_function_attributes() local 34 Attrs = in llvm_test_function_attributes() 36 assert(Attrs); in llvm_test_function_attributes() 38 LLVMGetAttributesAtIndex(F, Idx, Attrs); in llvm_test_function_attributes() 39 free(Attrs); in llvm_test_function_attributes() 67 LLVMAttributeRef *Attrs = 0; in llvm_test_callsite_attributes() local 69 Attrs = (LLVMAttributeRef *)malloc( in llvm_test_callsite_attributes() 71 assert(Attrs); in llvm_test_callsite_attributes() 73 LLVMGetCallSiteAttributes(I, Idx, Attrs); in llvm_test_callsite_attributes() 74 free(Attrs); in llvm_test_callsite_attributes()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 43 AttributeSet Attrs; variable 189 Attrs = Attrs.addAttribute(getContext(), Kind); in addAttribute() 194 Attrs = Attrs.addAttribute(getContext(), Kind, Val); 199 return Attrs.hasAttribute(Kind); in hasAttribute() 204 return Attrs.hasAttribute(Kind); in hasAttribute() 209 return Attrs.hasAttributes(); in hasAttributes() 214 return Attrs.getAttribute(Kind); in getAttribute() 219 return Attrs.getAttribute(Kind); in getAttribute() 224 return Attrs; in getAttributes() 233 std::pair<unsigned, AttributeSet> AS[1] = {{index, Attrs}}; in getAttributesAsList() [all …]
|
H A D | Attributes.h | 275 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); 407 ArrayRef<std::pair<unsigned, Attribute>> Attrs); 409 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs); 423 AttributeSet Attrs) const; 433 static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs); 556 auto Attrs = removeAttribute(C, ArgNo, Kind); 557 return Attrs.addAttribute(C, ArgNo, Attr.getWithNewType(C, ReplacementTy)); 805 std::bitset<Attribute::EndAttrKinds> Attrs; 837 Attrs[Val] = true; 869 return Attrs[A]; [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Attributes.cpp | 790 B.remove(Attrs); in removeAttributes() 907 SmallVector<Attribute, 8> SortedAttrs(Attrs.begin(), Attrs.end()); in get() 1212 if (Attrs.empty()) in get() 1249 if (Attrs.empty()) in get() 1268 MaxIndex = Attrs[Attrs.size() - 2].first; in get() 1386 SmallVector<Attribute, 8> NewAttrs(Attrs.begin(), Attrs.end()); in addAttribute() 1740 Attrs.reset(); in clear() 1981 Attrs |= B.Attrs; in merge() 2024 Attrs &= ~B.Attrs; in remove() 2034 if ((Attrs & B.Attrs).any()) in overlaps() [all …]
|
H A D | Verifier.cpp | 1722 for (Attribute A : Attrs) { in verifyAttributeTypes() 1766 if (!Attrs.hasAttributes()) in verifyParameterAttrs() 1772 Assert(Attrs.getNumAttributes() == 1, in verifyParameterAttrs() 1861 if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) { in verifyParameterAttrs() 1893 if (Attrs.isEmpty()) in verifyFunctionAttrs() 1897 Assert(Attrs.hasParentContext(Context), in verifyFunctionAttrs() 1899 for (const auto &AttrSet : Attrs) { in verifyFunctionAttrs() 2089 StringRef S = Attrs in verifyFunctionAttrs() 2099 StringRef S = Attrs in verifyFunctionAttrs() 2415 AttributeList Attrs = F.getAttributes(); in visitFunction() local [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeIndexDiscovery.cpp | 17 static inline MethodKind getMethodKind(uint16_t Attrs) { in getMethodKind() argument 18 Attrs &= uint16_t(MethodOptions::MethodKindMask); in getMethodKind() 19 Attrs >>= 2; in getMethodKind() 20 return MethodKind(Attrs); in getMethodKind() 23 static inline bool isIntroVirtual(uint16_t Attrs) { in isIntroVirtual() argument 24 MethodKind MK = getMethodKind(Attrs); in isIntroVirtual() 34 static inline bool isMemberPointer(uint32_t Attrs) { in isMemberPointer() argument 35 PointerMode Mode = getPointerMode(Attrs); in isMemberPointer() 88 if (LLVM_UNLIKELY(isIntroVirtual(Attrs))) in handleMethodOverloadList() 149 if (LLVM_UNLIKELY(isIntroVirtual(Attrs))) in handleOneMethod() [all …]
|
H A D | TypeRecordMapping.cpp | 125 std::string Attrs = getMemberAttributes( in operator ()() local 127 error(IO.mapInteger(Method.Attrs.Attrs, "Attrs: " + Attrs)); in operator ()() 618 std::string Attrs = getMemberAttributes( in visitKnownMember() local 620 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs)); in visitKnownMember() 629 std::string Attrs = getMemberAttributes( in visitKnownMember() local 631 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs)); in visitKnownMember() 642 std::string Attrs = getMemberAttributes( in visitKnownMember() local 644 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs)); in visitKnownMember() 681 std::string Attrs = getMemberAttributes( in visitKnownMember() local 683 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs)); in visitKnownMember() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 220 !(!Attrs.empty() && in ParseStatementOrDeclarationAfterAttributes() 248 ParseGNUAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 300 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 311 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 330 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 335 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 340 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 345 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 350 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() 355 ProhibitAttributes(Attrs); in ParseStatementOrDeclarationAfterAttributes() [all …]
|
H A D | ParseDecl.cpp | 54 if (Attrs) in ParseTypeName() 55 DS.addAttributes(*Attrs); in ParseTypeName() 547 return !Attrs.empty() ? Attrs.begin()->getNumArgs() : 0; in ParseClangAttributeArgs() 685 if (!Attrs.empty() && Attrs.begin()->getMaxArgs() && !NumArgs) { in ParseMicrosoftDeclSpecArgs() 1596 ParseCXX11Attributes(Attrs); in DiagnoseMisplacedCXX11Attribute() 1618 if (DiagnoseEmptyAttrs && Attrs.empty() && Attrs.Range.isValid()) { in ProhibitCXX11Attributes() 1634 Diag(Attrs.Range.getBegin(), DiagID) << Attrs.Range; in ProhibitCXX11Attributes() 1677 Attrs.addAtEnd(AL); in stripTypeAttributesOffDeclSpec() 1783 ProhibitAttributes(Attrs); in ParseSimpleDeclaration() 1800 DS.takeAttributesFrom(Attrs); in ParseSimpleDeclaration() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Parse/ |
H A D | Parser.h | 2565 ParsedAttributes *Attrs = nullptr); 2604 if (Attrs.Range.isInvalid()) 2607 Attrs.clear(); 2612 if (Attrs.Range.isInvalid()) 2615 Attrs.clearListOnly(); 2675 Attrs.takeAllFrom(AttrsWithRange); 2721 ParseGNUAttributes(Attrs, EndLoc, LateAttrs); 2722 Attrs.takeAllFrom(AttrsWithRange); 2743 void ParseGNUAttributes(ParsedAttributes &Attrs, 2749 Attrs.takeAllFrom(AttrsWithRange); [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIEHash.cpp | 116 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) { in collectAttributes() argument 125 Attrs.NAME = V; \ in collectAttributes() 329 void DIEHash::hashAttributes(const DIEAttrs &Attrs, dwarf::Tag Tag) { in hashAttributes() argument 332 if (Attrs.NAME) \ in hashAttributes() 333 hashAttribute(Attrs.NAME, Tag); \ in hashAttributes() 341 DIEAttrs Attrs = {}; in addAttributes() local 342 collectAttributes(Die, Attrs); in addAttributes() 343 hashAttributes(Attrs, Die.getTag()); in addAttributes()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGPrinter.cpp | 120 const std::string &Attrs = Graph->getGraphAttrs(N); in getNodeAttributes() local 121 if (!Attrs.empty()) { in getNodeAttributes() 122 if (Attrs.find("shape=") == std::string::npos) in getNodeAttributes() 123 return std::string("shape=Mrecord,") + Attrs; in getNodeAttributes() 125 return Attrs; in getNodeAttributes() 195 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) { in setGraphAttrs() argument 197 NodeGraphAttrs[N] = Attrs; in setGraphAttrs()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | ParsedAttr.cpp | 97 for (ParsedAttr *AL : cur.Attrs) in reclaimPool() 102 Attrs.insert(Attrs.end(), pool.Attrs.begin(), pool.Attrs.end()); in takePool() 103 pool.Attrs.clear(); in takePool()
|
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/ |
H A D | ClangAttrEmitter.cpp | 171 for (const auto *Attr : Attrs) { in getParsedAttrList() 2167 for (const auto &I : Attrs) { in emitClangAttrArgContextList() 2766 Attrs.push_back(Attr); in classifyAttr() 2776 return Attrs.front(); in getFirstAttr() 2780 if (!Attrs.empty()) in getLastAttr() 2781 return Attrs.back(); in getLastAttr() 2879 for (auto *Attr : Attrs) { in EmitClangAttrList() 3142 for (auto *R : Attrs) { in EmitClangAttrHasAttrImpl() 3922 for (auto I : Attrs) { in EmitClangAttrParsedAttrImpl() 3939 for (auto I = Attrs.begin(), E = Attrs.end(); I != E; ++I) { in EmitClangAttrParsedAttrImpl() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | Attributor.cpp | 175 if (Attrs.hasAttribute(AttrIdx, Kind)) in addIfNotExistent() 178 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent() 186 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent() 194 Attrs = Attrs.removeAttribute(Ctx, AttrIdx, Kind); in addIfNotExistent() 195 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr); in addIfNotExistent() 281 AttributeList Attrs; in manifestAttrs() local 289 Attrs = ScopeFn->getAttributes(); in manifestAttrs() 314 ScopeFn->setAttributes(Attrs); in manifestAttrs() 401 SmallVector<Attribute, 4> Attrs; in hasAttr() local 468 unsigned AttrsSize = Attrs.size(); in getAttrsFromAssumes() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | StratifiedSets.h | 54 AliasAttrs Attrs; member 228 return Link.Attrs; in getAttrs() 233 Link.Attrs |= Other; in setAttrs() 323 auto &CurrentBits = Links[CurrentIndex].Attrs; in propagateAttrs() 325 auto &NextBits = Links[NextIndex].Attrs; in propagateAttrs() 520 auto Attrs = Current->getAttrs(); in tryMergeUpwards() local 523 Attrs |= Current->getAttrs(); in tryMergeUpwards() 530 Upper->setAttrs(Attrs); in tryMergeUpwards()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 932 Attributes Attrs; in inferFrameworkModule() local 933 Attrs.IsSystem = IsSystem; in inferFrameworkModule() 996 Attrs.IsSystem |= inferred->second.Attrs.IsSystem; in inferFrameworkModule() 997 Attrs.IsExternC |= inferred->second.Attrs.IsExternC; in inferFrameworkModule() 998 Attrs.IsExhaustive |= inferred->second.Attrs.IsExhaustive; in inferFrameworkModule() 1934 Attributes Attrs; in parseModuleDecl() local 2006 if (Attrs.IsExternC) in parseModuleDecl() 2631 Attributes Attrs; in parseConfigMacros() local 2781 Attributes Attrs; in parseInferredModuleDecl() local 2793 Map.InferredDirectories[Directory].Attrs = Attrs; in parseInferredModuleDecl() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | AMDGPUMetadata.cpp | 92 struct MappingTraits<Kernel::Attrs::Metadata> { 93 static void mapping(IO &YIO, Kernel::Attrs::Metadata &MD) { in mapping() 94 YIO.mapOptional(Kernel::Attrs::Key::ReqdWorkGroupSize, in mapping() 96 YIO.mapOptional(Kernel::Attrs::Key::WorkGroupSizeHint, in mapping() 98 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping() 100 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping() 188 YIO.mapOptional(Kernel::Key::Attrs, MD.mAttrs); in mapping()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 158 const AttributeList &Attrs); 165 const AttributeList &Attrs); 172 IRBuilderBase &B, const AttributeList &Attrs); 179 IRBuilderBase &B, const AttributeList &Attrs); 208 Value *emitCalloc(Value *Num, Value *Size, const AttributeList &Attrs,
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
H A D | MinimalTypeDumper.cpp | 183 static std::string memberAttributes(const MemberAttributes &Attrs) { in memberAttributes() argument 185 std::string Access = memberAccess(Attrs.getAccess()); in memberAttributes() 186 std::string Kind = methodKind(Attrs.getMethodKind()); in memberAttributes() 191 MethodOptions Flags = Attrs.getFlags(); in memberAttributes() 481 M.Type, M.VFTableOffset, memberAttributes(M.Attrs)); in visitKnownRecord() 532 Method.VFTableOffset, memberAttributes(Method.Attrs)); in visitKnownMember() 546 Field.Type, Field.FieldOffset, memberAttributes(Field.Attrs)); in visitKnownMember() 553 memberAttributes(Field.Attrs)); in visitKnownMember() 568 memberAttributes(Base.Attrs)); in visitKnownMember() 578 P.formatLine("attrs = {0}", memberAttributes(Base.Attrs)); in visitKnownMember()
|