Home | History | Annotate | Download | only in slang

Lines Matching full:slang

17 #include "slang.h"
93 namespace slang {
104 bool Slang::GlobalInitialized = false;
107 clang::LangOptions Slang::LangOpts;
110 clang::CodeGenOptions Slang::CodeGenOpts;
114 const llvm::StringRef Slang::PragmaMetadataName = "#pragma";
140 void Slang::GlobalInitialization() {
166 void Slang::LLVMErrorHandler(void *UserData, const std::string &Message) {
174 void Slang::createDiagnostic() {
184 void Slang::createTarget(const std::string &Triple, const std::string &CPU,
201 void Slang::createFileManager() {
206 void Slang::createSourceManager() {
210 void Slang::createPreprocessor() {
245 void Slang::createASTContext() {
257 Slang::createBackend(const clang::CodeGenOptions& CodeGenOpts,
263 Slang::Slang() : mInitialized(false), mDiagClient(NULL), mOT(OT_Default) {
267 void Slang::init(const std::string &Triple, const std::string &CPU,
282 clang::ModuleKey Slang::loadModule(clang::SourceLocation ImportLoc,
290 bool Slang::setInputSource(llvm::StringRef InputFile,
310 bool Slang::setInputSource(llvm::StringRef InputFile) {
327 bool Slang::setOutput(const char *OutputFile) {
363 bool Slang::setDepOutput(const char *OutputFile) {
376 int Slang::generateDepFile() {
423 int Slang::compile() {
438 // The core of the slang compiler
457 void Slang::reset() {
463 Slang::~Slang() {
467 } // namespace slang