| /freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Parser.cpp | 120 Code = Code.drop_front(); in getNextToken() 125 Code = Code.drop_front(); in getNextToken() 130 Code = Code.drop_front(); in getNextToken() 135 Code = Code.drop_front(); in getNextToken() 162 Code = Code.drop_front(TokenLength); in getNextToken() 179 Code = Code.drop_front(TokenLength); in getNextToken() 183 Code = Code.drop_front(1); in getNextToken() 217 Code = Code.drop_front(Length); in consumeNumberLiteral() 265 Code = Code.drop_front(Length + 1); in consumeStringLiteral() 271 Code = Code.drop_front(Code.size()); in consumeStringLiteral() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | StmtDataCollectors.td | 2 code Code = [{ 12 code Code = [{ 19 code Code = [{ 24 code Code = [{ 29 code Code = [{ 34 code Code = [{ 43 code Code = [{ 69 code Code = [{ 74 code Code = [{ 81 code Code = [{ [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 35 serialization::StmtCode Code; member in clang::ASTStmtWriter 77 Code = serialization::STMT_NULL; in VisitNullStmt() 106 Code = serialization::STMT_CASE; in VisitCaseStmt() 120 Code = serialization::STMT_LABEL; in VisitLabelStmt() 157 Code = serialization::STMT_IF; in VisitIfStmt() 196 Code = serialization::STMT_WHILE; in VisitWhileStmt() 206 Code = serialization::STMT_DO; in VisitDoStmt() 219 Code = serialization::STMT_FOR; in VisitForStmt() 227 Code = serialization::STMT_GOTO; in VisitGotoStmt() 271 Code = serialization::STMT_DECL; in VisitDeclStmt() [all …]
|
| H A D | ASTWriterDecl.cpp | 40 serialization::DeclCode Code; member in clang::ASTDeclWriter 50 if (!Code) in Emit() 392 Code = serialization::DECL_TYPEDEF; in VisitTypedefDecl() 465 Code = serialization::DECL_ENUM; in VisitEnumDecl() 497 Code = serialization::DECL_RECORD; in VisitRecordDecl() 900 Code = serialization::DECL_FIELD; in VisitFieldDecl() 1017 Code = serialization::DECL_VAR; in VisitVarDecl() 1099 Code = serialization::DECL_EMPTY; in VisitEmptyDecl() 1127 Code = serialization::DECL_BLOCK; in VisitBlockDecl() 1158 Code = serialization::DECL_LABEL; in VisitLabelDecl() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Extract/ |
| H A D | Extract.cpp | 71 CodeRangeASTSelection Code, in initiate() argument 76 if (!Code.isInFunctionLikeBodyOfCode()) in initiate() 80 if (Code.size() == 1) { in initiate() 82 if (isSimpleExpression(dyn_cast<Expr>(Code[0]))) in initiate() 94 return ExtractFunction(std::move(Code), DeclName); in initiate() 101 const Decl *ParentDecl = Code.getFunctionLikeNearestParent(); in createSourceReplacements() 105 SourceRange ExtractedRange(Code[0]->getBeginLoc(), in createSourceReplacements() 106 Code[Code.size() - 1]->getEndLoc()); in createSourceReplacements() 120 bool IsExpr = Code.size() == 1 && isa<Expr>(Code[0]); in createSourceReplacements() 123 ReturnType = cast<Expr>(Code[0])->getType(); in createSourceReplacements() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | TestModuleFileExtension.cpp | 87 llvm::hash_code Code) const { in hashExtension() 89 Code = llvm::hash_combine(Code, BlockName); in hashExtension() 90 Code = llvm::hash_combine(Code, MajorVersion); in hashExtension() 91 Code = llvm::hash_combine(Code, MinorVersion); in hashExtension() 92 Code = llvm::hash_combine(Code, UserInfo); in hashExtension() 95 return Code; in hashExtension()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 39 StringRef FileName, StringRef Code, const IncludeStyle &Style, in getOffsetAfterTokenSequence() argument 42 SourceManagerForFile VirtualSM(FileName, Code); in getOffsetAfterTokenSequence() 76 StringRef Code, in getOffsetAfterHeaderGuardsAndComments() argument 79 FileName, Code, Style, in getOffsetAfterHeaderGuardsAndComments() 133 FileName, Code, Style, in getMaxHeaderInsertionOffset() 192 HeaderIncludes::HeaderIncludes(StringRef FileName, StringRef Code, in HeaderIncludes() argument 194 : FileName(FileName), Code(Code), FirstIncludeOffset(-1), in HeaderIncludes() 208 Code.drop_front(MinInsertOffset).split(Lines, "\n"); in HeaderIncludes() 214 NextLineOffset = std::min(Code.size(), Offset + Line.size() + 1); in HeaderIncludes() 295 assert(InsertOffset <= Code.size()); in insert() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/ |
| H A D | Parser.h | 193 static bool parseExpression(StringRef Code, Sema *S, 196 static bool parseExpression(StringRef Code, Sema *S, in parseExpression() argument 198 return parseExpression(Code, S, nullptr, Value, Error); in parseExpression() 200 static bool parseExpression(StringRef Code, VariantValue *Value, in parseExpression() argument 202 return parseExpression(Code, nullptr, Value, Error); in parseExpression() 217 completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S, 220 completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S) { in completeExpression() argument 221 return completeExpression(Code, CompletionOffset, S, nullptr); in completeExpression() 224 completeExpression(StringRef Code, unsigned CompletionOffset) { in completeExpression() argument 225 return completeExpression(Code, CompletionOffset, nullptr); in completeExpression()
|
| /freebsd-12.1/contrib/bearssl/T0/ |
| H A D | WordInterpreted.cs | 44 internal Opcode[] Code { property in WordInterpreted 54 this.Code = code; in WordInterpreted() 69 Code[i].ResolveTarget(TC.Lookup(tt)); in Resolve() 77 cpu.Enter(Code, NumLocals); in Run() 84 foreach (Opcode op in Code) { in GetReferences() 97 foreach (Opcode op in Code) { in GetDataBlocks() 109 int n = Code.Length; in GenerateCodeElements() 112 gcode[i] = Code[i].ToCodeElement(); in GenerateCodeElements() 115 Code[i].FixUp(gcode, i); in GenerateCodeElements() 154 int n = Code.Length; in AnalyseFlow() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | ISDOpcodes.h | 992 inline bool isSignedIntSetCC(CondCode Code) { in isSignedIntSetCC() argument 993 return Code == SETGT || Code == SETGE || Code == SETLT || Code == SETLE; in isSignedIntSetCC() 998 inline bool isUnsignedIntSetCC(CondCode Code) { in isUnsignedIntSetCC() argument 999 return Code == SETUGT || Code == SETUGE || Code == SETULT || Code == SETULE; in isUnsignedIntSetCC()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/Extract/ |
| H A D | Extract.h | 29 CodeRangeASTSelection Code, 35 ExtractFunction(CodeRangeASTSelection Code, Optional<std::string> DeclName) in ExtractFunction() argument 36 : Code(std::move(Code)), in ExtractFunction() 42 CodeRangeASTSelection Code; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/tools/clang-format/ |
| H A D | ClangFormat.cpp | 134 static bool fillRanges(MemoryBuffer *Code, in fillRanges() argument 143 FileID ID = createInMemoryFile("<irrelevant>", Code, Sources, Files, in fillRanges() 180 if (Offsets[i] >= Code->getBufferSize()) { in fillRanges() 188 if (Offsets[i] + Lengths[i] > Code->getBufferSize()) { in fillRanges() 258 std::unique_ptr<llvm::MemoryBuffer> Code = std::move(CodeOrErr.get()); in format() local 259 if (Code->getBufferSize() == 0) in format() 262 if (fillRanges(Code.get(), Ranges)) in format() 267 getStyle(Style, AssumedFileName, FallbackStyle, Code->getBuffer()); in format() 363 std::unique_ptr<llvm::MemoryBuffer> Code; in main() local 378 Code = std::move(CodeOrErr.get()); in main() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/ |
| H A D | AtomicChange.cpp | 90 bool violatesColumnLimit(llvm::StringRef Code, unsigned ColumnLimit, in violatesColumnLimit() argument 92 auto StartPos = Code.rfind('\n', Start); in violatesColumnLimit() 95 auto EndPos = Code.find("\n", End); in violatesColumnLimit() 97 EndPos = Code.size(); in violatesColumnLimit() 100 Code.substr(StartPos, EndPos - StartPos).split(Lines, '\n'); in violatesColumnLimit() 108 getRangesForFormating(llvm::StringRef Code, unsigned ColumnLimit, in getRangesForFormating() argument 124 R.getOffset() > 0 && R.getOffset() <= Code.size() && in getRangesForFormating() 125 Code[R.getOffset() - 1] == '\n') in getRangesForFormating() 132 violatesColumnLimit(Code, ColumnLimit, Start, End)) in getRangesForFormating() 296 applyAtomicChanges(llvm::StringRef FilePath, llvm::StringRef Code, in applyAtomicChanges() argument [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitstreamReader.cpp | 99 unsigned Code = ReadVBR(6); in skipRecord() local 103 return Code; in skipRecord() 108 unsigned Code; in skipRecord() local 110 Code = CodeOp.getLiteralValue(); in skipRecord() 115 Code = readAbbreviatedField(*this, CodeOp); in skipRecord() 176 return Code; in skipRecord() 183 unsigned Code = ReadVBR(6); in readRecord() local 187 return Code; in readRecord() 195 unsigned Code; in readRecord() local 197 Code = CodeOp.getLiteralValue(); in readRecord() [all …]
|
| /freebsd-12.1/contrib/byacc/test/ |
| H A D | btyacc_demo.y | 16 typedef int Code; typedef 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 *stmt);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Format/ |
| H A D | Format.cpp | 1790 auto Pos = Code.find('\n', SearchFrom); in sortCppIncludes() 1792 Code.substr(Prev, (Pos != StringRef::npos ? Pos : Code.size()) - Prev); in sortCppIncludes() 1937 auto Pos = Code.find('\n', SearchFrom); in sortJavaImports() 1939 Code.substr(Prev, (Pos != StringRef::npos ? Pos : Code.size()) - Prev); in sortJavaImports() 1975 bool isMpegTS(StringRef Code) { in isMpegTS() argument 1979 return Code.size() > 188 && Code[0] == 0x47 && Code[188] == 0x47; in isMpegTS() 1982 bool isLikelyXml(StringRef Code) { return Code.ltrim().startswith("<"); } in isLikelyXml() argument 1990 if (isLikelyXml(Code)) in sortIncludes() 1993 isMpegTS(Code)) in sortIncludes() 2158 if (isLikelyXml(Code)) in reformat() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 892 UnOpInit::UnaryOp Code; in ParseOperation() local 899 Code = UnOpInit::CAST; in ParseOperation() 956 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL || in ParseOperation() 964 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation() 1129 switch (Code) { in ParseOperation() 1156 if (Code != BinOpInit::ADD && Code != BinOpInit::AND && in ParseOperation() 1157 Code != BinOpInit::OR && Code != BinOpInit::SRA && in ParseOperation() 1158 Code != BinOpInit::SRL && Code != BinOpInit::SHL) in ParseOperation() 1178 if (Code == BinOpInit::STRCONCAT || Code == BinOpInit::LISTCONCAT || in ParseOperation() 1179 Code == BinOpInit::CONCAT || Code == BinOpInit::ADD || in ParseOperation() [all …]
|
| H A D | StringMatcher.cpp | 62 StringRef Code = Matches[0]->second; in EmitStringMatcherForChar() local 64 std::pair<StringRef, StringRef> Split = Code.split('\n'); in EmitStringMatcherForChar() 67 Code = Split.second; in EmitStringMatcherForChar() 68 while (!Code.empty()) { in EmitStringMatcherForChar() 69 Split = Code.split('\n'); in EmitStringMatcherForChar() 71 Code = Split.second; in EmitStringMatcherForChar()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-bcanalyzer/ |
| H A D | llvm-bcanalyzer.cpp | 499 if (Code != bitc::METADATA_STRINGS) in decodeBlob() 616 if (BlockStats.CodeFreq.size() <= Code) in ParseBlock() 617 BlockStats.CodeFreq.resize(Code+1); in ParseBlock() 619 BlockStats.CodeFreq[Code].TotalBits += in ParseBlock() 622 BlockStats.CodeFreq[Code].NumAbbrev++; in ParseBlock() 632 outs() << "UnknownCode" << Code; in ParseBlock() 634 outs() << " codeid=" << Code; in ParseBlock() 655 if (Code == bitc::METADATA_INDEX) { in ParseBlock() 857 if (Code != bitc::ENTER_SUBBLOCK) in AnalyzeBitcode() 878 unsigned Code = Stream.ReadCode(); in AnalyzeBitcode() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 53 IndexError(index_error_code C) : Code(C), LineNo(0) {} in IndexError() 55 : Code(C), FileName(std::move(FileName)), LineNo(LineNo) {} in Code() function 58 : Code(C), FileName(std::move(FileName)), in IndexError() 63 index_error_code getCode() const { return Code; } in getCode() 70 index_error_code Code;
|
| /freebsd-12.1/sys/contrib/dev/acpica/ |
| H A D | changes.txt | 1102 Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total 1103 Debug Version: 204.0K Code, 84.3K Data, 288.3K Total 5880 3) Example Code and Data Size 5977 3) Example Code and Data Size 16829 Code and Data Size: Code and Data optimizations have permitted new 16979 Code and Data Size: Code and Data optimizations have permitted new 17160 Non-Debug Version: 65K Code, 5K Data, 70K Total 17219 Debug Version: 137K Code, 58K Data, 195K Total 17437 Source Code Structure: 17636 Source Code: [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Format/ |
| H A D | Format.h | 1905 tooling::Replacements sortIncludes(const FormatStyle &Style, StringRef Code, 1914 formatReplacements(StringRef Code, const tooling::Replacements &Replaces, 1931 cleanupAroundReplacements(StringRef Code, const tooling::Replacements &Replaces, 1957 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, 1965 tooling::Replacements reformat(const FormatStyle &Style, StringRef Code, 1974 tooling::Replacements cleanup(const FormatStyle &Style, StringRef Code, 1983 StringRef Code, 1993 StringRef Code, 2042 StringRef Code = "", 2047 FormatStyle::LanguageKind guessLanguage(StringRef FileName, StringRef Code);
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 851 unsigned Code = 0; in writeTypeTable() local 921 Code = bitc::TYPE_CODE_ARRAY; in writeTypeTable() 2291 unsigned Code = -1U; in writeConstants() local 2294 Code = bitc::CST_CODE_NULL; in writeConstants() 2364 Code = bitc::CST_CODE_DATA; in writeConstants() 2555 unsigned Code = 0; in writeInstruction() local 3017 unsigned Code; in writeFunctionLevelValueSymbolTable() local 3043 unsigned Code; in writeUseList() local 3045 Code = bitc::USELIST_CODE_BB; in writeUseList() 3561 unsigned Code = in writePerModuleFunctionSummaryRecord() local [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.h | 269 uint32_t Code; ///< Abbreviation code member 273 Abbrev(uint32_t Code, dwarf::Tag Tag, in Abbrev() 275 : Code(Code), Tag(Tag), Attributes(std::move(Attributes)) {} in Abbrev() 337 static unsigned getHashValue(uint32_t Code) { in getHashValue() 338 return DenseMapInfo<uint32_t>::getHashValue(Code); in getHashValue() 341 return getHashValue(Abbr.Code); in getHashValue() 344 return LHS == RHS.Code; in isEqual() 347 return LHS.Code == RHS.Code; in isEqual()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFDebugAbbrev.cpp | 39 m_idx_offset = abbrevDeclaration.Code(); in Extract() 41 if (prev_abbr_code + 1 != abbrevDeclaration.Code()) in Extract() 45 prev_abbr_code = abbrevDeclaration.Code(); in Extract() 69 if (pos->Code() == abbrCode) in GetAbbreviationDeclaration()
|