Lines Matching refs:CG
150 LTOCodeGenerator *CG = unwrap(cg); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local
151 CG->setAttrs(codegen::getMAttrs()); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
155 CG->setOptLevel(OptLevel - '0'); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
156 CG->setFreestanding(EnableFreestanding); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
157 CG->setDisableVerify(DisableVerify); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
438 LibLTOCodeGenerator *CG = unwrap(cg); in lto_codegen_compile() local
439 CG->NativeObjectFile = CG->compile(); in lto_codegen_compile()
440 if (!CG->NativeObjectFile) in lto_codegen_compile()
442 *length = CG->NativeObjectFile->getBufferSize(); in lto_codegen_compile()
443 return CG->NativeObjectFile->getBufferStart(); in lto_codegen_compile()
453 LibLTOCodeGenerator *CG = unwrap(cg); in lto_codegen_compile_optimized() local
454 CG->NativeObjectFile = CG->compileOptimized(); in lto_codegen_compile_optimized()
455 if (!CG->NativeObjectFile) in lto_codegen_compile_optimized()
457 *length = CG->NativeObjectFile->getBufferSize(); in lto_codegen_compile_optimized()
458 return CG->NativeObjectFile->getBufferStart(); in lto_codegen_compile_optimized()