Home
last modified time | relevance | path

Searched refs:TGError (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/TableGen/
DError.h22 class TGError {
26 TGError(ArrayRef<SMLoc> locs, const std::string &message) in TGError() function
36 void PrintWarning(const TGError &Warning);
41 void PrintError(const TGError &Error);
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp93 throw TGError(Rec->getLoc(), in addDagOperandMapping()
132 throw TGError(Rec->getLoc(), Rec->getName() + in evaluateExpansion()
136 throw TGError(Rec->getLoc(), "Pseudo result '" + Operator->getName() + in evaluateExpansion()
142 throw TGError(Rec->getLoc(), "Pseudo result '" + Operator->getName() + in evaluateExpansion()
146 throw TGError(Rec->getLoc(), "Pseudo result '" + Operator->getName() + in evaluateExpansion()
182 throw TGError(Rec->getLoc(), in evaluateExpansion()
DCodeGenInstruction.cpp425 throw TGError(Loc, "result argument #" + utostr(AliasOpNo) + in tryAliasOpMatch()
460 throw TGError(Loc, "fixed register " + ADI->getDef()->getName() + in tryAliasOpMatch()
465 throw TGError(Loc, "result fixed register argument must " in tryAliasOpMatch()
494 throw TGError(Loc, "result argument #" + utostr(AliasOpNo) + in tryAliasOpMatch()
523 throw TGError(R->getLoc(), "result of inst alias should be an instruction"); in CodeGenInstAlias()
539 throw TGError(R->getLoc(), "result value $" + Result->getArgName(i) + in CodeGenInstAlias()
557 throw TGError(R->getLoc(), "not enough arguments for instruction!"); in CodeGenInstAlias()
598 throw TGError(R->getLoc(), "not enough arguments for instruction!"); in CodeGenInstAlias()
606 throw TGError(R->getLoc(), "result argument #" + utostr(AliasOpNo) + in CodeGenInstAlias()
613 throw TGError(R->getLoc(), "result argument #" + utostr(AliasOpNo) + in CodeGenInstAlias()
[all …]
DAsmMatcherEmitter.cpp682 throw TGError(Loc, "missing '=' in two-operand alias constraint"); in parseTwoOperandConstraint()
686 throw TGError(Loc, "expected '$' prefix on asm operand name"); in parseTwoOperandConstraint()
693 throw TGError(Loc, "expected '$' prefix on asm operand name"); in parseTwoOperandConstraint()
709 throw TGError(TheDef->getLoc(), in formTwoOperandAlias()
713 throw TGError(TheDef->getLoc(), in formTwoOperandAlias()
845 throw TGError(TheDef->getLoc(), in tokenizeAsmString()
849 throw TGError(TheDef->getLoc(), in tokenizeAsmString()
853 throw TGError(TheDef->getLoc(), in tokenizeAsmString()
863 throw TGError(TheDef->getLoc(), "instruction with empty asm string"); in validate()
868 throw TGError(TheDef->getLoc(), in validate()
[all …]
DDisassemblerEmitter.cpp123 throw TGError(Target.getTargetRecord()->getLoc(), in EmitDisassembler()
DCodeGenRegisters.cpp57 throw TGError(TheDef->getLoc(), "ComposedOf must have exactly two entries"); in updateComponents()
62 throw TGError(TheDef->getLoc(), "Ambiguous ComposedOf entries"); in updateComponents()
69 throw TGError(TheDef->getLoc(), in updateComponents()
108 throw TGError(TheDef->getLoc(), in buildObjectGraph()
220 throw TGError(TheDef->getLoc(), "SubRegIndex " + Idx->getName() + in computeSubRegs()
304 throw TGError(Loc, "Register " + getName() + in computeSubRegs()
316 throw TGError(Loc, "Sub-register can't have two names: " + in computeSubRegs()
463 throw TGError(TheDef->getLoc(), "No SubRegIndex for " + in computeSecondarySubRegs()
588 throw TGError(Def->getLoc(), "SubRegIndices and SubRegs size mismatch"); in expand()
590 throw TGError(Def->getLoc(), "Tuples must have at least 2 sub-registers"); in expand()
[all …]
DSetTheory.cpp307 throw TGError(Set->getLoc(), Error); in expand()
DFastISelEmitter.cpp553 throw TGError(Pattern.getSrcRecord()->getLoc(), in collectPatterns()
DAsmWriterEmitter.cpp540 throw TGError(Reg.TheDef->getLoc(), in emitRegisterNameString()
DCodeGenDAGPatterns.cpp776 throw TGError(R->getLoc(), "Cannot use 'Void' as type to SDTCisVT"); in SDTypeConstraint()
1719 throw TGError(TheRecord->getLoc(), "In " + TheRecord->getName() + ": " + Msg); in error()
/external/llvm/lib/TableGen/
DError.cpp46 void PrintWarning(const TGError &Warning) { in PrintWarning()
62 void PrintError(const TGError &Error) { in PrintError()
DMain.cpp114 } catch (const TGError &Error) { in TableGenMain()
DRecord.cpp778 throw TGError(CurRec->getLoc(), "Undefined reference:'" + Name + "'\n"); in Fold()
1052 throw TGError(CurRec->getLoc(), "!foreach requires an operator\n"); in ForeachHelper()
1058 throw TGError(CurRec->getLoc(), "!foreach requires typed variable\n"); in ForeachHelper()
1663 throw TGError(getLoc(), "Record name is not a string!"); in checkName()
1716 throw TGError(getLoc(), "Invalid value is found when setting '" in resolveReferencesTo()
/external/clang/utils/TableGen/
DNeonEmitter.cpp248 throw TGError(r->getLoc(), in ParseTypes()
1384 throw TGError(R->getLoc(), "Builtin has no class kind"); in emitIntrinsic()
1459 throw TGError(R->getLoc(), "Builtin has no class kind"); in runHeader()
1504 throw TGError(R->getLoc(), "Builtin has no class kind"); in runHeader()
1603 throw TGError(R->getLoc(), "Builtin has no class kind"); in runHeader()