Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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 …]
DMCELFStreamer.cpp458 fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr()); in fixSymbolsInTLSFixups()
DMCStreamer.cpp1010 visitUsedExpr(*cast<MCUnaryExpr>(Expr).getSubExpr()); in visitUsedExpr()
/third_party/skia/third_party/externals/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()) {
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyWasmObjectWriter.cpp59 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr)) in getFixupSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCExpr.cpp72 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp137 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCExpr.cpp191 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp121 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp245 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp203 LHS = MCUnaryExpr::createMinus(Sub, Ctx); in tryAddingSymbolicOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp191 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp443 return needsPCRel(cast<MCUnaryExpr>(Expr)->getSubExpr()); in needsPCRel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp587 MCUnaryExpr::createMinus(Expr, OutContext), OutContext)); in HexagonProcessInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp642 else if (auto *UE = dyn_cast<MCUnaryExpr>(E)) in printMCExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp1255 return hasGOTReference(cast<MCUnaryExpr>(Expr)->getSubExpr()); in hasGOTReference()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp1782 if (const MCUnaryExpr *UExpr = dyn_cast<MCUnaryExpr>(Expr)) in getSingleMCSymbol()
1796 if (const MCUnaryExpr *UExpr = dyn_cast<MCUnaryExpr>(Expr)) in countMCSymbolRefExpr()
1815 return isEvaluated(cast<MCUnaryExpr>(Expr)->getSubExpr()); in isEvaluated()