HomeSort by: relevance | last modified time | path
    Searched refs:Code (Results 1 - 25 of 714) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ModuleFileExtension.cpp 16 llvm::hash_code ModuleFileExtension::hashExtension(llvm::hash_code Code) const {
17 return Code;
ASTWriterStmt.cpp 36 serialization::StmtCode Code;
42 Code(serialization::STMT_NULL_PTR), AbbrevToUse(0) {}
47 assert(Code != serialization::STMT_NULL_PTR &&
49 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;
122 Code = serialization::STMT_LABEL;
131 Code = serialization::STMT_ATTRIBUTED
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Extract/
Extract.h 18 /// An "Extract Function" refactoring moves code into a new function that's
19 /// then called from the place where the original code was.
24 /// \param Code The selected set of statements.
28 CodeRangeASTSelection Code,
34 ExtractFunction(CodeRangeASTSelection Code, Optional<std::string> DeclName)
35 : Code(std::move(Code)),
41 CodeRangeASTSelection Code;
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
CodeExpander.h 24 /// Emit the given code with all '${foo}' placeholders expanded to their
30 /// The emitted code can be given a custom indent to enable both indentation by
31 /// an arbitrary amount of whitespace and emission of the code as a comment.
33 StringRef Code;
40 CodeExpander(StringRef Code, const CodeExpansions &Expansions,
43 : Code(Code), Expansions(Expansions), Loc(Loc),
CodeExpander.cpp 22 StringRef Current = Code;
62 PrintNote("Code: [{" + Code + "}]");
69 PrintNote("Code: [{" + Code + "}]");
80 PrintNote("Code: [{" + Code + "}]");
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangDataCollectorsEmitter.cpp 12 auto Code = R.getValue("Code")->getValue();
13 OS << Code->getAsUnquotedString() << "}\n)";
  /src/external/apache2/llvm/autoconf/autoconf/m4/
config_project.m4 6 AS_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),
10 AS_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),
  /src/external/apache2/llvm/dist/clang/lib/Format/
SortJavaScriptImports.h 25 // Sort JavaScript ES6 imports/exports in ``Code``. The generated replacements
26 // only monotonically increase the length of the given code.
28 StringRef Code,
FormatInternal.h 1 //===--- FormatInternal.h - Format C++ code ---------------------*- C++ -*-===//
25 /// Reformats the given \p Ranges in the code fragment \p Code.
27 /// A fragment of code could conceptually be surrounded by other code that might
29 /// For example, consider the fragment of code between 'R"(' and ')"',
30 /// exclusive, in the following code:
43 /// The outer code can influence the inner fragment as follows:
44 /// * \p FirstStartColumn specifies the column at which \p Code starts.
46 /// surrounding code. It is applied to the rest of the lines of \p Code
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
Extract.cpp 10 /// Implements the "extract" refactoring that can pull code into
49 // Code from method that is defined in class body should be extracted to a
63 "(WIP action; use with caution!) Extracts code into a new function",
70 CodeRangeASTSelection Code,
72 // We would like to extract code out of functions/methods/blocks.
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)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Testing/Support/
Annotations.cpp 1 //===--- Annotations.cpp - Annotated source code for unit tests --*- C++-*-===//
19 static void require(bool Assertion, const char *Msg, llvm::StringRef Code) {
21 llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n";
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();
61 Code.push_back(Text.front());
71 "expected exactly one point", Code);
85 "expected exactly one range", Code);
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/
CodeEmitter.h 31 /// A utility class used to compute instruction encodings for a code region.
40 SmallString<256> Code;
45 // is an index to the `Code`. Length (i.e. second) is the encoding size.
56 : STI(ST), MAB(AB), MCE(CE), VecOS(Code), Sequence(S),
61 return StringRef(&Code[EI.first], EI.second);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
BinaryStreamError.h 39 stream_error_code getErrorCode() const { return Code; }
43 stream_error_code Code;
  /src/external/apache2/llvm/dist/llvm/lib/MCA/
