Home | History | Annotate | Download | only in Core

Lines Matching defs:Compiler

17 #include "bcc/Compiler.h"
51 const char *Compiler::GetErrorString(enum ErrorCode pErrCode) {
56 return "Invalid compiler config supplied (getTarget() returns nullptr.) "
64 "TargetMachine. (missing call to Compiler::config()?)";
83 // This assert should never be reached as the compiler verifies that the
92 Compiler::Compiler() : mTarget(nullptr), mEnableOpt(true) {
96 Compiler::Compiler(const CompilerConfig &pConfig) : mTarget(nullptr),
110 enum Compiler::ErrorCode Compiler::config(const CompilerConfig &pConfig) {
145 Compiler::~Compiler() {
151 // exact list of compiler passes.
152 enum Compiler::ErrorCode Compiler::runPasses(Script &pScript,
233 enum Compiler::ErrorCode Compiler::compile(Script &pScript,
295 enum Compiler::ErrorCode Compiler::compile(Script &pScript,
310 enum Compiler::ErrorCode err = compile(pScript, *out, IRStream);
318 bool Compiler::addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM) {
413 void Compiler::addInvokeHelperPass(llvm::legacy::PassManager &pPM) {
420 void Compiler::addDebugInfoPass(Script &pScript, llvm::legacy::PassManager &pPM) {
425 void Compiler::addExpandKernelPass(llvm::legacy::PassManager &pPM) {
431 void Compiler::addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM) {
439 void Compiler::addInvariantPass(llvm::legacy::PassManager &pPM) {
445 enum Compiler::ErrorCode Compiler::screenGlobalFunctions(Script &pScript) {
469 void Compiler::translateGEPs(Script &pScript) {