/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmtAsm.cpp | 199 if (AsmLabelAttr *Attr = Variable->getAttr<AsmLabelAttr>()) 200 if (Target.isValidGCCRegisterName(Attr->getLabel())) 201 return Target.getNormalizedGCCRegisterName(Attr->getLabel(), true);
|
H A D | SemaDeclAttr.cpp | 225 /// A helper function to provide Attribute Location for the Attr types 228 static typename std::enable_if<std::is_base_of<Attr, AttrInfo>::value, 308 static bool checkAttrMutualExclusion(Sema &S, Decl *D, const Attr &AL) { 363 /// Check if the argument \p ArgNum of \p Attr is a ASCII string literal. 1296 // S.Diag(Attr.getLoc(), diag::warn_return_state_for_unconsumable_type) << 2592 Attr *newAttr; 5928 const AMDGPUFlatWorkGroupSizeAttr &Attr) { 5935 if (!checkUInt32Argument(S, Attr, MinExpr, Min, 0)) 5939 if (!checkUInt32Argument(S, Attr, MaxExpr, Max, 1)) 5943 S.Diag(Attr 5927 checkAMDGPUFlatWorkGroupSizeArguments(Sema &S, Expr *MinExpr, Expr *MaxExpr, const AMDGPUFlatWorkGroupSizeAttr &Attr) argument 5976 checkAMDGPUWavesPerEUArguments(Sema &S, Expr *MinExpr, Expr *MaxExpr, const AMDGPUWavesPerEUAttr &Attr) argument [all...] |
H A D | SemaCUDA.cpp | 99 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 211 Attribute Attr = Callee->getFnAttribute(Attribute::AllocSize); 212 if (Attr == Attribute()) 215 std::pair<unsigned, Optional<unsigned>> Args = Attr.getAllocSizeArgs();
|
H A D | InlineCost.cpp | 286 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr); 1032 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { argument 1033 return CandidateCall.paramHasAttr(A->getArgNo(), Attr);
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Comment.h | 485 const Attribute &Attr = Attrs.back(); local 486 SourceLocation L = Attr.ValueRange.getEnd(); 490 Range.setEnd(Attr.getNameLocEnd());
|
H A D | JSONNodeDumper.h | 191 void Visit(const Attr *A);
|
H A D | TextNodeDumper.h | 158 void Visit(const Attr *A);
|
H A D | TypeLoc.h | 35 class Attr; 847 const Attr *TypeAttr; 873 const Attr *getAttr() const { 876 void setAttr(const Attr *A) {
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 315 if (const Attr *A = D->getDefiningAttr()) 944 if (const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>()) { 945 TLM = GetLLVMTLSModel(Attr->getModel()); 958 const CPUSpecificAttr *Attr, 963 if (Attr) 964 Out << getCPUSpecificMangling(CGM, Attr->getCPUName(CPUIndex)->getName()); 970 const TargetAttr *Attr, raw_ostream &Out) { 971 if (Attr->isDefaultVersion()) 977 Attr->parse([&Target](StringRef LHS, StringRef RHS) { 2323 auto Attr 957 AppendCPUSpecificCPUDispatchMangling(const CodeGenModule &CGM, const CPUSpecificAttr *Attr, unsigned CPUIndex, raw_ostream &Out) argument 969 AppendTargetMangling(const CodeGenModule &CGM, const TargetAttr *Attr, raw_ostream &Out) argument 2716 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); local [all...] |
H A D | CodeGenFunction.cpp | 25 #include "clang/AST/Attr.h" 738 for (auto Attr : D->specific_attrs<NoSanitizeAttr>()) { 739 SanitizerMask mask = Attr->getMask(); 824 if (const auto *Attr = D->getAttr<PatchableFunctionEntryAttr>()) { 825 Count = Attr->getCount(); 826 Offset = Attr->getOffset();
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 841 for (const auto &Attr : oldFunction->getAttributes().getFnAttributes()) { 842 if (Attr.isStringAttribute()) { 843 if (Attr.getKindAsString() == "thunk") 846 switch (Attr.getKindAsEnum()) { 921 newFunction->addFnAttr(Attr);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExprCXX.cpp | 1238 ParsedAttributes Attr(AttrFactory); 1250 for (const ParsedAttr &A : Attr) 1304 ParseParameterDeclarationClause(D.getContext(), Attr, ParamInfo, 1321 MaybeParseGNUAttributes(Attr, &DeclEndLoc); 1325 MaybeParseMicrosoftDeclSpecs(Attr, &DeclEndLoc); 1355 MaybeParseCXX11Attributes(Attr, &DeclEndLoc); 1389 std::move(Attr), DeclEndLoc); 1430 MaybeParseGNUAttributes(Attr, &DeclEndLoc); 1440 MaybeParseCXX11Attributes(Attr, &DeclEndLoc); 1470 std::move(Attr), DeclEndLo [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 357 ArrayRef<const Attr*> Attrs, 360 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(Attrs.size()), 368 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs),
|
H A D | TypeLoc.cpp | 16 #include "clang/AST/Attr.h" 421 const Attr *A = ATL.getAttr();
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | RetainSummaryManager.cpp | 17 #include "clang/AST/Attr.h" 42 static bool classof(const Attr *A) { 50 static bool classof(const Attr *A) { 58 static bool classof(const Attr *A) {
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfCompileUnit.cpp | 926 DwarfCompileUnit::getDwarf5OrGNUAttr(dwarf::Attribute Attr) const { 928 return Attr; 929 switch (Attr) {
|
H A D | AsmPrinter.cpp | 3027 MCSymbolAttr Attr = MCSA_Invalid; local 3033 Attr = MAI->getHiddenVisibilityAttr(); 3035 Attr = MAI->getHiddenDeclarationVisibilityAttr(); 3038 Attr = MAI->getProtectedVisibilityAttr(); 3042 if (Attr != MCSA_Invalid) 3043 OutStreamer->EmitSymbolAttribute(Sym, Attr); 3218 auto Attr = F.getFnAttribute("function-instrument"); local 3221 Attr.isStringAttribute() && Attr.getValueAsString() == "xray-always";
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | Dwarf.h | 594 /// for attribute Attr. 595 StringRef AttributeValueString(uint16_t Attr, unsigned Val);
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 1408 void addAttribute(unsigned i, Attribute Attr) { argument 1410 PAL = PAL.addAttribute(getContext(), i, Attr); 1423 void addParamAttr(unsigned ArgNo, Attribute Attr) { 1426 PAL = PAL.addParamAttribute(getContext(), ArgNo, Attr);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 2402 void writeAttribute(const Attribute &Attr, bool InAttrGroup = false); 3419 for (const Attribute &Attr : AS) { 3420 if (!Attr.isStringAttribute()) { 3422 AttrStr += Attr.getAsString(); 4139 void AssemblyWriter::writeAttribute(const Attribute &Attr, bool InAttrGroup) { argument 4140 if (!Attr.isTypeAttribute()) { 4141 Out << Attr.getAsString(InAttrGroup); 4145 assert(Attr.hasAttribute(Attribute::ByVal) && "unexpected type attr"); 4148 if (Type *Ty = Attr.getValueAsType()) { 4158 for (const auto &Attr [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineFunction.cpp | 276 Attribute Attr = F.getFnAttribute("denormal-fp-math"); local 281 StringRef Val = Attr.getValueAsString();
|
H A D | AtomicExpandPass.cpp | 1693 AttributeList Attr; local 1764 Attr = Attr.addAttribute(Ctx, AttributeList::ReturnIndex, Attribute::ZExt); 1776 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr); 1778 Call->setAttributes(Attr);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.h | 548 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) argument 549 : Loc(L), Ty(ty), Attrs(Attr), Name(N) {}
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 752 for (Attribute Attr : AS) { 753 if (Attr.isEnumAttribute()) { 755 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); 756 } else if (Attr.isIntAttribute()) { 758 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); 759 Record.push_back(Attr.getValueAsInt()); 760 } else if (Attr.isStringAttribute()) { 761 StringRef Kind = Attr.getKindAsString(); 762 StringRef Val = Attr.getValueAsString(); 772 assert(Attr [all...] |