/external/swiftshader/third_party/LLVM/lib/MC/ |
D | MCExpr.cpp | 84 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this); in print() 95 case MCBinaryExpr::Add: in print() 106 case MCBinaryExpr::And: OS << '&'; break; in print() 107 case MCBinaryExpr::Div: OS << '/'; break; in print() 108 case MCBinaryExpr::EQ: OS << "=="; break; in print() 109 case MCBinaryExpr::GT: OS << '>'; break; in print() 110 case MCBinaryExpr::GTE: OS << ">="; break; in print() 111 case MCBinaryExpr::LAnd: OS << "&&"; break; in print() 112 case MCBinaryExpr::LOr: OS << "||"; break; in print() 113 case MCBinaryExpr::LT: OS << '<'; break; in print() [all …]
|
D | MCObjectStreamer.cpp | 73 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Value); in AddValueSymbols() 241 MCBinaryExpr::Create(MCBinaryExpr::Sub, Offset, Ref, getContext()); in EmitValueToOffset()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 74 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 …]
|
D | MCWin64EH.cpp | 54 MCBinaryExpr::createSub(MCSymbolRefExpr::create(LHS, Context), in EmitAbsDifference() 131 const MCExpr *Ofs = MCBinaryExpr::createSub(OtherRef, BaseRef, Context); in EmitSymbolRefWithOfs() 135 streamer.EmitValue(MCBinaryExpr::createAdd(BaseRefRel, Ofs, Context), 4); in EmitSymbolRefWithOfs()
|
D | MCCodeView.cpp | 268 MCBinaryExpr::create(MCBinaryExpr::Sub, EndRef, BeginRef, Ctx); in computeLabelDiff() 400 const MCBinaryExpr *BE = in encodeDefRange() 401 MCBinaryExpr::createAdd(SRE, MCConstantExpr::create(Bias, Ctx), Ctx); in encodeDefRange()
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCExpr.h | 282 class MCBinaryExpr : public MCExpr { 313 MCBinaryExpr(Opcode _Op, const MCExpr *_LHS, const MCExpr *_RHS) in MCBinaryExpr() function 320 static const MCBinaryExpr *Create(Opcode Op, const MCExpr *LHS, 322 static const MCBinaryExpr *CreateAdd(const MCExpr *LHS, const MCExpr *RHS, in CreateAdd() 326 static const MCBinaryExpr *CreateAnd(const MCExpr *LHS, const MCExpr *RHS, in CreateAnd() 330 static const MCBinaryExpr *CreateDiv(const MCExpr *LHS, const MCExpr *RHS, in CreateDiv() 334 static const MCBinaryExpr *CreateEQ(const MCExpr *LHS, const MCExpr *RHS, in CreateEQ() 338 static const MCBinaryExpr *CreateGT(const MCExpr *LHS, const MCExpr *RHS, in CreateGT() 342 static const MCBinaryExpr *CreateGTE(const MCExpr *LHS, const MCExpr *RHS, in CreateGTE() 346 static const MCBinaryExpr *CreateLAnd(const MCExpr *LHS, const MCExpr *RHS, in CreateLAnd() [all …]
|
/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 383 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/llvm/lib/Target/Lanai/AsmParser/ |
D | LanaiAsmParser.cpp | 225 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/swiftshader/third_party/LLVM/lib/MC/MCParser/ |
D | AsmParser.cpp | 738 const MCBinaryExpr *BE = cast<MCBinaryExpr>(E); in ApplyModifierToExpr() 748 return MCBinaryExpr::Create(BE->getOpcode(), LHS, RHS, getContext()); in ApplyModifierToExpr() 825 MCBinaryExpr::Opcode &Kind) { in getBinOpPrecedence() 832 Kind = MCBinaryExpr::LAnd; in getBinOpPrecedence() 835 Kind = MCBinaryExpr::LOr; in getBinOpPrecedence() 843 Kind = MCBinaryExpr::Or; in getBinOpPrecedence() 846 Kind = MCBinaryExpr::Xor; in getBinOpPrecedence() 849 Kind = MCBinaryExpr::And; in getBinOpPrecedence() 854 Kind = MCBinaryExpr::EQ; in getBinOpPrecedence() 858 Kind = MCBinaryExpr::NE; in getBinOpPrecedence() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 376 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/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCExpr.cpp | 55 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Value); in AddValueSymbols_()
|
/external/llvm/lib/MC/MCDisassembler/ |
D | MCExternalSymbolizer.cpp | 120 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/llvm/lib/Target/XCore/InstPrinter/ |
D | XCoreInstPrinter.cpp | 53 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) { in printExpr()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetObjectFile.cpp | 47 return MCBinaryExpr::createSub(Res, PC, getContext()); in getTTypeGlobalReference() 72 return MCBinaryExpr::createSub(Res, PC, getContext()); in getIndirectSymViaGOTPCRel()
|
/external/llvm/lib/Target/BPF/InstPrinter/ |
D | BPFInstPrinter.cpp | 39 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) in printExpr()
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
D | AArch64ExternalSymbolizer.cpp | 200 LHS = MCBinaryExpr::createSub(Add, Sub, Ctx); in tryAddingSymbolicOperand() 204 Expr = MCBinaryExpr::createAdd(LHS, Off, Ctx); in tryAddingSymbolicOperand() 209 Expr = MCBinaryExpr::createAdd(Add, Off, Ctx); in tryAddingSymbolicOperand()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCExpr.cpp | 113 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Expr); in fixELFSymbolsInTLSFixupsImpl()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 747 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(FnEndLabel, OutContext), in EmitFunctionBody() 1094 MCBinaryExpr::CreateSub(LHS, Base, OutContext)); in EmitJumpTableInfo() 1163 Value = MCBinaryExpr::CreateSub(Value, JTI, OutContext); in EmitJumpTableEntry() 1321 MCBinaryExpr::CreateSub(MCSymbolRefExpr::Create(Hi, OutContext), in EmitLabelDifference() 1346 MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Hi, OutContext), in EmitLabelOffsetDifference() 1352 MCBinaryExpr::CreateSub(Plus, in EmitLabelOffsetDifference() 1375 MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Label, OutContext), in EmitLabelPlusOffset() 1466 return MCBinaryExpr::CreateAdd(Base, MCConstantExpr::Create(Offset, Ctx), in LowerConstant() 1508 return MCBinaryExpr::CreateAnd(OpExpr, MaskExpr, Ctx); in LowerConstant() 1526 case Instruction::Add: return MCBinaryExpr::CreateAdd(LHS, RHS, Ctx); in LowerConstant() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreMCInstLower.cpp | 77 const MCBinaryExpr *Add = MCBinaryExpr::createAdd(MCSym, OffsetExpr, *Ctx); in LowerSymbolOperand()
|
/external/llvm/lib/Target/Mips/ |
D | MipsMCInstLower.cpp | 166 Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(Offset, *Ctx), in LowerSymbolOperand() 210 const MCBinaryExpr *Sub = MCBinaryExpr::createSub(Sym1, Sym2, *Ctx); in createSub()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 959 const MCExpr *SizeExp = MCBinaryExpr::createSub( in EmitFunctionBody() 1086 if (isa<GlobalAlias>(&GIS) && MAI->hasAltEntry() && isa<MCBinaryExpr>(Expr)) in emitGlobalIndirectSymbol() 1428 MCBinaryExpr::createSub(LHS, Base, in EmitJumpTableInfo() 1504 Value = MCBinaryExpr::createSub(Value, Base, OutContext); in EmitJumpTableEntry() 1709 Expr = MCBinaryExpr::createAdd( in EmitLabelPlusOffset() 1790 return MCBinaryExpr::createAdd(Base, MCConstantExpr::create(Offset, Ctx), in lowerConstant() 1834 return MCBinaryExpr::createAnd(OpExpr, MaskExpr, Ctx); in lowerConstant() 1849 RelocExpr = MCBinaryExpr::createSub( in lowerConstant() 1854 RelocExpr = MCBinaryExpr::createAdd( in lowerConstant() 1876 case Instruction::Add: return MCBinaryExpr::createAdd(LHS, RHS, Ctx); in lowerConstant() [all …]
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 281 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTargetOpValue() 304 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTargetOpValue1SImm16() 328 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTargetOpValueMMR6() 418 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTarget21OpValue() 441 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTarget21OpValueMM() 464 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTarget26OpValue() 487 const MCExpr *FixupExpression = MCBinaryExpr::createAdd( in getBranchTarget26OpValueMM() 627 unsigned Res = getExprOpValue(cast<MCBinaryExpr>(Expr)->getLHS(), Fixups, STI); in getExprOpValue() 628 Res += getExprOpValue(cast<MCBinaryExpr>(Expr)->getRHS(), Fixups, STI); in getExprOpValue()
|
/external/llvm/lib/CodeGen/ |
D | FaultMaps.cpp | 35 const MCExpr *FaultingOffset = MCBinaryExpr::createSub( in recordFaultingOp() 39 const MCExpr *HandlerOffset = MCBinaryExpr::createSub( in recordFaultingOp()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 38 return MCBinaryExpr::createAdd(Res, Four, getContext()); in getTTypeGlobalReference() 61 return MCBinaryExpr::createAdd(Res, Off, getContext()); in getIndirectSymViaGOTPCRel()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCAsmPrinter.cpp | 505 MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol, in EmitInstruction() 554 MCOperand::createExpr(MCBinaryExpr::createSub(Exp, PB, OutContext)); in EmitInstruction() 601 Exp = MCBinaryExpr::createSub(Exp, PB, OutContext); in EmitInstruction() 799 MCBinaryExpr::createSub(MCSymbolRefExpr::create(GOTSymbol, OutContext), in EmitInstruction() 1045 MCBinaryExpr::createAdd(MCSymbolRefExpr::create(CurrentPos, OutContext), in EmitStartOfAsmFile() 1069 MCBinaryExpr::createSub( in EmitFunctionEntryLabel() 1094 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in EmitFunctionEntryLabel() 1206 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCSymbol, OutContext), in EmitFunctionBodyStart() 1225 MCBinaryExpr::createSub(MCSymbolRefExpr::create(TOCOffset, OutContext), in EmitFunctionBodyStart() 1243 MCBinaryExpr::createSub(LocalEntryLabelExp, in EmitFunctionBodyStart()
|