#include "llvm/Transforms/Utils/CodeLayout.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include <vector> usingnamespacellvm; usingnamespacellvm::codelayout; ElementsAreArray; namespace { TEST(CodeLayout, ThreeFunctions) { … } TEST(CodeLayout, HotChain) { … } TEST(CodeLayout, BreakLoop) { … } } // namespace