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

References

unittests/IR/AttributesTest.cpp
  123   AL2 = AL2.addParamAttributes(C, 0, B_align_readonly);
  123   AL2 = AL2.addParamAttributes(C, 0, B_align_readonly);
  124   AL2 = AL2.addAttributes(C, 0, B_stackalign_optnone);
  124   AL2 = AL2.addAttributes(C, 0, B_stackalign_optnone);
  126   AL2 = AL2.removeParamAttributes(C, 0, B_align);
  126   AL2 = AL2.removeParamAttributes(C, 0, B_align);
  127   EXPECT_FALSE(AL2.hasParamAttr(0, Attribute::Alignment));
  128   EXPECT_TRUE(AL2.hasParamAttr(0, Attribute::ReadOnly));
  129   EXPECT_TRUE(AL2.hasAttribute(0, Attribute::StackAlignment));
  130   EXPECT_TRUE(AL2.hasAttribute(0, Attribute::OptimizeNone));
  131   EXPECT_TRUE(AL2.getStackAlignment(0) == 32);
  133   AL2 = AL2.removeAttributes(C, 0, B_stackalign);
  133   AL2 = AL2.removeAttributes(C, 0, B_stackalign);
  134   EXPECT_FALSE(AL2.hasParamAttr(0, Attribute::Alignment));
  135   EXPECT_TRUE(AL2.hasParamAttr(0, Attribute::ReadOnly));
  136   EXPECT_FALSE(AL2.hasAttribute(0, Attribute::StackAlignment));
  137   EXPECT_TRUE(AL2.hasAttribute(0, Attribute::OptimizeNone));