Lines Matching defs:cc
136 // Print out the error messages generated by CC if possible...
457 CC::FileType LLC::OutputCode(const std::string &Bitcode,
498 return UseIntegratedAssembler ? CC::ObjectFile : CC::AsmFile;
519 CC::FileType FileKind = OutputCode(Bitcode, OutputAsmFile, *Error, Timeout,
526 // Assuming LLC worked, compile the result with CC and run it.
527 return cc->ExecuteProgram(OutputAsmFile, Args, FileKind,
547 CC *cc = CC::create(Message, CCBinary, CCArgs);
548 if (!cc) {
553 return new LLC(LLCPath, cc, Args, UseIntegratedAssembler);
640 // CC abstraction
656 int CC::ExecuteProgram(const std::string &ProgramFile,
687 // it from cc flags
701 sys::fs::createUniqueFile(ProgramFile + "-%%%%%%%.cc.exe", OutputBinary);
708 // Add any arguments intended for CC. We locate them here because this is
724 outs() << "<CC>"; outs().flush();
805 int CC::MakeSharedObject(const std::string &InputFile, FileType fileType,
844 // bugpoint to just pass that in the environment of CC.
864 // Add any arguments intended for CC. We locate them here because this is
874 outs() << "<CC>"; outs().flush();
887 /// create - Try to find the CC executable
889 CC *CC::create(std::string &Message,
910 Message = "Found CC: " + *CCPath + "\n";
911 return new CC(*CCPath, RemoteClientPath, Args);