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

1234567891011>>

/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DIntEqClasses.cpp27 EC.reserve(N);
28 while (EC.size() < N)
29 EC.push_back(EC.size());
34 unsigned eca = EC[a];
35 unsigned ecb = EC[b];
41 EC[b] = eca;
43 ecb = EC[b];
45 EC[a] = ecb;
47 eca = EC[
[all...]
H A DError.cpp92 Error errorCodeToError(std::error_code EC) { argument
93 if (!EC)
95 return Error(std::make_unique<ECError>(ECError(EC)));
99 std::error_code EC; local
101 EC = EI.convertToErrorCode();
103 if (EC == inconvertibleErrorCode())
104 report_fatal_error(Twine(EC.message()));
105 return EC;
121 StringError::StringError(std::error_code EC, const Twine &S) argument
122 : Msg(S.str()), EC(E
124 StringError(const Twine &S, std::error_code EC) argument
141 createStringError(std::error_code EC, char const *Msg) argument
[all...]
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionVisitor.cpp36 if (auto EC = Fragment.initialize(Reader))
37 return EC;
43 if (auto EC = Fragment.initialize(Reader))
44 return EC;
50 if (auto EC = Fragment.initialize(Reader))
51 return EC;
56 if (auto EC = Section.initialize(Reader))
57 return EC;
62 if (auto EC = Section.initialize(Reader))
63 return EC;
[all...]
H A DDebugInlineeLinesSubsection.cpp28 if (auto EC = Reader.readObject(Item.Header))
29 return EC;
33 if (auto EC = Reader.readInteger(ExtraFileCount))
34 return EC;
35 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount))
36 return EC;
47 if (auto EC = Reader.readEnum(Signature))
48 return EC;
51 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining()))
52 return EC;
[all...]
H A DCodeViewRecordIO.cpp109 if (auto EC = Writer->writeBytes(Bytes))
110 return EC;
112 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining()))
113 return EC;
121 if (auto EC = mapByteVectorTail(BytesRef, Comment))
122 return EC;
139 if (auto EC = Writer->writeInteger(TypeInd.getIndex()))
140 return EC;
143 if (auto EC = Reader->readInteger(I))
144 return EC;
[all...]
H A DCVSymbolVisitor.cpp29 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord))
30 return EC;
38 if (auto EC = Callbacks.visitUnknownSymbol(Record))
39 return EC;
43 if (auto EC = visitKnownRecord<Name>(Record, Callbacks)) \
44 return EC; \
52 if (auto EC = Callbacks.visitSymbolEnd(Record))
53 return EC;
59 if (auto EC = Callbacks.visitSymbolBegin(Record))
60 return EC;
[all...]
H A DDebugSubsectionRecord.cpp32 if (auto EC = Reader.readObject(Header))
33 return EC;
37 if (auto EC = Reader.readStreamRef(Info.Data, Header->Length))
38 return EC;
80 if (auto EC = Writer.writeObject(Header))
81 return EC;
83 if (auto EC = Subsection->commit(Writer))
84 return EC;
86 if (auto EC = Writer.writeStreamRef(Contents.getRecordData()))
87 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.cpp19 if (auto EC = Reader.readObject(RelocPtr))
20 return EC;
28 if (auto EC = Reader.readArray(Frames, Count))
29 return EC;
47 if (auto EC = Writer.writeInteger<uint32_t>(0))
48 return EC;
55 if (auto EC = Writer.writeArray(ArrayRef(SortedFrames)))
56 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...]
/openbsd-current/gnu/llvm/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...]
/openbsd-current/gnu/llvm/llvm/include/llvm/ADT/
H A DIntEqClasses.h29 /// EC - When uncompressed, map each integer to a smaller member of its
33 /// When compressed, EC[i] is the equivalence class of i.
34 SmallVector<unsigned, 8> EC; member in class:llvm::IntEqClasses
52 EC.clear();
78 return EC[a];
/openbsd-current/gnu/llvm/llvm/lib/ProfileData/
H A DSampleProfReader.cpp468 std::error_code EC; local
472 EC = sampleprof_error::malformed;
474 EC = sampleprof_error::truncated;
476 EC = sampleprof_error::success;
478 if (EC) {
479 reportError(0, EC.message());
480 return EC;
488 std::error_code EC; local
491 EC = sampleprof_error::truncated;
492 reportError(0, EC
502 std::error_code EC; local
517 std::error_code EC; local
[all...]
H A DSampleProfWriter.cpp48 if (std::error_code EC = writeSample(*I.second))
49 return EC;
55 if (std::error_code EC = writeHeader(ProfileMap))
56 return EC;
58 if (std::error_code EC = writeFuncProfiles(ProfileMap))
59 return EC;
109 if (std::error_code EC = compressAndOutput())
110 return EC;
119 if (std::error_code EC = writeHeader(ProfileMap))
120 return EC;
[all...]
/openbsd-current/gnu/llvm/lldb/include/lldb/Target/
H A DAppleArm64ExceptionClass.h28 * | EC |IL| ISS |
31 * EC - Exception Class
38 inline const char *toString(AppleArm64ExceptionClass EC) { argument
39 switch (EC) {
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DHashTable.cpp24 if (auto EC = Stream.readInteger(NumWords))
26 std::move(EC),
32 if (auto EC = Stream.readInteger(Word))
33 return joinErrors(std::move(EC),
49 if (auto EC = Writer.writeInteger(ReqWords))
51 std::move(EC),
62 if (auto EC = Writer.writeInteger(Word))
63 return joinErrors(std::move(EC), make_error<RawError>(
H A DPDBStringTable.cpp27 if (auto EC = Reader.readObject(Header))
28 return EC;
43 if (auto EC = Reader.readStreamRef(Stream))
44 return EC;
46 if (auto EC = Strings.initialize(Stream)) {
47 return joinErrors(std::move(EC),
63 if (auto EC = Reader.readObject(HashCount))
64 return EC;
66 if (auto EC = Reader.readArray(IDs, *HashCount)) {
67 return joinErrors(std::move(EC),
[all...]
H A DInfoStreamBuilder.cpp51 if (auto EC = Msf.setStreamSize(StreamPDB, Length))
52 return EC;
67 if (auto EC = Writer.writeObject(H))
68 return EC;
70 if (auto EC = NamedStreams.commit(Writer))
71 return EC;
72 if (auto EC = Writer.writeInteger(0))
73 return EC;
75 if (auto EC = Writer.writeEnum(E))
76 return EC;
[all...]
H A DModuleDebugStream.cpp62 if (auto EC = Reader.readInteger(Signature))
63 return EC;
65 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize))
66 return EC;
67 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size))
68 return EC;
69 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size))
70 return EC;
73 if (auto EC = SymbolReader.readArray(
75 return EC;
[all...]
H A DPDBStringTableBuilder.cpp160 if (auto EC = Writer.writeObject(H))
161 return EC;
167 if (auto EC = Strings.commit(Writer))
168 return EC;
177 if (auto EC = Writer.writeInteger(BucketCount))
178 return EC;
195 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets)))
196 return EC;
203 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size()))
204 return EC;
[all...]
/openbsd-current/gnu/llvm/llvm/tools/dsymutil/
H A DReproducer.cpp15 static std::string createReproducerDir(std::error_code &EC) { argument
19 EC = sys::fs::create_directory(Root);
21 EC = sys::fs::createUniqueDirectory("dsymutil", Root);
24 return EC ? "" : std::string(Root);
30 ReproducerGenerate::ReproducerGenerate(std::error_code &EC, int Argc, argument
32 : Root(createReproducerDir(EC)), GenerateOnExit(GenerateOnExit) {
65 ReproducerUse::ReproducerUse(StringRef Root, std::error_code &EC) { argument
72 EC = Buffer.getError();
83 std::error_code EC; local
87 Repro = std::make_unique<ReproducerGenerate>(EC, Arg
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/
H A DEdgeBundles.h27 /// EC - Each edge bundle is an equivalence class. The keys are:
30 IntEqClasses EC; member in class:llvm::EdgeBundles
41 unsigned getBundle(unsigned N, bool Out) const { return EC[2 * N + Out]; }
44 unsigned getNumBundles() const { return EC.getNumClasses(); }

Completed in 168 milliseconds

1234567891011>>