Home
last modified time | relevance | path

Searched refs:MCBinaryExpr (Results 1 – 25 of 235) sorted by relevance

12345678910

/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCExpr.cpp91 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this); in print()
103 case MCBinaryExpr::Add: in print()
114 case MCBinaryExpr::AShr: OS << ">>"; break; in print()
115 case MCBinaryExpr::And: OS << '&'; break; in print()
116 case MCBinaryExpr::Div: OS << '/'; break; in print()
117 case MCBinaryExpr::EQ: OS << "=="; break; in print()
118 case MCBinaryExpr::GT: OS << '>'; break; in print()
119 case MCBinaryExpr::GTE: OS << ">="; break; in print()
120 case MCBinaryExpr::LAnd: OS << "&&"; break; in print()
121 case MCBinaryExpr::LOr: OS << "||"; break; in print()
[all …]
/external/llvm/lib/MC/
DMCExpr.cpp74 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this); in print()
86 case MCBinaryExpr::Add: in print()
97 case MCBinaryExpr::AShr: OS << ">>"; break; in print()
98 case MCBinaryExpr::And: OS << '&'; break; in print()
99 case MCBinaryExpr::Div: OS << '/'; break; in print()
100 case MCBinaryExpr::EQ: OS << "=="; break; in print()
101 case MCBinaryExpr::GT: OS << '>'; break; in print()
102 case MCBinaryExpr::GTE: OS << ">="; break; in print()
103 case MCBinaryExpr::LAnd: OS << "&&"; break; in print()
104 case MCBinaryExpr::LOr: OS << "||"; break; in print()
[all …]
/external/llvm-project/llvm/lib/MC/
DMCExpr.cpp115 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this); in print()
127 case MCBinaryExpr::Add: in print()
138 case MCBinaryExpr::AShr: OS << ">>"; break; in print()
139 case MCBinaryExpr::And: OS << '&'; break; in print()
140 case MCBinaryExpr::Div: OS << '/'; break; in print()
141 case MCBinaryExpr::EQ: OS << "=="; break; in print()
142 case MCBinaryExpr::GT: OS << '>'; break; in print()
143 case MCBinaryExpr::GTE: OS << ">="; break; in print()
144 case MCBinaryExpr::LAnd: OS << "&&"; break; in print()
145 case MCBinaryExpr::LOr: OS << "||"; break; in print()
[all …]
/external/llvm/include/llvm/MC/
DMCExpr.h383 class MCBinaryExpr : public MCExpr {
415 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS) in MCBinaryExpr() function
422 static const MCBinaryExpr *create(Opcode Op, const MCExpr *LHS,
424 static const MCBinaryExpr *createAdd(const MCExpr *LHS, const MCExpr *RHS, in createAdd()
428 static const MCBinaryExpr *createAnd(const MCExpr *LHS, const MCExpr *RHS, in createAnd()
432 static const MCBinaryExpr *createDiv(const MCExpr *LHS, const MCExpr *RHS, in createDiv()
436 static const MCBinaryExpr *createEQ(const MCExpr *LHS, const MCExpr *RHS, in createEQ()
440 static const MCBinaryExpr *createGT(const MCExpr *LHS, const MCExpr *RHS, in createGT()
444 static const MCBinaryExpr *createGTE(const MCExpr *LHS, const MCExpr *RHS, in createGTE()
448 static const MCBinaryExpr *createLAnd(const MCExpr *LHS, const MCExpr *RHS, in createLAnd()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCExpr.h423 class MCBinaryExpr : public MCExpr {
455 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS,
463 static const MCBinaryExpr *create(Opcode Op, const MCExpr *LHS,
467 static const MCBinaryExpr *createAdd(const MCExpr *LHS, const MCExpr *RHS, in createAdd()
472 static const MCBinaryExpr *createAnd(const MCExpr *LHS, const MCExpr *RHS, in createAnd()
477 static const MCBinaryExpr *createDiv(const MCExpr *LHS, const MCExpr *RHS, in createDiv()
482 static const MCBinaryExpr *createEQ(const MCExpr *LHS, const MCExpr *RHS, in createEQ()
487 static const MCBinaryExpr *createGT(const MCExpr *LHS, const MCExpr *RHS, in createGT()
492 static const MCBinaryExpr *createGTE(const MCExpr *LHS, const MCExpr *RHS, in createGTE()
497 static const MCBinaryExpr *createLAnd(const MCExpr *LHS, const MCExpr *RHS, in createLAnd()
[all …]
/external/llvm-project/llvm/include/llvm/MC/
DMCExpr.h476 class MCBinaryExpr : public MCExpr {
508 MCBinaryExpr(Opcode Op, const MCExpr *LHS, const MCExpr *RHS,
516 static const MCBinaryExpr *create(Opcode Op, const MCExpr *LHS,
520 static const MCBinaryExpr *createAdd(const MCExpr *LHS, const MCExpr *RHS, in createAdd()
525 static const MCBinaryExpr *createAnd(const MCExpr *LHS, const MCExpr *RHS, in createAnd()
530 static const MCBinaryExpr *createDiv(const MCExpr *LHS, const MCExpr *RHS, in createDiv()
535 static const MCBinaryExpr *createEQ(const MCExpr *LHS, const MCExpr *RHS, in createEQ()
540 static const MCBinaryExpr *createGT(const MCExpr *LHS, const MCExpr *RHS, in createGT()
545 static const MCBinaryExpr *createGTE(const MCExpr *LHS, const MCExpr *RHS, in createGTE()
550 static const MCBinaryExpr *createLAnd(const MCExpr *LHS, const MCExpr *RHS, in createLAnd()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp240 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16()
277 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16()
301 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed()
352 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21()
476 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm16Operands()
478 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands()
507 } else if (isa<MCBinaryExpr>(getImm())) { in addHiImm16Operands()
509 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addHiImm16Operands()
546 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm21Operands()
548 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm21Operands()
[all …]
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp225 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16()
262 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16()
286 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed()
337 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21()
460 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm16Operands()
462 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands()
490 } else if (isa<MCBinaryExpr>(getImm())) { in addHiImm16Operands()
492 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addHiImm16Operands()
529 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm21Operands()
531 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm21Operands()
[all …]
/external/llvm-project/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp242 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isHiImm16()
279 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16()
303 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) in isLoImm16Signed()
354 if (const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(Imm.Value)) { in isLoImm21()
478 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm16Operands()
480 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm16Operands()
509 } else if (isa<MCBinaryExpr>(getImm())) { in addHiImm16Operands()
511 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addHiImm16Operands()
548 } else if (isa<MCBinaryExpr>(getImm())) { in addLoImm21Operands()
550 const MCBinaryExpr *BinaryExpr = dyn_cast<MCBinaryExpr>(getImm()); in addLoImm21Operands()
[all …]
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp376 MCBinaryExpr::Opcode &Kind);
1092 const MCBinaryExpr *BE = cast<MCBinaryExpr>(E); in applyModifierToExpr()
1104 return MCBinaryExpr::create(BE->getOpcode(), LHS, RHS, getContext()); in applyModifierToExpr()
1199 MCBinaryExpr::Opcode &Kind, in getDarwinBinOpPrecedence()
1207 Kind = MCBinaryExpr::LAnd; in getDarwinBinOpPrecedence()
1210 Kind = MCBinaryExpr::LOr; in getDarwinBinOpPrecedence()
1217 Kind = MCBinaryExpr::Or; in getDarwinBinOpPrecedence()
1220 Kind = MCBinaryExpr::Xor; in getDarwinBinOpPrecedence()
1223 Kind = MCBinaryExpr::And; in getDarwinBinOpPrecedence()
1228 Kind = MCBinaryExpr::EQ; in getDarwinBinOpPrecedence()
[all …]
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmParser.cpp347 MCBinaryExpr::Opcode &Kind);
1344 const MCBinaryExpr *BE = cast<MCBinaryExpr>(E); in applyModifierToExpr()
1356 return MCBinaryExpr::create(BE->getOpcode(), LHS, RHS, getContext()); in applyModifierToExpr()
1492 MCBinaryExpr::Opcode &Kind, in getDarwinBinOpPrecedence()
1500 Kind = MCBinaryExpr::LAnd; in getDarwinBinOpPrecedence()
1503 Kind = MCBinaryExpr::LOr; in getDarwinBinOpPrecedence()
1508 Kind = MCBinaryExpr::Or; in getDarwinBinOpPrecedence()
1511 Kind = MCBinaryExpr::Xor; in getDarwinBinOpPrecedence()
1514 Kind = MCBinaryExpr::And; in getDarwinBinOpPrecedence()
1519 Kind = MCBinaryExpr::EQ; in getDarwinBinOpPrecedence()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp347 MCBinaryExpr::Opcode &Kind);
1338 const MCBinaryExpr *BE = cast<MCBinaryExpr>(E); in applyModifierToExpr()
1350 return MCBinaryExpr::create(BE->getOpcode(), LHS, RHS, getContext()); in applyModifierToExpr()
1486 MCBinaryExpr::Opcode &Kind, in getDarwinBinOpPrecedence()
1494 Kind = MCBinaryExpr::LAnd; in getDarwinBinOpPrecedence()
1497 Kind = MCBinaryExpr::LOr; in getDarwinBinOpPrecedence()
1504 Kind = MCBinaryExpr::Or; in getDarwinBinOpPrecedence()
1507 Kind = MCBinaryExpr::Xor; in getDarwinBinOpPrecedence()
1510 Kind = MCBinaryExpr::And; in getDarwinBinOpPrecedence()
1515 Kind = MCBinaryExpr::EQ; in getDarwinBinOpPrecedence()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp29 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference()
52 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
/external/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp120 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
124 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
129 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp119 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
123 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
128 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
/external/llvm-project/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp119 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand()
123 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand()
128 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
/external/llvm-project/llvm/unittests/CodeGen/
DAsmPrinterDwarfTest.cpp220 const MCBinaryExpr *ActualArg0 = dyn_cast_or_null<MCBinaryExpr>(Arg0); in TEST_F()
222 EXPECT_EQ(ActualArg0->getOpcode(), MCBinaryExpr::Add); in TEST_F()
244 const MCBinaryExpr *ActualArg0 = dyn_cast_or_null<MCBinaryExpr>(Arg0); in TEST_F()
246 EXPECT_EQ(ActualArg0->getOpcode(), MCBinaryExpr::Add); in TEST_F()
/external/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreInstPrinter.cpp55 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) { in printExpr()
/external/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp47 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference()
72 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
/external/llvm/lib/Target/XCore/InstPrinter/
DXCoreInstPrinter.cpp53 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) { in printExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreInstPrinter.cpp55 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) { in printExpr()
/external/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.cpp39 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) in printExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp48 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference()
73 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetObjectFile.cpp47 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference()
72 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp36 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference()
59 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()

12345678910