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

References

gen/lib/IR/AttributesCompatFunc.inc
   72     .Case("align", Attribute::Alignment)
  173     return llvm::Attribute::Alignment;
include/llvm/IR/IntrinsicInst.h
  415       removeParamAttr(ARG_DEST, Attribute::Alignment);
  464       BaseCL::removeParamAttr(ARG_SOURCE, Attribute::Alignment);
include/llvm/Transforms/IPO/Attributor.h
 1885     : public IRAttribute<Attribute::Alignment,
lib/AsmParser/LLParser.cpp
  144         FnAttrs.removeAttribute(Attribute::Alignment);
 5415     FuncAttrs.removeAttribute(Attribute::Alignment);
lib/Bitcode/Reader/BitcodeReader.cpp
 1237   case Attribute::Alignment:       return 31 << 16;
 1319       if (I == Attribute::Alignment)
 1416     return Attribute::Alignment;
 1623           if (Kind == Attribute::Alignment)
lib/Bitcode/Writer/BitcodeWriter.cpp
  600   case Attribute::Alignment:
lib/IR/AttributeImpl.h
  137     assert((Kind == Attribute::Alignment || Kind == Attribute::StackAlignment ||
lib/IR/Attributes.cpp
  147   return get(Context, Alignment, A.value());
  245   assert(hasAttribute(Attribute::Alignment) &&
  414   if (hasAttribute(Attribute::Alignment)) {
  781     case Attribute::Alignment:
  840     if (I.hasAttribute(Attribute::Alignment))
 1448   assert(Val != Attribute::Alignment && Val != Attribute::StackAlignment &&
 1464   if (Kind == Attribute::Alignment)
 1488   if (Val == Attribute::Alignment)
 1526   Attrs[Attribute::Alignment] = true;
lib/IR/Verifier.cpp
 3044   if (Attrs.hasParamAttribute(I, Attribute::Alignment))
lib/Transforms/IPO/Attributor.cpp
 2687     getAttrs({Attribute::Alignment}, Attrs);
lib/Transforms/Utils/CodeExtractor.cpp
  850       case Attribute::Alignment:
unittests/IR/AttributesTest.cpp
   35   Attribute Align4 = Attribute::get(C, Attribute::Alignment, 4);
   36   Attribute Align5 = Attribute::get(C, Attribute::Alignment, 5);
   89   AS = AS.removeAttribute(C, Attribute::Alignment);
   90   EXPECT_FALSE(AS.hasAttribute(Attribute::Alignment));
  105   EXPECT_TRUE(AL.hasParamAttr(0, Attribute::Alignment));
  109   AL = AL.removeParamAttribute(C, 0, Attribute::Alignment);
  110   EXPECT_FALSE(AL.hasParamAttr(0, Attribute::Alignment));
  117   EXPECT_FALSE(AL.hasParamAttr(0, Attribute::Alignment));
  127   EXPECT_FALSE(AL2.hasParamAttr(0, Attribute::Alignment));
  134   EXPECT_FALSE(AL2.hasParamAttr(0, Attribute::Alignment));