/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 419 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm9() 428 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s4() 437 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s8() 446 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s16() 490 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset() 501 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_7() 510 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_8() 519 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_15() 528 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_16() 537 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_31() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 139 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti16i8() 153 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti32i8() 167 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i8() 181 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i32() 192 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi8() 274 getMemBaseReg() == X86::SI) && isa<MCConstantExpr>(getMemDisp()) && in isSrcIdx() 275 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isSrcIdx() 294 getMemBaseReg() == X86::DI) && isa<MCConstantExpr>(getMemDisp()) && in isDstIdx() 295 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isDstIdx() 359 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr() [all …]
|
D | X86AsmInstrumentation.cpp | 319 const MCExpr *Disp = MCConstantExpr::Create(0, Ctx); in InstrumentMOVSBase() 328 const MCExpr *Disp = MCConstantExpr::Create(-1, Ctx); in InstrumentMOVSBase() 338 const MCExpr *Disp = MCConstantExpr::Create(0, Ctx); in InstrumentMOVSBase() 346 const MCExpr *Disp = MCConstantExpr::Create(-1, Ctx); in InstrumentMOVSBase() 464 const MCConstantExpr *Disp = in ComputeMemOperandAddress() 465 MCConstantExpr::Create(ApplyDisplacementBounds(Residue), Ctx); in ComputeMemOperandAddress() 489 static_cast<const MCConstantExpr *>(Op.getMemDisp())->getValue(); in AddDisplacement() 497 const MCExpr *Disp = MCConstantExpr::Create(NewDisplacement, Ctx); in AddDisplacement() 647 const MCExpr *Disp = MCConstantExpr::Create(kShadowOffset, Ctx); in InstrumentMemOperandSmall() 673 const MCExpr *Disp = MCConstantExpr::Create(1, Ctx); in InstrumentMemOperandSmall() [all …]
|
D | X86AsmParser.cpp | 975 const MCExpr *Disp = MCConstantExpr::Create(0, getContext()); in DefaultMemSIOperand() 984 const MCExpr *Disp = MCConstantExpr::Create(0, getContext()); in DefaultMemDIOperand() 1267 const MCExpr *Imm = MCConstantExpr::Create(SM.getImm(), getContext()); in ParseIntelBracExpression() 1384 const MCExpr *Disp = MCConstantExpr::Create(ImmDisp, getContext()); in ParseIntelSegmentOverride() 1436 MCConstantExpr::Create(rndMode, Parser.getContext()); in ParseRoundingModeOp() 1493 const MCExpr *Disp = MCConstantExpr::Create(SM.getImm(), getContext()); in ParseIntelMemOperand() 1510 if (const MCConstantExpr *OrigDisp = dyn_cast<MCConstantExpr>(Disp)) in ParseIntelDotOperator() 1543 NewDisp = MCConstantExpr::Create(OrigDispVal + DotDispVal, getContext()); in ParseIntelDotOperator() 1617 const MCExpr *Imm = MCConstantExpr::Create(CVal, getContext()); in ParseIntelOperator() 1677 const MCExpr *ImmExpr = MCConstantExpr::Create(Imm, getContext()); in ParseIntelOperand() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 489 const MCConstantExpr *OffsetImm; // Offset immediate value 735 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset() 749 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset() 767 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC() 781 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm() 788 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits16() 795 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits32() 802 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm8s4() 809 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_1020s4() 816 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_508s4() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MachORelocationInfo.cpp | 42 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx)); in createExprForRelocation() 51 MCConstantExpr::Create(4, Ctx), in createExprForRelocation() 56 MCConstantExpr::Create(2, Ctx), in createExprForRelocation() 61 MCConstantExpr::Create(1, Ctx), in createExprForRelocation() 97 RSym->setVariableValue(MCConstantExpr::Create(RSymAddr, Ctx)); in createExprForRelocation()
|
D | X86ELFRelocationInfo.cpp | 40 Sym->setVariableValue(MCConstantExpr::Create(SymAddr, Ctx)); in createExprForRelocation() 116 Expr = MCConstantExpr::Create(SymSize, Ctx); in createExprForRelocation() 124 MCConstantExpr::Create(Addend, Ctx), in createExprForRelocation()
|
/external/llvm/lib/MC/MCDisassembler/ |
D | MCExternalSymbolizer.cpp | 93 Add = MCConstantExpr::Create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand() 104 Sub = MCConstantExpr::Create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand() 110 Off = MCConstantExpr::Create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 132 Expr = MCConstantExpr::Create(0, Ctx); in tryAddingSymbolicOperand()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 38 OS << cast<MCConstantExpr>(*this).getValue(); in print() 74 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print() 83 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print() 112 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print() 143 const MCConstantExpr *MCConstantExpr::Create(int64_t Value, MCContext &Ctx) { in Create() 144 return new (Ctx) MCConstantExpr(Value); in Create() 430 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) { in evaluateAsAbsolute() 615 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in EvaluateAsRelocatableImpl()
|
/external/llvm/lib/Target/AArch64/Disassembler/ |
D | AArch64ExternalSymbolizer.cpp | 175 Add = MCConstantExpr::Create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand() 186 Sub = MCConstantExpr::Create(SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand() 192 Off = MCConstantExpr::Create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 214 Expr = MCConstantExpr::Create(0, Ctx); in tryAddingSymbolicOperand()
|
/external/llvm/lib/Target/XCore/InstPrinter/ |
D | XCoreInstPrinter.cpp | 54 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); in printExpr()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | Win64Exception.cpp | 88 MCConstantExpr::Create(I->second, Asm->OutContext)); in beginFunction() 141 return MCConstantExpr::Create(0, Asm->OutContext); in createImageRel32() 148 return MCConstantExpr::Create(0, Asm->OutContext); in createImageRel32() 237 MCConstantExpr::Create(1, Asm->OutContext), in emitCSpecificHandlerTable() 480 FrameAllocOffsetRef = MCConstantExpr::Create(0, Asm->OutContext); in emitCXXFrameHandler3Table()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreMCInstLower.cpp | 76 const MCConstantExpr *OffsetExpr = MCConstantExpr::Create(Offset, *Ctx); in LowerSymbolOperand()
|
D | XCoreAsmPrinter.cpp | 103 MCConstantExpr::Create(ATy->getNumElements(), in emitArrayBound() 160 OutStreamer.EmitELFSize(GVSym, MCConstantExpr::Create(Size, OutContext)); in EmitGlobalVariable()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 36 const MCExpr *Four = MCConstantExpr::Create(4, getContext()); in getTTypeGlobalReference() 59 const MCExpr *Off = MCConstantExpr::Create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetObjectFile.cpp | 60 MCConstantExpr::Create(0x8000, getContext()), in getDebugThreadLocalSymbol()
|
/external/llvm/lib/Target/X86/InstPrinter/ |
D | X86IntelInstPrinter.cpp | 132 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm()
|
D | X86ATTInstPrinter.cpp | 151 const MCConstantExpr *BranchTarget = dyn_cast<MCConstantExpr>(Op.getExpr()); in printPCRelImm()
|
/external/llvm/lib/Target/Mips/ |
D | MipsMCInstLower.cpp | 112 const MCConstantExpr *OffsetExpr = MCConstantExpr::Create(Offset, *Ctx); in LowerSymbolOperand()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64MCInstLower.cpp | 75 Expr, MCConstantExpr::Create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperandDarwin() 145 Expr, MCConstantExpr::Create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperandELF()
|
/external/llvm/include/llvm/MC/ |
D | MCExpr.h | 130 class MCConstantExpr : public MCExpr { 133 explicit MCConstantExpr(int64_t Value) in MCConstantExpr() function 140 static const MCConstantExpr *Create(int64_t Value, MCContext &Ctx);
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCExpr.cpp | 35 if (!isa<MCConstantExpr>(BE->getRHS())) in isSupportedBinaryExpr()
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
D | SystemZMCCodeEmitter.cpp | 204 Expr = MCConstantExpr::Create(MO.getImm() + Offset, Ctx); in getPCRelEncoding() 212 const MCExpr *OffsetExpr = MCConstantExpr::Create(Offset, Ctx); in getPCRelEncoding()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonMCInstLower.cpp | 34 ME = MCBinaryExpr::CreateAdd(ME, MCConstantExpr::Create(MO.getOffset(), MC), in GetSymbolRef()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZMCInstLower.cpp | 73 const MCExpr *OffsetExpr = MCConstantExpr::Create(Offset, Ctx); in getExpr()
|