Home
last modified time | relevance | path

Searched refs:MCUnaryExpr (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/lib/MC/
DMCExpr.cpp62 const MCUnaryExpr &UE = cast<MCUnaryExpr>(*this); in print()
64 case MCUnaryExpr::LNot: OS << '!'; break; in print()
65 case MCUnaryExpr::Minus: OS << '-'; break; in print()
66 case MCUnaryExpr::Not: OS << '~'; break; in print()
67 case MCUnaryExpr::Plus: OS << '+'; break; in print()
146 const MCUnaryExpr *MCUnaryExpr::create(Opcode Opc, const MCExpr *Expr, in create()
148 return new (Ctx) MCUnaryExpr(Opc, Expr); in create()
649 const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this); in evaluateAsRelocatableImpl()
657 case MCUnaryExpr::LNot: in evaluateAsRelocatableImpl()
662 case MCUnaryExpr::Minus: in evaluateAsRelocatableImpl()
[all …]
DMCELFStreamer.cpp458 fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr()); in fixSymbolsInTLSFixups()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCExpr.cpp76 const MCUnaryExpr &UE = cast<MCUnaryExpr>(*this); in print()
78 case MCUnaryExpr::LNot: OS << '!'; break; in print()
79 case MCUnaryExpr::Minus: OS << '-'; break; in print()
80 case MCUnaryExpr::Not: OS << '~'; break; in print()
81 case MCUnaryExpr::Plus: OS << '+'; break; in print()
164 const MCUnaryExpr *MCUnaryExpr::create(Opcode Opc, const MCExpr *Expr, in create()
166 return new (Ctx) MCUnaryExpr(Opc, Expr, Loc); in create()
747 const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this); in evaluateAsRelocatableImpl()
755 case MCUnaryExpr::LNot: in evaluateAsRelocatableImpl()
760 case MCUnaryExpr::Minus: in evaluateAsRelocatableImpl()
[all …]
/external/llvm/include/llvm/MC/
DMCExpr.h330 class MCUnaryExpr : public MCExpr {
343 MCUnaryExpr(Opcode Op, const MCExpr *Expr) in MCUnaryExpr() function
350 static const MCUnaryExpr *create(Opcode Op, const MCExpr *Expr,
352 static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx) { in createLNot()
355 static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx) { in createMinus()
358 static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx) { in createNot()
361 static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx) { in createPlus()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCExpr.h366 class MCUnaryExpr : public MCExpr {
379 MCUnaryExpr(Opcode Op, const MCExpr *Expr, SMLoc Loc) in MCUnaryExpr() function
386 static const MCUnaryExpr *create(Opcode Op, const MCExpr *Expr,
389 static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
393 static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
397 static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
401 static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp696 if (const MCUnaryExpr *UnExpr = dyn_cast<MCUnaryExpr>(Expr)) { in addNegOperand()
697 if (UnExpr->getOpcode() == MCUnaryExpr::Minus) { in addNegOperand()
709 Inst.addOperand(MCOperand::createExpr(MCUnaryExpr::createMinus(Expr, Ctx))); in addNegOperand()
1279 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in ExtractModifierFromExpr()
1283 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in ExtractModifierFromExpr()
1345 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in FixupVariantKind()
1349 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in FixupVariantKind()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp59 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr)) in getFixupSection()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp128 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.cpp72 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp137 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp823 if (const MCUnaryExpr *UnExpr = dyn_cast<MCUnaryExpr>(Expr)) { in addNegOperand()
824 if (UnExpr->getOpcode() == MCUnaryExpr::Minus) { in addNegOperand()
836 Inst.addOperand(MCOperand::createExpr(MCUnaryExpr::createMinus(Expr, Ctx))); in addNegOperand()
1380 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in ExtractModifierFromExpr()
1384 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in ExtractModifierFromExpr()
1446 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in FixupVariantKind()
1450 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in FixupVariantKind()
/external/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp122 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp121 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.cpp191 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp203 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp202 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp230 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp245 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp188 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp191 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp2118 const MCUnaryExpr &UE = cast<MCUnaryExpr>(Expr); in printMCExpr()
2120 case MCUnaryExpr::LNot: OS << '!'; break; in printMCExpr()
2121 case MCUnaryExpr::Minus: OS << '-'; break; in printMCExpr()
2122 case MCUnaryExpr::Not: OS << '~'; break; in printMCExpr()
2123 case MCUnaryExpr::Plus: OS << '+'; break; in printMCExpr()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp2183 const MCUnaryExpr &UE = cast<MCUnaryExpr>(Expr); in printMCExpr()
2185 case MCUnaryExpr::LNot: OS << '!'; break; in printMCExpr()
2186 case MCUnaryExpr::Minus: OS << '-'; break; in printMCExpr()
2187 case MCUnaryExpr::Not: OS << '~'; break; in printMCExpr()
2188 case MCUnaryExpr::Plus: OS << '+'; break; in printMCExpr()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp886 Res = MCUnaryExpr::createLNot(Res, getContext()); in parsePrimaryExpr()
1035 Res = MCUnaryExpr::createMinus(Res, getContext()); in parsePrimaryExpr()
1041 Res = MCUnaryExpr::createPlus(Res, getContext()); in parsePrimaryExpr()
1047 Res = MCUnaryExpr::createNot(Res, getContext()); in parsePrimaryExpr()
1084 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in applyModifierToExpr()
1088 return MCUnaryExpr::create(UE->getOpcode(), Sub, getContext()); in applyModifierToExpr()
5299 Sym, static_cast<const MCUnaryExpr *>(Value)->getSubExpr()); in isSymbolUsedInExpression()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp443 return needsPCRel(cast<MCUnaryExpr>(Expr)->getSubExpr()); in needsPCRel()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp1085 Res = MCUnaryExpr::createLNot(Res, getContext(), FirstTokenLoc); in parsePrimaryExpr()
1244 Res = MCUnaryExpr::createMinus(Res, getContext(), FirstTokenLoc); in parsePrimaryExpr()
1250 Res = MCUnaryExpr::createPlus(Res, getContext(), FirstTokenLoc); in parsePrimaryExpr()
1256 Res = MCUnaryExpr::createNot(Res, getContext(), FirstTokenLoc); in parsePrimaryExpr()
1330 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in applyModifierToExpr()
1334 return MCUnaryExpr::create(UE->getOpcode(), Sub, getContext()); in applyModifierToExpr()
6048 Sym, static_cast<const MCUnaryExpr *>(Value)->getSubExpr()); in isSymbolUsedInExpression()

12