reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Attributes.h
   36 class AttrBuilder;

References

include/llvm/CodeGen/CommandFlags.inc
  376     AttrBuilder NewAttrs;
include/llvm/IR/Argument.h
  115   void addAttrs(AttrBuilder &B);
include/llvm/IR/Attributes.h
  234   static AttributeSet get(LLVMContext &C, const AttrBuilder &B);
  268   removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
  388                            const AttrBuilder &B);
  409                                              const AttrBuilder &B) const;
  436                                                   const AttrBuilder &B) const {
  453       LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
  478       LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
  729   AttrBuilder &addAttribute(Attribute::AttrKind Val);
  732   AttrBuilder &addAttribute(Attribute A);
  735   AttrBuilder &addAttribute(StringRef A, StringRef V = StringRef());
  738   AttrBuilder &removeAttribute(Attribute::AttrKind Val);
  741   AttrBuilder &removeAttributes(AttributeList A, uint64_t WithoutIndex);
  744   AttrBuilder &removeAttribute(StringRef A);
  747   AttrBuilder &merge(const AttrBuilder &B);
  747   AttrBuilder &merge(const AttrBuilder &B);
  750   AttrBuilder &remove(const AttrBuilder &B);
  750   AttrBuilder &remove(const AttrBuilder &B);
  754   bool overlaps(const AttrBuilder &B) const;
  799   AttrBuilder &addAlignmentAttr(MaybeAlign Align);
  805   inline AttrBuilder &addAlignmentAttr(unsigned Align) {
  811   AttrBuilder &addStackAlignmentAttr(MaybeAlign Align);
  817   inline AttrBuilder &addStackAlignmentAttr(unsigned Align) {
  823   AttrBuilder &addDereferenceableAttr(uint64_t Bytes);
  827   AttrBuilder &addDereferenceableOrNullAttr(uint64_t Bytes);
  830   AttrBuilder &addAllocSizeAttr(unsigned ElemSizeArg,
  834   AttrBuilder &addByValAttr(Type *Ty);
  838   AttrBuilder &addAllocSizeAttrFromRawRepr(uint64_t RawAllocSizeRepr);
  865   bool operator==(const AttrBuilder &B);
  866   bool operator!=(const AttrBuilder &B) {
  874 AttrBuilder typeIncompatible(Type *Ty);
include/llvm/IR/Function.h
  368   void addAttributes(unsigned i, const AttrBuilder &Attrs);
  377   void addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs);
  386   void removeAttributes(unsigned i, const AttrBuilder &Attrs);
  395   void removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs);
lib/AsmParser/LLParser.cpp
  128     AttrBuilder B;
  135       AttrBuilder FnAttrs(AS.getFnAttributes());
  152       AttrBuilder FnAttrs(AS.getFnAttributes());
  160       AttrBuilder FnAttrs(AS.getFnAttributes());
  168       AttrBuilder FnAttrs(AS.getFnAttributes());
  175       AttrBuilder Attrs(GV->getAttributes());
 1142   AttrBuilder Attrs;
 1185 bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B,
 1580 bool LLParser::ParseStringAttribute(AttrBuilder &B) {
 1591 bool LLParser::ParseOptionalParamAttrs(AttrBuilder &B) {
 1694 bool LLParser::ParseOptionalReturnAttrs(AttrBuilder &B) {
 2456     AttrBuilder ArgAttrs;
 2575     AttrBuilder Attrs;
 5311   AttrBuilder RetAttrs;
 5374   AttrBuilder FuncAttrs;
 6040   AttrBuilder RetAttrs, FnAttrs;
 6351   AttrBuilder RetAttrs, FnAttrs;
 6761   AttrBuilder RetAttrs, FnAttrs;
lib/AsmParser/LLParser.h
  143     std::map<unsigned, AttrBuilder> NumberedAttrBuilders;
  265     bool ParseStringAttribute(AttrBuilder &B);
  275     bool ParseOptionalParamAttrs(AttrBuilder &B);
  276     bool ParseOptionalReturnAttrs(AttrBuilder &B);
  339     bool ParseFnAttributeValuePairs(AttrBuilder &B,
lib/Bitcode/Reader/BitcodeReader.cpp
 1306 static void addRawAttributeValue(AttrBuilder &B, uint64_t Val) {
 1332 static void decodeLLVMAttributesForBitcode(AttrBuilder &B,
 1391         AttrBuilder B;
 1605       AttrBuilder B;
lib/CodeGen/Analysis.cpp
  566   AttrBuilder CallerAttrs(F->getAttributes(), AttributeList::ReturnIndex);
  567   AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(),
lib/IR/AttributeImpl.h
  195   static AttributeSetNode *get(LLVMContext &C, const AttrBuilder &B);
lib/IR/Attributes.cpp
  589 AttributeSet AttributeSet::get(LLVMContext &C, const AttrBuilder &B) {
  600   AttrBuilder B;
  607   AttrBuilder B;
  620   AttrBuilder B(AS);
  630   AttrBuilder B(*this);
  638   AttrBuilder B(*this);
  644                                               const AttrBuilder &Attrs) const {
  645   AttrBuilder B(*this);
  768 AttributeSetNode *AttributeSetNode::get(LLVMContext &C, const AttrBuilder &B) {
 1081                                  const AttrBuilder &B) {
 1123     AttrBuilder CurBuilder;
 1135   AttrBuilder B;
 1143   AttrBuilder B;
 1150   AttrBuilder B;
 1156                                            const AttrBuilder &B) const {
 1177   AttrBuilder Merged(AttrSets[Index]);
 1196     AttrBuilder B(AttrSets[Index]);
 1232                                 const AttrBuilder &AttrsToRemove) const {
 1261   AttrBuilder B;
 1269   AttrBuilder B;
 1278   AttrBuilder B;
 1446 AttrBuilder &AttrBuilder::addAttribute(Attribute::AttrKind Val) {
 1455 AttrBuilder &AttrBuilder::addAttribute(Attribute Attr) {
 1479 AttrBuilder &AttrBuilder::addAttribute(StringRef A, StringRef V) {
 1484 AttrBuilder &AttrBuilder::removeAttribute(Attribute::AttrKind Val) {
 1504 AttrBuilder &AttrBuilder::removeAttributes(AttributeList A, uint64_t Index) {
 1509 AttrBuilder &AttrBuilder::removeAttribute(StringRef A) {
 1520 AttrBuilder &AttrBuilder::addAlignmentAttr(MaybeAlign Align) {
 1531 AttrBuilder &AttrBuilder::addStackAlignmentAttr(MaybeAlign Align) {
 1543 AttrBuilder &AttrBuilder::addDereferenceableAttr(uint64_t Bytes) {
 1551 AttrBuilder &AttrBuilder::addDereferenceableOrNullAttr(uint64_t Bytes) {
 1560 AttrBuilder &AttrBuilder::addAllocSizeAttr(unsigned ElemSize,
 1565 AttrBuilder &AttrBuilder::addAllocSizeAttrFromRawRepr(uint64_t RawArgs) {
 1576 AttrBuilder &AttrBuilder::addByValAttr(Type *Ty) {
 1582 AttrBuilder &AttrBuilder::merge(const AttrBuilder &B) {
 1582 AttrBuilder &AttrBuilder::merge(const AttrBuilder &B) {
 1610 AttrBuilder &AttrBuilder::remove(const AttrBuilder &B) {
 1610 AttrBuilder &AttrBuilder::remove(const AttrBuilder &B) {
 1638 bool AttrBuilder::overlaps(const AttrBuilder &B) const {
 1679 bool AttrBuilder::operator==(const AttrBuilder &B) {
 1697 AttrBuilder AttributeFuncs::typeIncompatible(Type *Ty) {
 1698   AttrBuilder Incompatible;
 1758   AttrBuilder OldSSPAttr;
lib/IR/Function.cpp
  175 void Argument::addAttrs(AttrBuilder &B) {
  393 void Function::addAttributes(unsigned i, const AttrBuilder &Attrs) {
  411 void Function::addParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) {
  429 void Function::removeAttributes(unsigned i, const AttrBuilder &Attrs) {
  447 void Function::removeParamAttrs(unsigned ArgNo, const AttrBuilder &Attrs) {
lib/IR/Verifier.cpp
 1656   AttrBuilder IncompatibleAttrs = AttributeFuncs::typeIncompatible(Ty);
 3034 static AttrBuilder getParameterABIAttributes(int I, AttributeList Attrs) {
 3039   AttrBuilder Copy;
 3082     AttrBuilder CallerABIAttrs = getParameterABIAttributes(I, CallerAttrs);
 3083     AttrBuilder CalleeABIAttrs = getParameterABIAttributes(I, CalleeAttrs);
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1723   AttrBuilder B;
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  373   AttrBuilder RetAttrs;
lib/Target/Mips/Mips16HardFloat.cpp
  485   AttrBuilder B;
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  415   AttrBuilder FnAttrs(InvokeAL.getFnAttributes());
lib/Target/X86/X86RetpolineThunks.cpp
  208   AttrBuilder B;
lib/Transforms/IPO/DeadArgumentElimination.cpp
  834   AttrBuilder RAttrs(PAL.getRetAttributes());
  886     AttrBuilder RAttrs(CallPAL.getRetAttributes());
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4453       AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex);
 4560   AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex);
 4578       AttrBuilder AB(CallerPAL.getParamAttributes(i));
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  356   AttrBuilder ReadOnlyNoneAttrs;
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3279         AttrBuilder B;
 4599   AttrBuilder B;
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1245   AttrBuilder FnAttrs = AL.getFnAttributes();
 2385   AttrBuilder R;
lib/Transforms/Utils/CallPromotionUtils.cpp
  413       AttrBuilder ArgAttrs(CallerPAL.getParamAttributes(ArgNo));
  433   AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex);
lib/Transforms/Utils/SimplifyLibCalls.cpp
  628     AttrBuilder ArgAttrs(CI->getAttributes().getParamAttributes(0));
tools/bugpoint/CrashDebugger.cpp
  352   AttrBuilder AB;
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3772       AttrBuilder B;
tools/clang/lib/CodeGen/CGCall.cpp
 1680                                                llvm::AttrBuilder &FuncAttrs,
 1692                                                llvm::AttrBuilder &FuncAttrs) {
 1814   llvm::AttrBuilder FuncAttrs;
 1823   llvm::AttrBuilder FuncAttrs;
 1824   llvm::AttrBuilder RetAttrs;
 2004     llvm::AttrBuilder SRETAttrs;
 2015     llvm::AttrBuilder Attrs;
 2027     llvm::AttrBuilder Attrs;
 2377                 llvm::AttrBuilder Attrs;
tools/clang/lib/CodeGen/CGExpr.cpp
 2984   llvm::AttrBuilder B;
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1482   llvm::AttrBuilder B;
 1657                                                 llvm::AttrBuilder &Attrs) {
 1727       llvm::AttrBuilder Attrs;
 3207     llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeList::FunctionIndex);
tools/clang/lib/CodeGen/CodeGenModule.h
 1388                                    llvm::AttrBuilder &AttrBuilder);
 1521                                   llvm::AttrBuilder &FuncAttrs);
tools/clang/lib/CodeGen/TargetInfo.cpp
  771         llvm::AttrBuilder B;
  777         llvm::AttrBuilder B;
 5740     llvm::AttrBuilder B;
unittests/IR/AttributesTest.cpp
   59   AttrBuilder B;
   75   AttrBuilder B_align_readonly;
   78   AttrBuilder B_align;
   80   AttrBuilder B_stackalign_optnone;
   83   AttrBuilder B_stackalign;
  150   AttrBuilder B;
unittests/IR/InstructionsTest.cpp
  529     AttrBuilder AB;
  548   AttrBuilder AB;
  577   AttrBuilder AB;
usr/include/c++/7.4.0/bits/stl_map.h
  103       typedef _Tp					mapped_type;
  104       typedef std::pair<const _Key, _Tp>		value_type;
usr/include/c++/7.4.0/bits/stl_pair.h
  209     : private __pair_base<_T1, _T2>
  212       typedef _T2 second_type;   /// @c second_type is the second bound type
  215       _T2 second;                /// @c second is a copy of the second object
  252       using _PCCP = _PCC<true, _T1, _T2>;
  260       constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  283 			    _T1, _T2>;
  311        constexpr pair(_U1&& __x, const _T2& __y)
  318        explicit constexpr pair(_U1&& __x, const _T2& __y)
  380 		       is_copy_assignable<_T2>>::value,
  391 		       is_move_assignable<_T2>>::value,