[DAGCombiner] Expand combining of FP logical ops to sign-setting FP ops
[llvm-core.git] / unittests / ExecutionEngine / Orc / OrcTestCommon.cpp
bloba12b1876e29c26efd1bebd51a550b7f5573ff990
1 //===--------- OrcTestCommon.cpp - Utilities for Orc Unit Tests -----------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Common utilities for Orc unit tests.
12 //===----------------------------------------------------------------------===//
14 #include "OrcTestCommon.h"
16 using namespace llvm;
18 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::FooAddr;
19 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::BarAddr;
20 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::BazAddr;
21 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::QuxAddr;
23 bool OrcNativeTarget::NativeTargetInitialized = false;
25 ModuleBuilder::ModuleBuilder(LLVMContext &Context, StringRef Triple,
26 StringRef Name)
27 : M(new Module(Name, Context)) {
28 if (Triple != "")
29 M->setTargetTriple(Triple);