CodeEmitter.cpp 30 EI.first = Code.size();
32 EI.second = Code.size() - EI.first;
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
TestModuleFileExtension.cpp 74 fprintf(stderr, "Failed reading rec code: %s\n",
97 llvm::hash_code Code) const {
99 Code = llvm::hash_combine(Code, BlockName);
100 Code = llvm::hash_combine(Code, MajorVersion);
101 Code = llvm::hash_combine(Code, MinorVersion);
102 Code = llvm::hash_combine(Code, UserInfo)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
ISDOpcodes.h 105 /// typically the offset is not known until after code generation of the
227 /// code generator that want to think about a single node with multiple
683 /// condition code in op #4, a CondCodeSDNode.
689 /// operands to compare (ops #0, and #1) and the condition code to compare
949 /// that the condition is represented as condition code, and two nodes to
1074 /// applied. The pointer it returns points to an executable block of code.
1374 inline bool isSignedIntSetCC(CondCode Code) {
1375 return Code == SETGT || Code == SETGE || Code == SETLT || Code == SETLE
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
ByteCodeEmitter.cpp 56 // Create a handle over the emitted code.
73 // Set the function's code.
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)
    [all...]
Function.cpp 24 CodePtr Function::getCodeBegin() const { return Code.data(); }
26 CodePtr Function::getCodeEnd() const { return Code.data() + Code.size(); }
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
CmpInstAnalysis.h 48 /// This is the complement of getICmpCode. It turns a predicate code into
54 Constant *getPredForICmpCode(unsigned Code, bool Sign, Type *OpTy,
  /src/external/apache2/llvm/dist/clang/include/clang/Interpreter/
Interpreter.h 9 // This file defines the component which performs incremental code
58 llvm::Expected<Transaction &> Parse(llvm::StringRef Code);
60 llvm::Error ParseAndExecute(llvm::StringRef Code) {
61 auto ErrOrTransaction = Parse(Code);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Inclusions/
HeaderIncludes.cpp 37 // GetOffsetAfterSequence, from the start of the code.
41 StringRef FileName, StringRef Code, const IncludeStyle &Style,
44 SourceManagerForFile VirtualSM(FileName, Code);
79 // header guard is present in the code, this will return the offset after
80 // skipping all comments from the start of the code.
82 StringRef Code,
91 FileName, Code, Style,
147 // in the beginning of a file to avoid inserting headers into code sections
149 // These code sections include:
155 // offset after skipping all comments from the start of the code
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
Parser.h 18 /// \code
207 static bool parseExpression(StringRef &Code, Sema *S,
210 static bool parseExpression(StringRef &Code, Sema *S, VariantValue *Value,
212 return parseExpression(Code, S, nullptr, Value, Error);
214 static bool parseExpression(StringRef &Code, VariantValue *Value,
216 return parseExpression(Code, nullptr, Value, Error);
231 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S,
234 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S) {
235 return completeExpression(Code, CompletionOffset, S, nullptr);
238 completeExpression(StringRef &Code, unsigned CompletionOffset)
    [all...]
  /src/external/bsd/byacc/dist/test/
btyacc_demo.y 18 typedef int Code;
45 Code *code;
61 %type <code> statement(<scope>) statement_list(<scope>)
211 extern void finish_fn_def(Decl *fn_decl, Code *block);
226 extern Code * build_expr_code(Expr *expr);
227 extern Code * build_if(Expr *cond_expr, Code *then_stmt, Code *else_stmt);
228 extern Code * code_append(Code *stmt_list, Code *stmt)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
StringMatcher.cpp 45 /// code to verify that CharNo and later are the same.
47 /// \return - True if control can leave the emitted code fragment.
55 // matching code.
60 // If the to-execute code has \n's in it, indent each subsequent line.
61 StringRef Code = Matches[0]->second;
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
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-symbolizer/
llvm-symbolizer.cpp 10 // tuples (module name, module offset) to code locations (function name,
97 Code,
107 if (InputString.consume_front("CODE ")) {
108 Cmd = Command::Code;
114 // If no cmd, assume it's CODE.
115 Cmd = Command::Code;

Completed in 61 milliseconds

1 2 3 4 5 6 7 8 91011>>