Home
last modified time | relevance | path

Searched refs:ModuleTriple (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/tools/clang-fuzzer/handle-llvm/
Dhandle_llvm.cpp104 Triple ModuleTriple(M->getTargetTriple()); in OptLLVM() local
106 codegen::InitTargetOptionsFromCodeGenFlags(ModuleTriple); in OptLLVM()
109 TargetRegistry::lookupTarget(codegen::getMArch(), ModuleTriple, E); in OptLLVM()
125 Passes.add(new TargetLibraryInfoWrapperPass(ModuleTriple)); in OptLLVM()
166 Triple ModuleTriple(M->getTargetTriple()); in CreateAndRunJITFunc() local
177 codegen::InitTargetOptionsFromCodeGenFlags(ModuleTriple)); in CreateAndRunJITFunc()
/external/llvm-project/llvm/tools/opt/
Dopt.cpp679 Triple ModuleTriple(M->getTargetTriple()); in main() local
683 codegen::InitTargetOptionsFromCodeGenFlags(ModuleTriple); in main()
685 if (ModuleTriple.getArch()) { in main()
688 Machine = GetTargetMachine(ModuleTriple, CPUStr, FeaturesStr, Options); in main()
689 } else if (ModuleTriple.getArchName() != "unknown" && in main()
690 ModuleTriple.getArchName() != "") { in main()
692 << ModuleTriple.getArchName() << "' provided.\n"; in main()
713 TargetLibraryInfoImpl TLII(ModuleTriple); in main()
/external/llvm/tools/opt/
Dopt.cpp431 Triple ModuleTriple(M->getTargetTriple()); in main() local
436 if (ModuleTriple.getArch()) { in main()
439 Machine = GetTargetMachine(ModuleTriple, CPUStr, FeaturesStr, Options); in main()
482 TargetLibraryInfoImpl TLII(ModuleTriple); in main()