Lines Matching full:slang
17 #include "slang.h"
94 namespace slang {
105 bool Slang::GlobalInitialized = false;
108 clang::LangOptions Slang::LangOpts;
111 clang::CodeGenOptions Slang::CodeGenOpts;
115 const llvm::StringRef Slang::PragmaMetadataName = "#pragma";
138 void Slang::GlobalInitialization() {
166 void Slang::LLVMErrorHandler(void *UserData, const std::string &Message) {
172 void Slang::createDiagnostic() {
180 void Slang::createTarget(const std::string &Triple, const std::string &CPU,
199 void Slang::createFileManager() {
204 void Slang::createSourceManager() {
209 void Slang::createPreprocessor() {
244 void Slang::createASTContext() {
257 *Slang::createBackend(const clang::CodeGenOptions& CodeGenOpts,
268 Slang::Slang() : mInitialized(false), mDiagClient(NULL), mOT(OT_Default) {
273 void Slang::init(const std::string &Triple, const std::string &CPU,
290 bool Slang::setInputSource(llvm::StringRef InputFile,
310 bool Slang::setInputSource(llvm::StringRef InputFile) {
327 bool Slang::setOutput(const char *OutputFile) {
365 bool Slang::setDepOutput(const char *OutputFile) {
378 int Slang::generateDepFile() {
425 int Slang::compile() {
440 // The core of the slang compiler
459 void Slang::reset() {
466 Slang::~Slang() {
471 } // namespace slang