Home
last modified time | relevance | path

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

123

/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 …]
/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-project/llvm/lib/MC/
DMCExpr.cpp100 const MCUnaryExpr &UE = cast<MCUnaryExpr>(*this); in print()
102 case MCUnaryExpr::LNot: OS << '!'; break; in print()
103 case MCUnaryExpr::Minus: OS << '-'; break; in print()
104 case MCUnaryExpr::Not: OS << '~'; break; in print()
105 case MCUnaryExpr::Plus: OS << '+'; break; in print()
189 const MCUnaryExpr *MCUnaryExpr::create(Opcode Opc, const MCExpr *Expr, in create()
191 return new (Ctx) MCUnaryExpr(Opc, Expr, Loc); in create()
856 const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this); in evaluateAsRelocatableImpl()
864 case MCUnaryExpr::LNot: in evaluateAsRelocatableImpl()
869 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/llvm-project/llvm/include/llvm/MC/
DMCExpr.h420 class MCUnaryExpr : public MCExpr {
432 MCUnaryExpr(Opcode Op, const MCExpr *Expr, SMLoc Loc) in MCUnaryExpr() function
439 static const MCUnaryExpr *create(Opcode Op, const MCExpr *Expr,
442 static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
446 static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
450 static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
454 static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx, SMLoc Loc = SMLoc()) {
/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-project/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp721 if (const MCUnaryExpr *UnExpr = dyn_cast<MCUnaryExpr>(Expr)) { in addNegOperand()
722 if (UnExpr->getOpcode() == MCUnaryExpr::Minus) { in addNegOperand()
734 Inst.addOperand(MCOperand::createExpr(MCUnaryExpr::createMinus(Expr, Ctx))); in addNegOperand()
1318 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in ExtractModifierFromExpr()
1322 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in ExtractModifierFromExpr()
1384 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in FixupVariantKind()
1388 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in FixupVariantKind()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp137 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/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/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp137 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm-project/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/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/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp59 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr)) in getFixupSection()
/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-project/llvm/lib/Target/VE/MCTargetDesc/
DVEMCExpr.cpp205 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.cpp190 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.cpp191 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/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/llvm-project/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp121 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/external/llvm-project/llvm/lib/Target/VE/AsmParser/
DVEAsmParser.cpp1076 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in extractModifierFromExpr()
1080 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in extractModifierFromExpr()
1123 const MCUnaryExpr *UE = cast<MCUnaryExpr>(E); in fixupVariantKind()
1127 return MCUnaryExpr::create(UE->getOpcode(), Sub, Context); in fixupVariantKind()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp245 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()

123