/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ModuleFileExtension.cpp | 14 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const { 15 return Code;
|
H A D | ASTWriterStmt.cpp | 35 serialization::StmtCode Code; member in class:clang::ASTStmtWriter 41 Code(serialization::STMT_NULL_PTR), AbbrevToUse(0) {} 46 assert(Code != serialization::STMT_NULL_PTR && 48 return Record.EmitStmt(Code, AbbrevToUse); 78 Code = serialization::STMT_NULL; 88 Code = serialization::STMT_COMPOUND; 107 Code = serialization::STMT_CASE; 113 Code = serialization::STMT_DEFAULT; 121 Code = serialization::STMT_LABEL; 130 Code [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Extract/ |
H A D | Extract.h | 24 /// \param Code The selected set of statements. 28 CodeRangeASTSelection Code, 34 ExtractFunction(CodeRangeASTSelection Code, Optional<std::string> DeclName) argument 35 : Code(std::move(Code)), 41 CodeRangeASTSelection Code; member in class:clang::tooling::final
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | CodeExpander.h | 33 StringRef Code; member in class:llvm::CodeExpander 40 CodeExpander(StringRef Code, const CodeExpansions &Expansions, argument 43 : Code(Code), Expansions(Expansions), Loc(Loc),
|
H A D | CodeExpander.cpp | 22 StringRef Current = Code; 61 size_t LocOffset = StartVar.data() - Code.data(); 71 size_t LocOffset = StartVar.data() - Code.data(); 85 size_t LocOffset = Current.data() - Code.data();
|
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangDataCollectorsEmitter.cpp | 12 auto Code = R.getValue("Code")->getValue(); local 13 OS << Code->getAsUnquotedString() << "}\n)";
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/ |
H A D | SortJavaScriptImports.h | 25 // Sort JavaScript ES6 imports/exports in ``Code``. The generated replacements 28 StringRef Code,
|
H A D | FormatInternal.h | 26 /// Reformats the given \p Ranges in the code fragment \p Code. 45 /// * \p FirstStartColumn specifies the column at which \p Code starts. 47 /// surrounding code. It is applied to the rest of the lines of \p Code. 49 /// \p Code should end, in case the last line is an empty line. 66 /// * P.second is the penalty induced by formatting the fragment \p Code. 73 reformat(const FormatStyle &Style, StringRef Code,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
H A D | Extract.cpp | 49 // Code from method that is defined in class body should be extracted to a 70 CodeRangeASTSelection Code, 75 if (!Code.isInFunctionLikeBodyOfCode()) 79 if (Code.size() == 1) { 81 if (isSimpleExpression(dyn_cast<Expr>(Code[0]))) 86 if (const auto *PRE = dyn_cast<ObjCPropertyRefExpr>(Code[0])) { 93 return ExtractFunction(std::move(Code), DeclName); 100 const Decl *ParentDecl = Code.getFunctionLikeNearestParent(); 104 SourceRange ExtractedRange(Code[0]->getBeginLoc(), 105 Code[Cod 69 initiate(RefactoringRuleContext &Context, CodeRangeASTSelection Code, Optional<std::string> DeclName) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Testing/Support/ |
H A D | Annotations.cpp | 19 static void require(bool Assertion, const char *Msg, llvm::StringRef Code) { argument 21 llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n"; local 33 Code.reserve(Text.size()); 36 Points[Name.getValueOr("")].push_back(Code.size()); 41 OpenRanges.emplace_back(Name.getValueOr(""), Code.size()); 50 R.End = Code.size(); 60 Code.push_back(Text.front()); 70 "expected exactly one point", Code); 82 "expected exactly one range", Code);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MCA/ |
H A D | CodeEmitter.h | 44 SmallString<256> Code; member in class:llvm::mca::CodeEmitter 49 // is an index to the `Code`. Length (i.e. second) is the encoding size. 60 : STI(ST), MAB(AB), MCE(CE), VecOS(Code), Sequence(S), 65 return StringRef(&Code[EI.first], EI.second);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamError.h | 39 stream_error_code getErrorCode() const { return Code; } 43 stream_error_code Code; member in class:llvm::BinaryStreamError
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/ |
H A D | CodeEmitter.cpp | 30 EI.first = Code.size(); 32 EI.second = Code.size() - EI.first;
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | TestModuleFileExtension.cpp | 95 llvm::hash_code Code) const { 97 Code = llvm::hash_combine(Code, BlockName); 98 Code = llvm::hash_combine(Code, MajorVersion); 99 Code = llvm::hash_combine(Code, MinorVersion); 100 Code = llvm::hash_combine(Code, UserInfo); 103 return Code; [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Parser.h | 190 static bool parseExpression(StringRef &Code, Sema *S, 193 static bool parseExpression(StringRef &Code, Sema *S, VariantValue *Value, argument 195 return parseExpression(Code, S, nullptr, Value, Error); 197 static bool parseExpression(StringRef &Code, VariantValue *Value, argument 199 return parseExpression(Code, nullptr, Value, Error); 214 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S, 217 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S) { argument 218 return completeExpression(Code, CompletionOffset, S, nullptr); 221 completeExpression(StringRef &Code, unsigned CompletionOffset) { argument 222 return completeExpression(Code, CompletionOffse [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | ByteCodeEmitter.cpp | 74 Func->setCode(NextLocalOffset, std::move(Code), std::move(SrcMap), 88 const size_t Target = Code.size(); 96 void *Location = Code.data() + Reloc - sizeof(int32_t); 106 const int64_t Position = Code.size() + sizeof(Opcode) + sizeof(int32_t); 131 if (Code.size() + Size > std::numeric_limits<unsigned>::max()) { 135 Code.insert(Code.end(), Data, Data + Size); 142 SrcMap.emplace_back(Code.size(), SI);
|
H A D | Function.cpp | 24 CodePtr Function::getCodeBegin() const { return Code.data(); } 26 CodePtr Function::getCodeEnd() const { return Code.data() + Code.size(); }
|
/freebsd-11-stable/contrib/llvm-project/lld/include/lld/Core/ |
H A D | SharedLibraryAtom.h | 22 Code, member in class:lld::SharedLibraryAtom::Type
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CmpInstAnalysis.h | 54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 70 : Code(MatcherCode), StartOfLine(MatcherCode), Error(Error) { 76 : Code(MatcherCode), StartOfLine(MatcherCode), Error(Error), 112 if (CodeCompletionLocation && CodeCompletionLocation <= Code.data()) { 119 if (Code.empty()) { 125 switch (Code[0]) { 127 Code = Code.drop_until([](char c) { return c == '\n'; }); 131 Result.Text = Code.substr(0, 1); 132 Code = Code 313 StringRef &Code; member in class:clang::ast_matchers::dynamic::Parser::CodeTokenizer 660 parseExpression(StringRef &Code, Sema *S, const NamedValueMap *NamedValues, VariantValue *Value, Diagnostics *Error) argument 676 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S, const NamedValueMap *NamedValues) argument 696 parseMatcherExpression(StringRef &Code, Sema *S, const NamedValueMap *NamedValues, Diagnostics *Error) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
H A D | HeaderIncludes.cpp | 39 StringRef FileName, StringRef Code, const IncludeStyle &Style, 42 SourceManagerForFile VirtualSM(FileName, Code); 80 StringRef Code, 89 FileName, Code, Style, 155 unsigned getMaxHeaderInsertionOffset(StringRef FileName, StringRef Code, argument 158 FileName, Code, Style, 235 HeaderIncludes::HeaderIncludes(StringRef FileName, StringRef Code, 237 : FileName(FileName), Code(Code), FirstIncludeOffset(-1), 239 getOffsetAfterHeaderGuardsAndComments(FileName, Code, Styl 38 getOffsetAfterTokenSequence( StringRef FileName, StringRef Code, const IncludeStyle &Style, llvm::function_ref<unsigned(const SourceManager &, Lexer &, Token &)> GetOffsetAfterSequence) argument 79 getOffsetAfterHeaderGuardsAndComments(StringRef FileName, StringRef Code, const IncludeStyle &Style) argument [all...] |
/freebsd-11-stable/contrib/byacc/test/ |
H A D | btyacc_demo.y | 16 typedef int Code; 43 Code *code; 209 extern void finish_fn_def(Decl *fn_decl, Code *block); 224 extern Code * build_expr_code(Expr *expr); 225 extern Code * build_if(Expr *cond_expr, Code *then_stmt, Code *else_stmt); 226 extern Code * code_append(Code *stmt_list, Code *stm [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ISDOpcodes.h | 1080 inline bool isSignedIntSetCC(CondCode Code) { argument 1081 return Code == SETGT || Code == SETGE || Code == SETLT || Code == SETLE; 1086 inline bool isUnsignedIntSetCC(CondCode Code) { argument 1087 return Code == SETUGT || Code == SETUGE || Code == SETULT || Code [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 61 StringRef Code = Matches[0]->second; local 63 std::pair<StringRef, StringRef> Split = Code.split('\n'); 66 Code = Split.second; 67 while (!Code.empty()) { 68 Split = Code.split('\n'); 70 Code = Split.second;
|
/freebsd-11-stable/contrib/byacc/test/btyacc/ |
H A D | btyacc_demo.tab.h | 30 Code *code;
|