Searched refs:EC (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DIntEqClasses.cpp26 EC.reserve(N);
27 while (EC.size() < N)
28 EC.push_back(EC.size());
33 unsigned eca = EC[a];
34 unsigned ecb = EC[b];
40 EC[b] = eca;
42 ecb = EC[b];
44 EC[a] = ecb;
46 eca = EC[
[all...]
H A DError.cpp87 Error errorCodeToError(std::error_code EC) { argument
88 if (!EC)
90 return Error(std::make_unique<ECError>(ECError(EC)));
94 std::error_code EC; local
96 EC = EI.convertToErrorCode();
98 if (EC == inconvertibleErrorCode())
99 report_fatal_error(EC.message());
100 return EC;
116 StringError::StringError(std::error_code EC, const Twine &S) argument
117 : Msg(S.str()), EC(E
119 StringError(const Twine &S, std::error_code EC) argument
136 createStringError(std::error_code EC, char const *Msg) argument
[all...]
H A DBinaryStreamWriter.cpp29 if (auto EC = Stream.writeBytes(Offset, Buffer))
30 return EC;
48 if (auto EC = writeFixedString(Str))
49 return EC;
50 if (auto EC = writeObject('\0'))
51 return EC;
74 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk))
75 return EC;
76 if (auto EC = writeBytes(Chunk))
77 return EC;
[all...]
H A DToolOutputFile.cpp36 ToolOutputFile::ToolOutputFile(StringRef Filename, std::error_code &EC, argument
38 : Installer(Filename), OS(Filename, EC, Flags) {
40 if (EC)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionVisitor.cpp35 if (auto EC = Fragment.initialize(Reader))
36 return EC;
42 if (auto EC = Fragment.initialize(Reader))
43 return EC;
49 if (auto EC = Fragment.initialize(Reader))
50 return EC;
55 if (auto EC = Section.initialize(Reader))
56 return EC;
61 if (auto EC = Section.initialize(Reader))
62 return EC;
[all...]
H A DCVSymbolVisitor.cpp25 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord))
26 return EC;
34 if (auto EC = Callbacks.visitUnknownSymbol(Record))
35 return EC;
39 if (auto EC = visitKnownRecord<Name>(Record, Callbacks)) \
40 return EC; \
48 if (auto EC = Callbacks.visitSymbolEnd(Record))
49 return EC;
55 if (auto EC = Callbacks.visitSymbolBegin(Record))
56 return EC;
[all...]
H A DDebugInlineeLinesSubsection.cpp27 if (auto EC = Reader.readObject(Item.Header))
28 return EC;
32 if (auto EC = Reader.readInteger(ExtraFileCount))
33 return EC;
34 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount))
35 return EC;
46 if (auto EC = Reader.readEnum(Signature))
47 return EC;
50 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining()))
51 return EC;
[all...]
H A DCodeViewRecordIO.cpp107 if (auto EC = Writer->writeBytes(Bytes))
108 return EC;
110 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining()))
111 return EC;
119 if (auto EC = mapByteVectorTail(BytesRef, Comment))
120 return EC;
137 if (auto EC = Writer->writeInteger(TypeInd.getIndex()))
138 return EC;
141 if (auto EC = Reader->readInteger(I))
142 return EC;
[all...]
H A DRecordSerialization.cpp40 if (auto EC = Reader.readInteger(Short))
41 return EC;
52 if (auto EC = Reader.readInteger(N))
53 return EC;
59 if (auto EC = Reader.readInteger(N))
60 return EC;
66 if (auto EC = Reader.readInteger(N))
67 return EC;
73 if (auto EC = Reader.readInteger(N))
74 return EC;
108 auto EC = consume(SR, Num); local
134 auto EC = consume(SR, Item); local
[all...]
H A DDebugFrameDataSubsection.cpp17 if (auto EC = Reader.readObject(RelocPtr))
18 return EC;
26 if (auto EC = Reader.readArray(Frames, Count))
27 return EC;
45 if (auto EC = Writer.writeInteger<uint32_t>(0))
46 return EC;
54 if (auto EC = Writer.writeArray(makeArrayRef(SortedFrames)))
55 return EC;
H A DSymbolSerializer.cpp31 if (auto EC = writeRecordPrefix(Record.kind()))
32 return EC;
35 if (auto EC = Mapping.visitSymbolBegin(Record))
36 return EC;
44 if (auto EC = Mapping.visitSymbolEnd(Record))
45 return EC;
50 if (auto EC = Writer.writeInteger(Length))
51 return EC;
H A DDebugLinesSubsection.cpp27 if (auto EC = Reader.readObject(BlockHeader))
28 return EC;
44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines))
45 return EC;
47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines))
48 return EC;
57 if (auto EC = Reader.readObject(Header))
58 return EC;
61 if (auto EC = Reader.readArray(LinesAndColumns, Reader.bytesRemaining()))
62 return EC;
[all...]
H A DDebugChecksumsSubsection.cpp39 if (auto EC = Reader.readObject(Header))
40 return EC;
44 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize))
45 return EC;
52 if (auto EC = Reader.readArray(Checksums, Reader.bytesRemaining()))
53 return EC;
100 if (auto EC = Writer.writeObject(Header))
101 return EC;
102 if (auto EC = Writer.writeArray(makeArrayRef(FC.Checksum)))
103 return EC;
[all...]
H A DDebugSubsectionRecord.cpp35 if (auto EC = Reader.readObject(Header))
36 return EC;
40 if (auto EC = Reader.readStreamRef(Info.Data, Header->Length))
41 return EC;
83 if (auto EC = Writer.writeObject(Header))
84 return EC;
86 if (auto EC = Subsection->commit(Writer))
87 return EC;
89 if (auto EC = Writer.writeStreamRef(Contents.getRecordData()))
90 return EC;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeVisitorCallbackPipeline.h27 if (auto EC = Visitor->visitUnknownType(Record))
28 return EC;
35 if (auto EC = Visitor->visitUnknownMember(Record))
36 return EC;
43 if (auto EC = Visitor->visitTypeBegin(Record))
44 return EC;
51 if (auto EC = Visitor->visitTypeBegin(Record, Index))
52 return EC;
59 if (auto EC = Visitor->visitTypeEnd(Record))
60 return EC;
[all...]
H A DSymbolVisitorCallbackPipeline.h26 if (auto EC = Visitor->visitUnknownSymbol(Record))
27 return EC;
34 if (auto EC = Visitor->visitSymbolBegin(Record, Offset))
35 return EC;
42 if (auto EC = Visitor->visitSymbolBegin(Record))
43 return EC;
50 if (auto EC = Visitor->visitSymbolEnd(Record))
51 return EC;
63 if (auto EC = Visitor->visitKnownRecord(CVR, Record)) \
64 return EC; \
[all...]
H A DSymbolDeserializer.h40 if (auto EC = S.visitSymbolBegin(Symbol))
41 return EC;
42 if (auto EC = S.visitKnownRecord(Symbol, Record))
43 return EC;
44 if (auto EC = S.visitSymbolEnd(Symbol))
45 return EC;
50 if (auto EC = deserializeAs<T>(Symbol, Record))
51 return std::move(EC);
70 auto EC = Mapping->Mapping.visitSymbolEnd(Record); variable
72 return EC;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntEqClasses.h28 /// EC - When uncompressed, map each integer to a smaller member of its
32 /// When compressed, EC[i] is the equivalence class of i.
33 SmallVector<unsigned, 8> EC; member in class:llvm::IntEqClasses
51 EC.clear();
77 return EC[a];
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp291 std::error_code EC; local
295 EC = sampleprof_error::malformed;
297 EC = sampleprof_error::truncated;
299 EC = sampleprof_error::success;
301 if (EC) {
302 reportError(0, EC.message());
303 return EC;
311 std::error_code EC; local
314 EC = sampleprof_error::truncated;
315 reportError(0, EC
325 std::error_code EC; local
340 std::error_code EC; local
937 std::error_code EC = readSummaryEntry(Entries); local
987 std::error_code EC = sampleprof_error::malformed; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DHashTable.cpp27 if (auto EC = Stream.readInteger(NumWords))
29 std::move(EC),
35 if (auto EC = Stream.readInteger(Word))
36 return joinErrors(std::move(EC),
52 if (auto EC = Writer.writeInteger(ReqWords))
54 std::move(EC),
65 if (auto EC = Writer.writeInteger(Word))
66 return joinErrors(std::move(EC), make_error<RawError>(
H A DPDBStringTable.cpp28 if (auto EC = Reader.readObject(Header))
29 return EC;
44 if (auto EC = Reader.readStreamRef(Stream))
45 return EC;
47 if (auto EC = Strings.initialize(Stream)) {
48 return joinErrors(std::move(EC),
64 if (auto EC = Reader.readObject(HashCount))
65 return EC;
67 if (auto EC = Reader.readArray(IDs, *HashCount)) {
68 return joinErrors(std::move(EC),
[all...]
H A DInfoStreamBuilder.cpp53 if (auto EC = Msf.setStreamSize(StreamPDB, Length))
54 return EC;
69 if (auto EC = Writer.writeObject(H))
70 return EC;
72 if (auto EC = NamedStreams.commit(Writer))
73 return EC;
74 if (auto EC = Writer.writeInteger(0))
75 return EC;
77 if (auto EC = Writer.writeEnum(E))
78 return EC;
[all...]
H A DModuleDebugStream.cpp61 if (auto EC = Reader.readInteger(Signature))
62 return EC;
64 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize))
65 return EC;
66 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size))
67 return EC;
68 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size))
69 return EC;
72 if (auto EC = SymbolReader.readArray(
74 return EC;
[all...]
H A DPDBStringTableBuilder.cpp159 if (auto EC = Writer.writeObject(H))
160 return EC;
166 if (auto EC = Strings.commit(Writer))
167 return EC;
176 if (auto EC = Writer.writeInteger(BucketCount))
177 return EC;
194 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets)))
195 return EC;
202 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size()))
203 return EC;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DEdgeBundles.h28 /// EC - Each edge bundle is an equivalence class. The keys are:
31 IntEqClasses EC; member in class:llvm::EdgeBundles
42 unsigned getBundle(unsigned N, bool Out) const { return EC[2 * N + Out]; }
45 unsigned getNumBundles() const { return EC.getNumClasses(); }

Completed in 154 milliseconds

1234567891011>>