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

Declarations

include/llvm/AsmParser/Parser.h
   63 std::unique_ptr<Module> parseAssemblyString(StringRef AsmString,

References

unittests/Analysis/AliasAnalysisTest.cpp
  216       : M(parseAssemblyString("define i32 @f(i32* %x, i32* %y) {\n"
unittests/Analysis/AliasSetTrackerTest.cpp
   55   auto M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/BlockFrequencyInfoTest.cpp
   54     return parseAssemblyString(ModuleStrig, Err, C);
unittests/Analysis/BranchProbabilityInfoTest.cpp
   43     return parseAssemblyString(ModuleString, Err, C);
unittests/Analysis/CFGTest.cpp
   34     M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/CGSCCPassManagerTest.cpp
  166   return parseAssemblyString(IR, Err, C);
unittests/Analysis/CaptureTrackingTest.cpp
   51   auto M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/DivergenceAnalysisTest.cpp
  113   std::unique_ptr<Module> M = parseAssemblyString(
  163   std::unique_ptr<Module> M = parseAssemblyString(
  217   std::unique_ptr<Module> M = parseAssemblyString(
  386   std::unique_ptr<Module> M = parseAssemblyString(
unittests/Analysis/DomTreeUpdaterTest.cpp
   26   std::unique_ptr<Module> M = parseAssemblyString(ModuleStr, Err, Context);
unittests/Analysis/GlobalsModRefTest.cpp
   31   auto M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/IVDescriptorsTest.cpp
   40   std::unique_ptr<Module> Mod = parseAssemblyString(IR, Err, C);
unittests/Analysis/LazyCallGraphTest.cpp
   27   std::unique_ptr<Module> M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/LoopInfoTest.cpp
   51   return parseAssemblyString(ModuleStr, Err, Context);
unittests/Analysis/OrderedBasicBlockTest.cpp
   32     auto foo = parseAssemblyString(ModuleString, Err, C);
unittests/Analysis/ProfileSummaryInfoTest.cpp
   90       return parseAssemblyString(
   94       return parseAssemblyString(formatv(ModuleString, "").str(), Err, C);
unittests/Analysis/ScalarEvolutionTest.cpp
  220   std::unique_ptr<Module> M = parseAssemblyString(
  481   std::unique_ptr<Module> M = parseAssemblyString(
 1461         parseAssemblyString("define i32 @test(i32 %limit) { "
 1501     std::unique_ptr<Module> M = parseAssemblyString(
 1579     std::unique_ptr<Module> M = parseAssemblyString(
 1650     std::unique_ptr<Module> M = parseAssemblyString(str, Err, C);
 1689   std::unique_ptr<Module> M = parseAssemblyString(
 1760         parseAssemblyString("define i32 @test(i32 %limit) { "
 1798     std::unique_ptr<Module> M = parseAssemblyString(
 1849     std::unique_ptr<Module> M = parseAssemblyString(
unittests/Analysis/TargetLibraryInfoTest.cpp
   33     M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/UnrollAnalyzerTest.cpp
   65   return parseAssemblyString(ModuleStr, Err, Context);
unittests/Analysis/ValueTrackingTest.cpp
   28     std::unique_ptr<Module> M = parseAssemblyString(Assembly, Error, Context);
  490   auto M = parseAssemblyString(Assembly, Error, Context);
unittests/Analysis/VectorUtilsTest.cpp
   31     M = parseAssemblyString(Assembly, Error, Context);
unittests/AsmParser/AsmParserTest.cpp
   26   auto Mod = parseAssemblyString(Source, Error, Ctx);
   40   EXPECT_DEATH(Mod = parseAssemblyString(Source.substr(0, Source.size() - 2),
   53   auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping);
   71   auto Mod = parseAssemblyString(Source, Error, Ctx);
  136   auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping);
  172   auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping);
  296   auto Mod = parseAssemblyString(Source, Error, Ctx, &Mapping);
unittests/Bitcode/BitReaderTest.cpp
   30   std::unique_ptr<Module> M = parseAssemblyString(Assembly, Error, Context);
unittests/CodeGen/AArch64SelectionDAGTest.cpp
   51     M = parseAssemblyString(Assembly, SMError, Context);
unittests/FuzzMutate/OperationsTest.cpp
   61   std::unique_ptr<Module> M = parseAssemblyString(Assembly, Error, Context);
unittests/FuzzMutate/RandomIRBuilderTest.cpp
   35   std::unique_ptr<Module> M = parseAssemblyString(Assembly, Error, Context);
unittests/FuzzMutate/StrategiesTest.cpp
   56   std::unique_ptr<Module> M = parseAssemblyString(Assembly, Error, Context);
unittests/IR/ConstantsTest.cpp
  401       parseAssemblyString("@g = global i32 42", Error, Context);
unittests/IR/DominatorTreeTest.cpp
   41   std::unique_ptr<Module> M = parseAssemblyString(ModuleStr, Err, Context);
unittests/IR/InstructionsTest.cpp
   34   std::unique_ptr<Module> Mod = parseAssemblyString(IR, Err, C);
unittests/IR/PassBuilderCallbacksTest.cpp
  267   return parseAssemblyString(IR, Err, C);
unittests/IR/PassManagerTest.cpp
  146   return parseAssemblyString(IR, Err, Context);
unittests/IR/UseTest.cpp
   39   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
   84   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
unittests/IR/UserTest.cpp
   67   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
unittests/IR/ValueTest.cpp
   37   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
  127   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
  202   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
  237   std::unique_ptr<Module> M = parseAssemblyString(ModuleString, Err, C);
unittests/Linker/LinkModulesTest.cpp
  191   std::unique_ptr<Module> M1 = parseAssemblyString(M1Str, Err, C);
  195   std::unique_ptr<Module> M2 = parseAssemblyString(M2Str, Err, C);
  252   std::unique_ptr<Module> Src = parseAssemblyString(SrcStr, Err, C);
  332   std::unique_ptr<Module> Foo = parseAssemblyString(FooStr, Err, C);
  340   std::unique_ptr<Module> Bar = parseAssemblyString(BarStr, Err, C);
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
  227   return parseAssemblyString(IR, Err, C);
unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
   22   std::unique_ptr<Module> Mod = parseAssemblyString(IR, Err, C);
unittests/Transforms/Utils/CloningTest.cpp
  374   std::unique_ptr<Module> Mod = parseAssemblyString(IR, Err, C);
  685   auto ImplModule = parseAssemblyString(ImplAssembly, Error, Context);
  692   auto DeclModule = parseAssemblyString(DeclAssembly, Error, Context);
unittests/Transforms/Utils/CodeExtractorTest.cpp
   35   std::unique_ptr<Module> M(parseAssemblyString(R"invalid(
   83   std::unique_ptr<Module> M(parseAssemblyString(R"invalid(
  134   std::unique_ptr<Module> M(parseAssemblyString(R"invalid(
  201   std::unique_ptr<Module> M(parseAssemblyString(R"invalid(
  236   std::unique_ptr<Module> M(parseAssemblyString(R"ir(
unittests/Transforms/Utils/LocalTest.cpp
  107   std::unique_ptr<Module> Mod = parseAssemblyString(IR, Err, C);
unittests/Transforms/Utils/SizeOptsTest.cpp
   49     M = parseAssemblyString(IRString, Err, C);
unittests/Transforms/Utils/UnrollLoopTest.cpp
   25   std::unique_ptr<Module> Mod = parseAssemblyString(IR, Err, C);
unittests/Transforms/Vectorize/VPlanTestBase.h
   38     M = parseAssemblyString(ModuleString, Err, *Ctx);