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

References

unittests/IR/FunctionTest.cpp
  146   EXPECT_EQ(MaybeAlign(), Func->getPointerAlignment(DataLayout("")));
  147   EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fi8")));
  148   EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fn8")));
  149   EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fi16")));
  150   EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fn16")));
  151   EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fi32")));
  152   EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fn32")));
  154   Func->setAlignment(Align(4));
  156   EXPECT_EQ(MaybeAlign(), Func->getPointerAlignment(DataLayout("")));
  157   EXPECT_EQ(Align(1), Func->getPointerAlignment(DataLayout("Fi8")));
  158   EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fn8")));
  159   EXPECT_EQ(Align(2), Func->getPointerAlignment(DataLayout("Fi16")));
  160   EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fn16")));
  161   EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fi32")));
  162   EXPECT_EQ(Align(4), Func->getPointerAlignment(DataLayout("Fn32")));