Home
last modified time | relevance | path

Searched refs:Code (Results 1 – 25 of 569) sorted by relevance

12345678910>>...23

/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-spec/
H A Dunicode.tml32 === Code point 0
39 === Code point 1
46 === Code point 7
53 === Code point 8
60 === Code point 9
67 === Code point 10
74 === Code point 11
81 === Code point 12
88 === Code point 13
94 === Code point 27
[all …]
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DStmtDataCollectors.td2 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 …]
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriterStmt.cpp36 serialization::StmtCode Code; member in clang::ASTStmtWriter
78 Code = serialization::STMT_NULL; in VisitNullStmt()
110 Code = serialization::STMT_CASE; in VisitCaseStmt()
125 Code = serialization::STMT_LABEL; in VisitLabelStmt()
163 Code = serialization::STMT_IF; in VisitIfStmt()
206 Code = serialization::STMT_WHILE; in VisitWhileStmt()
216 Code = serialization::STMT_DO; in VisitDoStmt()
229 Code = serialization::STMT_FOR; in VisitForStmt()
237 Code = serialization::STMT_GOTO; in VisitGotoStmt()
281 Code = serialization::STMT_DECL; in VisitDeclStmt()
[all …]
H A DASTWriterDecl.cpp40 serialization::DeclCode Code; member in clang::ASTDeclWriter
50 if (!Code) in Emit()
404 Code = serialization::DECL_TYPEDEF; in VisitTypedefDecl()
477 Code = serialization::DECL_ENUM; in VisitEnumDecl()
516 Code = serialization::DECL_RECORD; in VisitRecordDecl()
967 Code = serialization::DECL_FIELD; in VisitFieldDecl()
1103 Code = serialization::DECL_VAR; in VisitVarDecl()
1189 Code = serialization::DECL_EMPTY; in VisitEmptyDecl()
1229 Code = serialization::DECL_BLOCK; in VisitBlockDecl()
1260 Code = serialization::DECL_LABEL; in VisitLabelDecl()
[all …]
/openbsd/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp134 Code = Code.drop_front(); in getNextToken()
139 Code = Code.drop_front(); in getNextToken()
146 Code = Code.drop_front(); in getNextToken()
151 Code = Code.drop_front(); in getNextToken()
156 Code = Code.drop_front(); in getNextToken()
200 Code = Code.drop_front(TokenLength); in getNextToken()
204 Code = Code.drop_front(1); in getNextToken()
238 Code = Code.drop_front(Length); in consumeNumberLiteral()
286 Code = Code.drop_front(Length + 1); in consumeStringLiteral()
292 Code = Code.drop_front(Code.size()); in consumeStringLiteral()
[all …]
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp71 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 …]
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp111 const size_t Target = Code.size(); in emitLabel()
119 void *Location = Code.data() + Reloc - align(sizeof(int32_t)); in emitLabel()
131 Code.size() + align(sizeof(Opcode)) + align(sizeof(int32_t)); in getOffset()
154 static void emit(Program &P, std::vector<char> &Code, const T &Val, in emit() argument
163 if (Code.size() + Size > std::numeric_limits<unsigned>::max()) { in emit()
169 size_t ValPos = align(Code.size()); in emit()
172 Code.resize(ValPos + Size); in emit()
175 new (Code.data() + ValPos) T(Val); in emit()
178 new (Code.data() + ValPos) uint32_t(ID); in emit()
188 emit(P, Code, Op, Success); in emitOp()
[all …]
/openbsd/gnu/llvm/clang/include/clang/Testing/
H A DTestAST.h36 TestInputs(StringRef Code) : Code(Code) {} in TestInputs()
39 std::string Code; member
73 TestAST(StringRef Code) : TestAST(TestInputs(Code)) {} in TestAST() argument
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.h207 static bool parseExpression(StringRef &Code, Sema *S,
210 static bool parseExpression(StringRef &Code, Sema *S, VariantValue *Value, in parseExpression() argument
212 return parseExpression(Code, S, nullptr, Value, Error); in parseExpression()
214 static bool parseExpression(StringRef &Code, VariantValue *Value, in parseExpression() argument
216 return parseExpression(Code, nullptr, Value, Error); in parseExpression()
231 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S,
234 completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S) { in completeExpression() argument
235 return completeExpression(Code, CompletionOffset, S, nullptr); in completeExpression()
238 completeExpression(StringRef &Code, unsigned CompletionOffset) { in completeExpression() argument
239 return completeExpression(Code, CompletionOffset, nullptr); in completeExpression()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1461 inline bool isSignedIntSetCC(CondCode Code) { in isSignedIntSetCC() argument
1462 return Code == SETGT || Code == SETGE || Code == SETLT || Code == SETLE; in isSignedIntSetCC()
1467 inline bool isUnsignedIntSetCC(CondCode Code) { in isUnsignedIntSetCC() argument
1468 return Code == SETUGT || Code == SETUGE || Code == SETULT || Code == SETULE; in isUnsignedIntSetCC()
1473 inline bool isIntEqualitySetCC(CondCode Code) { in isIntEqualitySetCC() argument
1474 return Code == SETEQ || Code == SETNE; in isIntEqualitySetCC()
/openbsd/gnu/llvm/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp41 StringRef FileName, StringRef Code, const IncludeStyle &Style, in getOffsetAfterTokenSequence() argument
44 SourceManagerForFile VirtualSM(FileName, Code); in getOffsetAfterTokenSequence()
83 StringRef Code, in getOffsetAfterHeaderGuardsAndComments() argument
92 FileName, Code, Style, in getOffsetAfterHeaderGuardsAndComments()
162 FileName, Code, Style, in getMaxHeaderInsertionOffset()
271 HeaderIncludes::HeaderIncludes(StringRef FileName, StringRef Code, in HeaderIncludes() argument
273 : FileName(FileName), Code(Code), FirstIncludeOffset(-1), in HeaderIncludes()
286 Code.drop_front(MinInsertOffset).split(Lines, "\n"); in HeaderIncludes()
292 NextLineOffset = std::min(Code.size(), Offset + Line.size() + 1); in HeaderIncludes()
378 assert(InsertOffset <= Code.size()); in insert()
[all …]
H A DHeaderAnalysis.cpp84 bool codeContainsImports(llvm::StringRef Code) { in codeContainsImports() argument
86 Code = Code.take_front(100 * 100); in codeContainsImports()
88 for (unsigned I = 0; I < 100 && !Code.empty(); ++I) { in codeContainsImports()
89 std::tie(Line, Code) = Code.split('\n'); in codeContainsImports()
/openbsd/gnu/llvm/clang/include/clang/Tooling/Refactoring/Extract/
H A DExtract.h29 initiate(RefactoringRuleContext &Context, CodeRangeASTSelection Code,
35 ExtractFunction(CodeRangeASTSelection Code, in ExtractFunction() argument
37 : Code(std::move(Code)), in ExtractFunction()
43 CodeRangeASTSelection Code; variable
/openbsd/gnu/llvm/clang/tools/clang-format/
H A DClangFormat.cpp227 static bool fillRanges(MemoryBuffer *Code, in fillRanges() argument
236 FileID ID = createInMemoryFile("<irrelevant>", *Code, Sources, Files, in fillRanges()
277 if (Offsets[i] >= Code->getBufferSize()) { in fillRanges()
285 if (Offsets[i] + Lengths[i] > Code->getBufferSize()) { in fillRanges()
349 const char *StartBuf = Code->getBufferStart(); in emitReplacementWarnings()
416 if (Code->getBufferSize() == 0) in format()
419 StringRef BufStr = Code->getBuffer(); in format()
433 if (fillRanges(Code.get(), Ranges)) in format()
549 std::unique_ptr<llvm::MemoryBuffer> Code; in dumpConfig() local
564 Code = std::move(CodeOrErr.get()); in dumpConfig()
[all …]
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DAtomicChange.cpp89 bool violatesColumnLimit(llvm::StringRef Code, unsigned ColumnLimit, in violatesColumnLimit() argument
91 auto StartPos = Code.rfind('\n', Start); in violatesColumnLimit()
94 auto EndPos = Code.find("\n", End); in violatesColumnLimit()
96 EndPos = Code.size(); in violatesColumnLimit()
99 Code.substr(StartPos, EndPos - StartPos).split(Lines, '\n'); in violatesColumnLimit()
107 getRangesForFormating(llvm::StringRef Code, unsigned ColumnLimit, in getRangesForFormating() argument
123 R.getOffset() > 0 && R.getOffset() <= Code.size() && in getRangesForFormating()
124 Code[R.getOffset() - 1] == '\n') in getRangesForFormating()
131 violatesColumnLimit(Code, ColumnLimit, Start, End)) in getRangesForFormating()
301 applyAtomicChanges(llvm::StringRef FilePath, llvm::StringRef Code, in applyAtomicChanges() argument
[all …]
/openbsd/gnu/llvm/llvm/utils/TableGen/GlobalISel/
H A DCodeExpander.h33 StringRef Code; variable
40 CodeExpander(StringRef Code, const CodeExpansions &Expansions,
43 : Code(Code), Expansions(Expansions), Loc(Loc), in Code() function
H A DCodeExpander.cpp21 StringRef Current = Code; in emit()
61 PrintNote("Code: [{" + Code + "}]"); in emit()
68 PrintNote("Code: [{" + Code + "}]"); in emit()
79 PrintNote("Code: [{" + Code + "}]"); in emit()
/openbsd/gnu/llvm/llvm/lib/Testing/Annotations/
H A DAnnotations.cpp19 static void require(bool Assertion, const char *Msg, llvm::StringRef Code) { in require() argument
21 llvm::errs() << "Annotated testcase: " << Msg << "\n" << Code << "\n"; in require()
34 Code.reserve(Text.size()); in Annotations()
38 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations()
46 {Code.size(), size_t(-1), Name.value_or(""), Payload.value_or("")}); in Annotations()
57 {NewRange.Begin, Code.size(), NewRange.Name, NewRange.Payload}); in Annotations()
76 Code.push_back(Text.front()); in Annotations()
91 "expected exactly one point", Code); in pointWithPayload()
136 "expected exactly one range", Code); in rangeWithPayload()
/openbsd/gnu/llvm/llvm/lib/TableGen/
H A DStringMatcher.cpp62 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()
H A DTGParser.cpp818 case tgtok::Code: in ParseType()
1030 if (Code == UnOpInit::EMPTY || Code == UnOpInit::SIZE) { in ParseOperation()
1050 if (Code == UnOpInit::HEAD || Code == UnOpInit::TAIL) { in ParseOperation()
1404 if (Code != BinOpInit::ADD && Code != BinOpInit::SUB && in ParseOperation()
1405 Code != BinOpInit::AND && Code != BinOpInit::OR && in ParseOperation()
1406 Code != BinOpInit::XOR && Code != BinOpInit::SRA && in ParseOperation()
1407 Code != BinOpInit::SRL && Code != BinOpInit::SHL && in ParseOperation()
1408 Code != BinOpInit::MUL && Code != BinOpInit::DIV) in ParseOperation()
1446 Code == BinOpInit::CONCAT || Code == BinOpInit::ADD || in ParseOperation()
1447 Code == BinOpInit::AND || Code == BinOpInit::OR || in ParseOperation()
[all …]
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCSPIRVStreamer.cpp23 SmallString<256> Code; in emitInstToData() local
24 raw_svector_ostream VecOS(Code); in emitInstToData()
32 DF->getContents().append(Code.begin(), Code.end()); in emitInstToData()
/openbsd/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVLocation.cpp31 auto PrintRegisterInfo = [&](LVSmall Code) { in getOperandsDWARFInfo() argument
35 if (dwarf::DW_OP_lit0 <= Code && Code <= dwarf::DW_OP_lit31) { in getOperandsDWARFInfo()
36 Stream << format("lit%d", Code - dwarf::DW_OP_lit0); in getOperandsDWARFInfo()
43 if (dwarf::DW_OP_breg0 <= Code && Code <= dwarf::DW_OP_breg31) { in getOperandsDWARFInfo()
44 std::string RegisterName(getReader().getRegisterName(Code, Operands)); in getOperandsDWARFInfo()
45 Stream << format("breg%d+%d%s", Code - dwarf::DW_OP_breg0, Operands[0], in getOperandsDWARFInfo()
53 if (dwarf::DW_OP_reg0 <= Code && Code <= dwarf::DW_OP_reg31) { in getOperandsDWARFInfo()
54 std::string RegisterName(getReader().getRegisterName(Code, Operands)); in getOperandsDWARFInfo()
55 Stream << format("reg%d%s", Code - dwarf::DW_OP_reg0, in getOperandsDWARFInfo()
60 Stream << format("#0x%02x ", Code) << hexString(Operands[0]) << " " in getOperandsDWARFInfo()
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp1017 unsigned Code = 0; in writeTypeTable() local
1027 Code = bitc::TYPE_CODE_VOID; in writeTypeTable()
1030 Code = bitc::TYPE_CODE_HALF; in writeTypeTable()
1033 Code = bitc::TYPE_CODE_FLOAT; in writeTypeTable()
1992 unsigned Code = -1U; in writeConstants() local
1995 Code = bitc::CST_CODE_NULL; in writeConstants()
1997 Code = bitc::CST_CODE_UNDEF; in writeConstants()
2017 Code = bitc::CST_CODE_FLOAT; in writeConstants()
2065 Code = bitc::CST_CODE_DATA; in writeConstants()
2243 unsigned Code = 0; in writeInstruction() local
[all …]
/openbsd/gnu/llvm/lldb/include/lldb/Target/
H A DAppleArm64ExceptionClass.h17 #define APPLE_ARM64_EXCEPTION_CLASS(Name, Code) Name = Code, argument
40 #define APPLE_ARM64_EXCEPTION_CLASS(Name, Code) \ in toString() argument
/openbsd/gnu/llvm/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp102 unsigned Code = MaybeCode.get(); in skipRecord() local
112 return Code; in skipRecord()
121 unsigned Code; in skipRecord() local
123 Code = CodeOp.getLiteralValue(); in skipRecord()
133 Code = MaybeCode.get(); in skipRecord()
211 return Code; in skipRecord()
221 uint32_t Code = MaybeCode.get(); in readRecord() local
237 return Code; in readRecord()
248 unsigned Code; in readRecord() local
256 Code = MaybeCode.get(); in readRecord()
[all …]

12345678910>>...23