reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
729 AttrBuilder &addAttribute(Attribute::AttrKind Val);
1269 case lltok::kw_alwaysinline: B.addAttribute(Attribute::AlwaysInline); break; 1270 case lltok::kw_argmemonly: B.addAttribute(Attribute::ArgMemOnly); break; 1271 case lltok::kw_builtin: B.addAttribute(Attribute::Builtin); break; 1272 case lltok::kw_cold: B.addAttribute(Attribute::Cold); break; 1273 case lltok::kw_convergent: B.addAttribute(Attribute::Convergent); break; 1275 B.addAttribute(Attribute::InaccessibleMemOnly); break; 1277 B.addAttribute(Attribute::InaccessibleMemOrArgMemOnly); break; 1278 case lltok::kw_inlinehint: B.addAttribute(Attribute::InlineHint); break; 1279 case lltok::kw_jumptable: B.addAttribute(Attribute::JumpTable); break; 1280 case lltok::kw_minsize: B.addAttribute(Attribute::MinSize); break; 1281 case lltok::kw_naked: B.addAttribute(Attribute::Naked); break; 1282 case lltok::kw_nobuiltin: B.addAttribute(Attribute::NoBuiltin); break; 1283 case lltok::kw_noduplicate: B.addAttribute(Attribute::NoDuplicate); break; 1284 case lltok::kw_nofree: B.addAttribute(Attribute::NoFree); break; 1286 B.addAttribute(Attribute::NoImplicitFloat); break; 1287 case lltok::kw_noinline: B.addAttribute(Attribute::NoInline); break; 1288 case lltok::kw_nonlazybind: B.addAttribute(Attribute::NonLazyBind); break; 1289 case lltok::kw_noredzone: B.addAttribute(Attribute::NoRedZone); break; 1290 case lltok::kw_noreturn: B.addAttribute(Attribute::NoReturn); break; 1291 case lltok::kw_nosync: B.addAttribute(Attribute::NoSync); break; 1292 case lltok::kw_nocf_check: B.addAttribute(Attribute::NoCfCheck); break; 1293 case lltok::kw_norecurse: B.addAttribute(Attribute::NoRecurse); break; 1294 case lltok::kw_nounwind: B.addAttribute(Attribute::NoUnwind); break; 1296 B.addAttribute(Attribute::OptForFuzzing); break; 1297 case lltok::kw_optnone: B.addAttribute(Attribute::OptimizeNone); break; 1298 case lltok::kw_optsize: B.addAttribute(Attribute::OptimizeForSize); break; 1299 case lltok::kw_readnone: B.addAttribute(Attribute::ReadNone); break; 1300 case lltok::kw_readonly: B.addAttribute(Attribute::ReadOnly); break; 1302 B.addAttribute(Attribute::ReturnsTwice); break; 1303 case lltok::kw_speculatable: B.addAttribute(Attribute::Speculatable); break; 1304 case lltok::kw_ssp: B.addAttribute(Attribute::StackProtect); break; 1305 case lltok::kw_sspreq: B.addAttribute(Attribute::StackProtectReq); break; 1307 B.addAttribute(Attribute::StackProtectStrong); break; 1308 case lltok::kw_safestack: B.addAttribute(Attribute::SafeStack); break; 1310 B.addAttribute(Attribute::ShadowCallStack); break; 1312 B.addAttribute(Attribute::SanitizeAddress); break; 1314 B.addAttribute(Attribute::SanitizeHWAddress); break; 1316 B.addAttribute(Attribute::SanitizeMemTag); break; 1318 B.addAttribute(Attribute::SanitizeThread); break; 1320 B.addAttribute(Attribute::SanitizeMemory); break; 1322 B.addAttribute(Attribute::SpeculativeLoadHardening); 1324 case lltok::kw_strictfp: B.addAttribute(Attribute::StrictFP); break; 1325 case lltok::kw_uwtable: B.addAttribute(Attribute::UWTable); break; 1326 case lltok::kw_willreturn: B.addAttribute(Attribute::WillReturn); break; 1327 case lltok::kw_writeonly: B.addAttribute(Attribute::WriteOnly); break; 1634 case lltok::kw_inalloca: B.addAttribute(Attribute::InAlloca); break; 1635 case lltok::kw_inreg: B.addAttribute(Attribute::InReg); break; 1636 case lltok::kw_nest: B.addAttribute(Attribute::Nest); break; 1637 case lltok::kw_noalias: B.addAttribute(Attribute::NoAlias); break; 1638 case lltok::kw_nocapture: B.addAttribute(Attribute::NoCapture); break; 1639 case lltok::kw_nonnull: B.addAttribute(Attribute::NonNull); break; 1640 case lltok::kw_readnone: B.addAttribute(Attribute::ReadNone); break; 1641 case lltok::kw_readonly: B.addAttribute(Attribute::ReadOnly); break; 1642 case lltok::kw_returned: B.addAttribute(Attribute::Returned); break; 1643 case lltok::kw_signext: B.addAttribute(Attribute::SExt); break; 1644 case lltok::kw_sret: B.addAttribute(Attribute::StructRet); break; 1645 case lltok::kw_swifterror: B.addAttribute(Attribute::SwiftError); break; 1646 case lltok::kw_swiftself: B.addAttribute(Attribute::SwiftSelf); break; 1647 case lltok::kw_writeonly: B.addAttribute(Attribute::WriteOnly); break; 1648 case lltok::kw_zeroext: B.addAttribute(Attribute::ZExt); break; 1649 case lltok::kw_immarg: B.addAttribute(Attribute::ImmArg); break; 1730 case lltok::kw_inreg: B.addAttribute(Attribute::InReg); break; 1731 case lltok::kw_noalias: B.addAttribute(Attribute::NoAlias); break; 1732 case lltok::kw_nonnull: B.addAttribute(Attribute::NonNull); break; 1733 case lltok::kw_signext: B.addAttribute(Attribute::SExt); break; 1734 case lltok::kw_zeroext: B.addAttribute(Attribute::ZExt); break;lib/Bitcode/Reader/BitcodeReader.cpp
1324 B.addAttribute(I); 1618 B.addAttribute(Kind);lib/IR/Attributes.cpp
601 B.addAttribute(Kind); 1136 B.addAttribute(Kind); 1702 Incompatible.addAttribute(Attribute::SExt) 1703 .addAttribute(Attribute::ZExt); 1707 Incompatible.addAttribute(Attribute::ByVal) 1708 .addAttribute(Attribute::Nest) 1709 .addAttribute(Attribute::NoAlias) 1710 .addAttribute(Attribute::NoCapture) 1711 .addAttribute(Attribute::NonNull) 1714 .addAttribute(Attribute::ReadNone) 1715 .addAttribute(Attribute::ReadOnly) 1716 .addAttribute(Attribute::StructRet) 1717 .addAttribute(Attribute::InAlloca); 1759 OldSSPAttr.addAttribute(Attribute::StackProtect) 1760 .addAttribute(Attribute::StackProtectStrong) 1761 .addAttribute(Attribute::StackProtectReq);lib/IR/Verifier.cpp
3042 Copy.addAttribute(AK);
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp374 RetAttrs.addAttribute(Attribute::SExt); 375 RetAttrs.addAttribute(Attribute::ZExt); 376 RetAttrs.addAttribute(Attribute::NoAlias);lib/Target/X86/X86RetpolineThunks.cpp
209 B.addAttribute(llvm::Attribute::NoUnwind); 210 B.addAttribute(llvm::Attribute::Naked);lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
821 ReadOnlyNoneAttrs.addAttribute(Attribute::ReadOnly) 822 .addAttribute(Attribute::ReadNone);lib/Transforms/Instrumentation/MemorySanitizer.cpp
3280 B.addAttribute(Attribute::ReadOnly) 3281 .addAttribute(Attribute::ReadNone) 3282 .addAttribute(Attribute::WriteOnly) 3283 .addAttribute(Attribute::ArgMemOnly) 3284 .addAttribute(Attribute::Speculatable); 4600 B.addAttribute(Attribute::ReadOnly) 4601 .addAttribute(Attribute::ReadNone) 4602 .addAttribute(Attribute::WriteOnly) 4603 .addAttribute(Attribute::ArgMemOnly) 4604 .addAttribute(Attribute::Speculatable);lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
2393 R.addAttribute(Attribute::NoAlias);
tools/clang/lib/CodeGen/CGCall.cpp1687 FuncAttrs.addAttribute(llvm::Attribute::NoUnwind); 1696 FuncAttrs.addAttribute(llvm::Attribute::OptimizeForSize); 1698 FuncAttrs.addAttribute(llvm::Attribute::MinSize); 1702 FuncAttrs.addAttribute(llvm::Attribute::NoRedZone); 1706 FuncAttrs.addAttribute(llvm::Attribute::NoImplicitFloat); 1712 FuncAttrs.addAttribute(llvm::Attribute::NoBuiltin); 1785 FuncAttrs.addAttribute(llvm::Attribute::SpeculativeLoadHardening); 1794 FuncAttrs.addAttribute(llvm::Attribute::Convergent); 1799 FuncAttrs.addAttribute(llvm::Attribute::NoUnwind); 1828 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); 1841 FuncAttrs.addAttribute(llvm::Attribute::ReturnsTwice); 1843 FuncAttrs.addAttribute(llvm::Attribute::NoUnwind); 1845 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); 1847 FuncAttrs.addAttribute(llvm::Attribute::Cold); 1849 FuncAttrs.addAttribute(llvm::Attribute::NoDuplicate); 1851 FuncAttrs.addAttribute(llvm::Attribute::Convergent); 1860 FuncAttrs.addAttribute(llvm::Attribute::NoReturn); 1865 FuncAttrs.addAttribute(llvm::Attribute::ReadNone); 1866 FuncAttrs.addAttribute(llvm::Attribute::NoUnwind); 1868 FuncAttrs.addAttribute(llvm::Attribute::ReadOnly); 1869 FuncAttrs.addAttribute(llvm::Attribute::NoUnwind); 1871 FuncAttrs.addAttribute(llvm::Attribute::ArgMemOnly); 1872 FuncAttrs.addAttribute(llvm::Attribute::NoUnwind); 1875 RetAttrs.addAttribute(llvm::Attribute::NoAlias); 1878 RetAttrs.addAttribute(llvm::Attribute::NonNull); 1882 FuncAttrs.addAttribute(llvm::Attribute::NoCfCheck); 1903 FuncAttrs.addAttribute(llvm::Attribute::SpeculativeLoadHardening); 1915 FuncAttrs.addAttribute(llvm::Attribute::NonLazyBind); 1963 RetAttrs.addAttribute(llvm::Attribute::SExt); 1965 RetAttrs.addAttribute(llvm::Attribute::ZExt); 1969 RetAttrs.addAttribute(llvm::Attribute::InReg); 1996 RetAttrs.addAttribute(llvm::Attribute::NonNull); 2005 SRETAttrs.addAttribute(llvm::Attribute::StructRet); 2008 SRETAttrs.addAttribute(llvm::Attribute::InReg); 2016 Attrs.addAttribute(llvm::Attribute::InAlloca); 2035 llvm::AttrBuilder().addAttribute(llvm::Attribute::InReg)); 2045 Attrs.addAttribute(llvm::Attribute::SExt); 2047 Attrs.addAttribute(llvm::Attribute::ZExt); 2051 Attrs.addAttribute(llvm::Attribute::Nest); 2053 Attrs.addAttribute(llvm::Attribute::InReg); 2058 Attrs.addAttribute(llvm::Attribute::InReg); 2106 Attrs.addAttribute(llvm::Attribute::NonNull); 2117 Attrs.addAttribute(llvm::Attribute::StructRet); 2122 Attrs.addAttribute(llvm::Attribute::NoAlias); 2136 Attrs.addAttribute(llvm::Attribute::SwiftError); 2140 Attrs.addAttribute(llvm::Attribute::SwiftSelf); 2145 Attrs.addAttribute(llvm::Attribute::NoCapture);tools/clang/lib/CodeGen/CGExpr.cpp
2986 B.addAttribute(llvm::Attribute::NoReturn) 2987 .addAttribute(llvm::Attribute::NoUnwind); 2989 B.addAttribute(llvm::Attribute::UWTable);tools/clang/lib/CodeGen/CodeGenModule.cpp
1485 B.addAttribute(llvm::Attribute::UWTable); 1488 B.addAttribute(llvm::Attribute::NoUnwind); 1492 B.addAttribute(llvm::Attribute::StackProtect); 1494 B.addAttribute(llvm::Attribute::StackProtectStrong); 1496 B.addAttribute(llvm::Attribute::StackProtectReq); 1505 B.addAttribute(llvm::Attribute::NoInline); 1521 B.addAttribute(llvm::Attribute::OptimizeNone); 1524 B.addAttribute(llvm::Attribute::NoInline); 1531 B.addAttribute(llvm::Attribute::Naked); 1538 B.addAttribute(llvm::Attribute::Naked); 1539 B.addAttribute(llvm::Attribute::NoInline); 1541 B.addAttribute(llvm::Attribute::NoDuplicate); 1543 B.addAttribute(llvm::Attribute::NoInline); 1547 B.addAttribute(llvm::Attribute::AlwaysInline); 1552 B.addAttribute(llvm::Attribute::NoInline); 1570 B.addAttribute(llvm::Attribute::InlineHint); 1575 B.addAttribute(llvm::Attribute::NoInline); 1585 B.addAttribute(llvm::Attribute::OptimizeForSize); 1586 B.addAttribute(llvm::Attribute::Cold); 1590 B.addAttribute(llvm::Attribute::MinSize);unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
26 Context, AttrBuilder().addAttribute(Attribute::NoUnwind)); 30 AttrBuilder().addAttribute(Attribute::StructRet)), 31 AttributeSet::get(Context, AttrBuilder().addAttribute(Attribute::ByVal)),unittests/IR/AttributesTest.cpp
60 B.addAttribute(Attribute::NoReturn); 64 B.addAttribute(Attribute::SExt); 77 B_align_readonly.addAttribute(Attribute::ReadOnly); 82 B_stackalign_optnone.addAttribute(Attribute::OptimizeNone); 151 B.addAttribute(Attribute::NonNull);unittests/IR/InstructionsTest.cpp
530 AB.addAttribute(Attribute::ReadOnly); 549 AB.addAttribute(Attribute::Cold); 578 AB.addAttribute(Attribute::Cold);