Lines Matching defs:cc
137 // Print out the error messages generated by CC if possible...
458 CC::FileType LLC::OutputCode(const std::string &Bitcode,
499 return UseIntegratedAssembler ? CC::ObjectFile : CC::AsmFile;
520 CC::FileType FileKind = OutputCode(Bitcode, OutputAsmFile, *Error, Timeout,
527 // Assuming LLC worked, compile the result with CC and run it.
528 return cc->ExecuteProgram(OutputAsmFile, Args, FileKind,
548 CC *cc = CC::create(Message, CCBinary, CCArgs);
549 if (!cc) {
554 return new LLC(LLCPath, cc, Args, UseIntegratedAssembler);
641 // CC abstraction
657 int CC::ExecuteProgram(const std::string &ProgramFile,
688 // it from cc flags
702 sys::fs::createUniqueFile(ProgramFile + "-%%%%%%%.cc.exe", OutputBinary);
709 // Add any arguments intended for CC. We locate them here because this is
725 outs() << "<CC>"; outs().flush();
806 int CC::MakeSharedObject(const std::string &InputFile, FileType fileType,
845 // bugpoint to just pass that in the environment of CC.
865 // Add any arguments intended for CC. We locate them here because this is
875 outs() << "<CC>"; outs().flush();
888 /// create - Try to find the CC executable
890 CC *CC::create(std::string &Message,
911 Message = "Found CC: " + *CCPath + "\n";
912 return new CC(*CCPath, RemoteClientPath, Args);