Lines Matching refs:Slang
17 #include "slang.h"
99 namespace slang {
101 bool Slang::GlobalInitialized = false;
104 clang::LangOptions Slang::LangOpts;
107 clang::CodeGenOptions Slang::CodeGenOpts;
111 const llvm::StringRef Slang::PragmaMetadataName = "#pragma";
136 void Slang::GlobalInitialization() {
164 void Slang::LLVMErrorHandler(void *UserData, const std::string &Message,
173 void Slang::createTarget(uint32_t BitWidth) {
189 void Slang::createFileManager() {
194 void Slang::createSourceManager() {
198 void Slang::createPreprocessor() {
244 void Slang::createASTContext() {
255 Slang::createBackend(const clang::CodeGenOptions& CodeGenOpts,
261 Slang::Slang() : mInitialized(false), mDiagClient(NULL),
266 void Slang::init(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine,
284 clang::ModuleLoadResult Slang::loadModule(
293 bool Slang::setInputSource(llvm::StringRef InputFile,
313 bool Slang::setInputSource(llvm::StringRef InputFile) {
332 bool Slang::setOutput(const char *OutputFile) {
368 bool Slang::setDepOutput(const char *OutputFile) {
381 int Slang::generateDepFile() {
428 int Slang::compile() {
443 // The core of the slang compiler
462 void Slang::setDebugMetadataEmission(bool EmitDebug) {
469 void Slang::setOptimizationLevel(llvm::CodeGenOpt::Level OptimizationLevel) {
473 void Slang::reset(bool SuppressWarnings) {
488 Slang::~Slang() {
491 } // namespace slang