/external/llvm-project/clang/lib/Frontend/ |
D | FrontendOptions.cpp | 15 InputKind FrontendOptions::getInputKindForExtension(StringRef Extension) { in getInputKindForExtension() 16 return llvm::StringSwitch<InputKind>(Extension) in getInputKindForExtension() 17 .Cases("ast", "pcm", InputKind(Language::Unknown, InputKind::Precompiled)) in getInputKindForExtension() 20 .Case("i", InputKind(Language::C).getPreprocessed()) in getInputKindForExtension() 21 .Case("ii", InputKind(Language::CXX).getPreprocessed()) in getInputKindForExtension() 22 .Case("cui", InputKind(Language::CUDA).getPreprocessed()) in getInputKindForExtension() 24 .Case("mi", InputKind(Language::ObjC).getPreprocessed()) in getInputKindForExtension() 26 .Case("mii", InputKind(Language::ObjCXX).getPreprocessed()) in getInputKindForExtension() 30 .Case("iim", InputKind(Language::CXX).getPreprocessed()) in getInputKindForExtension()
|
D | CompilerInvocation.cpp | 323 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK, in getOptimizationLevel() 812 static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, in ParseCodeGenArgs() 1899 static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args, in ParseFrontendArgs() 2110 InputKind DashX(Language::Unknown); in ParseFrontendArgs() 2123 DashX = llvm::StringSwitch<InputKind>(XValue) in ParseFrontendArgs() 2137 DashX = llvm::StringSwitch<InputKind>(XValue) in ParseFrontendArgs() 2144 DashX = llvm::StringSwitch<InputKind>(XValue) in ParseFrontendArgs() 2145 .Case("cpp-output", InputKind(Language::C).getPreprocessed()) in ParseFrontendArgs() 2148 InputKind(Language::Unknown, InputKind::Precompiled)) in ParseFrontendArgs() 2159 DashX = DashX.withFormat(InputKind::ModuleMap); in ParseFrontendArgs() [all …]
|
D | FrontendAction.cpp | 557 bool ReplayASTFile = Input.getKind().getFormat() == InputKind::Precompiled && in BeginSourceFile() 615 if (Kind.getFormat() == InputKind::ModuleMap) { in BeginSourceFile() 634 if (Input.getKind().getFormat() == InputKind::Precompiled) { in BeginSourceFile() 770 if (Input.getKind().getFormat() == InputKind::ModuleMap) { in BeginSourceFile()
|
D | ASTUnit.cpp | 1170 InputKind::Source && in Parse() 1588 InputKind::Source && in LoadFromCompilerInvocationAction() 2216 InputKind::Source && in CodeComplete() 2668 InputKind ASTUnit::getInputKind() const { in getInputKind() 2683 InputKind::Format Fmt = InputKind::Source; in getInputKind() 2685 Fmt = InputKind::ModuleMap; in getInputKind() 2690 return InputKind(Lang, Fmt, PP); in getInputKind()
|
D | ChainedIncludesSource.cpp | 120 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in createChainedIncludesSource()
|
D | CompilerInstance.cpp | 836 Input.getKind().getFormat() == InputKind::ModuleMap in InitializeSourceManager() 1215 InputKind IK(getLanguageFromOptions(ImportingInstance.getLangOpts()), in compileModule() 1216 InputKind::ModuleMap); in compileModule() 2085 InputKind(getLanguageFromOptions(*Invocation->getLangOpts()), in createModuleFromSource() 2086 InputKind::ModuleMap, /*Preprocessed*/true)); in createModuleFromSource()
|
/external/llvm-project/flang/include/flang/Frontend/ |
D | FrontendOptions.h | 61 class InputKind { 69 constexpr InputKind(Language l = Language::Unknown) : lang_(l) {} in lang_() 88 InputKind kind_; 92 FrontendInputFile(llvm::StringRef file, InputKind kind) in FrontendInputFile() 94 FrontendInputFile(const llvm::MemoryBuffer *buffer, InputKind kind) in FrontendInputFile() 97 InputKind kind() const { return kind_; } in kind() 140 static InputKind GetInputKindForExtension(llvm::StringRef extension);
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | FrontendOptions.h | 144 class InputKind { 158 constexpr InputKind(Language L = Language::Unknown, Format F = Source, 174 InputKind getPreprocessed() const { in getPreprocessed() 175 return InputKind(getLanguage(), getFormat(), true); in getPreprocessed() 178 InputKind withFormat(Format F) const { in withFormat() 179 return InputKind(getLanguage(), F, isPreprocessed()); in withFormat() 194 InputKind Kind; 201 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false) 203 FrontendInputFile(llvm::MemoryBufferRef Buffer, InputKind Kind, 207 InputKind getKind() const { return Kind; } in getKind() [all …]
|
D | CompilerInvocation.h | 181 static void setLangDefaults(LangOptions &Opts, InputKind IK,
|
D | FrontendAction.h | 151 InputKind getCurrentFileKind() const { in getCurrentFileKind()
|
D | ASTUnit.h | 73 class InputKind; variable 658 InputKind getInputKind() const;
|
/external/clang/include/clang/Frontend/ |
D | FrontendOptions.h | 63 enum InputKind { enum 91 InputKind Kind; 98 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false) 100 FrontendInputFile(llvm::MemoryBuffer *buffer, InputKind Kind, 104 InputKind getKind() const { return Kind; } in getKind() 292 static InputKind getInputKindForExtension(StringRef Extension);
|
D | CompilerInvocation.h | 160 static void setLangDefaults(LangOptions &Opts, InputKind IK,
|
D | FrontendAction.h | 139 InputKind getCurrentFileKind() const { in getCurrentFileKind()
|
/external/mesa3d/src/gallium/frontends/clover/llvm/ |
D | compat.hpp | 73 const clang::InputKind ik_opencl = clang::Language::OpenCL; 75 const clang::InputKind ik_opencl = clang::InputKind::OpenCL;
|
/external/llvm-project/flang/lib/Frontend/ |
D | CompilerInvocation.cpp | 81 static InputKind ParseFrontendArgs(FrontendOptions &opts, in ParseFrontendArgs() 112 InputKind dashX(Language::Unknown); in ParseFrontendArgs() 117 dashX = llvm::StringSwitch<InputKind>(XValue) in ParseFrontendArgs() 123 dashX = llvm::StringSwitch<InputKind>(XValue) in ParseFrontendArgs() 140 InputKind ik = dashX; in ParseFrontendArgs()
|
D | FrontendOptions.cpp | 14 InputKind FrontendOptions::GetInputKindForExtension(llvm::StringRef extension) { in GetInputKindForExtension() 15 return llvm::StringSwitch<InputKind>(extension) in GetInputKindForExtension()
|
/external/clang/lib/Frontend/ |
D | FrontendOptions.cpp | 14 InputKind FrontendOptions::getInputKindForExtension(StringRef Extension) { in getInputKindForExtension() 15 return llvm::StringSwitch<InputKind>(Extension) in getInputKindForExtension()
|
D | CompilerInvocation.cpp | 81 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK, in getOptimizationLevel() 420 static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, in ParseCodeGenArgs() 1068 static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args, in ParseFrontendArgs() 1282 InputKind DashX = IK_None; in ParseFrontendArgs() 1284 DashX = llvm::StringSwitch<InputKind>(A->getValue()) in ParseFrontendArgs() 1319 InputKind IK = DashX; in ParseFrontendArgs() 1471 void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, in setLangDefaults() 1606 static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, in ParseLangArgs() 2346 InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags); in CreateFromArgs()
|
D | ChainedIncludesSource.cpp | 122 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in createChainedIncludesSource()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 254 Filename, InputKind(Language::Unknown, InputKind::Precompiled)); in visitModuleFile() 283 if (Input.getKind().getFormat() == InputKind::ModuleMap) { in BeginSourceFileAction()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 70 InputKind IK = IK_CXX; // FIXME in onBodySynthesis()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 70 InputKind IK = Language::CXX; // FIXME in onBodySynthesis()
|
/external/llvm-project/polly/lib/External/isl/m4/ |
D | ax_detect_clang.m4 | 189 [IK_C=Language::C], [IK_C=InputKind::C]) 191 [Define to Language::C or InputKind::C for newer versions of clang])
|
/external/llvm-project/polly/lib/External/isl/interface/ |
D | isl_config.h.in | 90 /* Define to Language::C or InputKind::C for newer versions of clang */
|