Lines Matching defs:Slang
17 #include "slang.h"
94 namespace slang {
125 const llvm::StringRef Slang::PragmaMetadataName = "#pragma";
151 void Slang::createTarget(uint32_t BitWidth) {
167 void Slang::createFileManager() {
172 void Slang::createSourceManager() {
176 void Slang::createPreprocessor() {
223 void Slang::createASTContext() {
232 Slang::createBackend(const RSCCOptions &Opts, const clang::CodeGenOptions &CodeGenOpts,
242 Slang::Slang(uint32_t BitWidth, clang::DiagnosticsEngine *DiagEngine,
275 Slang::~Slang() {
284 clang::ModuleLoadResult Slang::loadModule(
293 bool Slang::setInputSource(llvm::StringRef InputFile) {
312 bool Slang::setOutput(const char *OutputFile) {
346 bool Slang::setDepOutput(const char *OutputFile) {
359 int Slang::generateDepFile(bool PhonyTarget) {
408 int Slang::compile(const RSCCOptions &Opts) {
423 // The core of the slang compiler
440 void Slang::setDebugMetadataEmission(bool EmitDebug) {
447 void Slang::setOptimizationLevel(llvm::CodeGenOpt::Level OptimizationLevel) {
451 bool Slang::isFilterscript(const char *Filename) {
460 bool Slang::generateJavaBitcodeAccessor(const std::string &OutputPathBase,
477 bool Slang::checkODR(const char *CurInputFile) {
567 void Slang::initPreprocessor() {
577 void Slang::initASTContext() {
586 bool Slang::IsRSHeaderFile(const char *File) {
595 bool Slang::IsLocInRSHeaderFile(const clang::SourceLocation &Loc,
608 bool Slang::compile(
668 bool SuppressAllWarnings = (Opts.mOutputType != Slang::OT_Dependency);
694 if (Slang::compile(Opts) > 0)
709 if (Opts.mOutputType != Slang::OT_Dependency && doReflection) {
748 if ((Opts.mOutputType == Slang::OT_Bitcode) &&
788 } // namespace slang