Home
last modified time | relevance | path

Searched refs:MCConstantExpr (Results 1 – 25 of 228) sorted by relevance

12345678910

/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp444 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm9()
453 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s4()
462 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s8()
471 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSImm7s16()
515 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
526 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_1()
535 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_7()
544 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_8()
553 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm0_15()
562 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImm1_16()
[all …]
/external/llvm-project/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp215 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm.Value); in isBrImm()
232 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isHiImm16()
254 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isHiImm16And()
268 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16()
292 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16Signed()
315 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isLoImm16And()
328 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImmShift()
340 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm21()
370 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImm10()
381 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isCondCode()
[all …]
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp198 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm.Value); in isBrImm()
215 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isHiImm16()
237 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isHiImm16And()
251 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16()
275 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16Signed()
298 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isLoImm16And()
311 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImmShift()
323 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm21()
353 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImm10()
364 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isCondCode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp213 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm.Value); in isBrImm()
230 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isHiImm16()
252 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isHiImm16And()
266 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16()
290 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm16Signed()
313 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isLoImm16And()
326 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImmShift()
338 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isLoImm21()
368 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImm10()
379 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isCondCode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86Operand.h104 if (auto Imm = cast<MCConstantExpr>(Val)->getValue()) in print()
214 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti16i8()
228 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti32i8()
242 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i8()
256 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i32()
269 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi4()
278 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi8()
376 getMemBaseReg() == X86::SI) && isa<MCConstantExpr>(getMemDisp()) && in isSrcIdx()
377 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isSrcIdx()
396 getMemBaseReg() == X86::DI) && isa<MCConstantExpr>(getMemDisp()) && in isDstIdx()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h142 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti16i8()
156 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti32i8()
170 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i8()
184 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i32()
195 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi8()
294 getMemBaseReg() == X86::SI) && isa<MCConstantExpr>(getMemDisp()) && in isSrcIdx()
295 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isSrcIdx()
314 getMemBaseReg() == X86::DI) && isa<MCConstantExpr>(getMemDisp()) && in isDstIdx()
315 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isDstIdx()
379 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr()
[all …]
DX86AsmInstrumentation.cpp310 const MCExpr *Disp = MCConstantExpr::create(0, Ctx); in InstrumentMOVSBase()
319 const MCExpr *Disp = MCConstantExpr::create(-1, Ctx); in InstrumentMOVSBase()
329 const MCExpr *Disp = MCConstantExpr::create(0, Ctx); in InstrumentMOVSBase()
337 const MCExpr *Disp = MCConstantExpr::create(-1, Ctx); in InstrumentMOVSBase()
455 const MCConstantExpr *Disp = in ComputeMemOperandAddress()
456 MCConstantExpr::create(ApplyDisplacementBounds(Residue), Ctx); in ComputeMemOperandAddress()
480 static_cast<const MCConstantExpr *>(Op.getMemDisp())->getValue(); in AddDisplacement()
488 const MCExpr *Disp = MCConstantExpr::create(NewDisplacement, Ctx); in AddDisplacement()
639 const MCExpr *Disp = MCConstantExpr::create(kShadowOffset, Ctx); in InstrumentMemOperandSmall()
665 const MCExpr *Disp = MCConstantExpr::create(1, Ctx); in InstrumentMemOperandSmall()
[all …]
/external/llvm-project/llvm/lib/Target/X86/AsmParser/
DX86Operand.h103 if (auto Imm = cast<MCConstantExpr>(Val)->getValue()) in print()
217 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti16i8()
231 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti32i8()
245 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i8()
259 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i32()
272 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi4()
281 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi8()
384 getMemBaseReg() == X86::SI) && isa<MCConstantExpr>(getMemDisp()) && in isSrcIdx()
385 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isSrcIdx()
404 getMemBaseReg() == X86::DI) && isa<MCConstantExpr>(getMemDisp()) && in isDstIdx()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp513 const MCConstantExpr *OffsetImm; // Offset immediate value
683 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isARMBranchTarget()
692 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget()
703 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset()
717 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset()
735 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC()
749 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm()
756 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits16()
763 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFBits32()
770 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImm8s4()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp850 const MCConstantExpr *OffsetImm; // Offset immediate value
1038 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isARMBranchTarget()
1047 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget()
1058 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset()
1073 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset()
1088 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isLEOffset()
1103 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC()
1118 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm()
1127 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediate()
1136 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediateS4()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp784 const MCConstantExpr *OffsetImm; // Offset immediate value
972 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isARMBranchTarget()
981 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm())) in isThumbBranchTarget()
992 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUnsignedOffset()
1007 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isSignedOffset()
1022 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) { in isLEOffset()
1037 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val); in isThumbMemPC()
1052 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isFPImm()
1061 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediate()
1070 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmediateS4()
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp668 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6()
690 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled()
714 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern()
762 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
774 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange()
787 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm()
809 if (auto *CE = dyn_cast<MCConstantExpr>(getShiftedImmVal())) in getShiftedVal()
813 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in getShiftedVal()
887 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVECpyImm()
905 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVEAddSubImm()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp634 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6()
656 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmScaled()
680 auto *MCE = dyn_cast<MCConstantExpr>(getImm()); in isSVEPattern()
728 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm12Offset()
740 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isImmInRange()
753 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isLogicalImm()
774 if (auto *CE = dyn_cast<MCConstantExpr>(getShiftedImmVal())) in getShiftedVal()
778 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in getShiftedVal()
852 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVECpyImm()
870 if (!isShiftedImm() && (!isImm() || !isa<MCConstantExpr>(getImm()))) in isSVEAddSubImm()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp257 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset()
258 auto *NewCE = MCConstantExpr::create(V / int32_t(VectorSize), Ctx); in ScaleVectorOffset()
291 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
298 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
305 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
312 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
319 const MCConstantExpr *C255 = MCConstantExpr::create(255, OutContext); in HexagonProcessInstruction()
442 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
478 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
505 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp257 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset()
258 auto *NewCE = MCConstantExpr::create(V / int32_t(VectorSize), Ctx); in ScaleVectorOffset()
291 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
298 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
305 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
312 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction()
319 const MCConstantExpr *C255 = MCConstantExpr::create(255, OutContext); in HexagonProcessInstruction()
442 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
478 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
505 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp96 Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
107 Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
113 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
135 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
/external/llvm-project/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp96 Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
107 Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
113 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
135 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/MC/MCDisassembler/
DMCExternalSymbolizer.cpp97 Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
108 Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
114 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
136 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCExpr.cpp47 auto Value = cast<MCConstantExpr>(*this).getValue(); in print()
48 auto PrintInHex = cast<MCConstantExpr>(*this).useHexFormat(); in print()
94 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
105 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print()
135 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
169 const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx, in create()
171 return new (Ctx) MCConstantExpr(Value, PrintInHex); in create()
496 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) { in evaluateAsAbsolute()
709 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
/external/llvm/lib/MC/
DMCExpr.cpp38 OS << cast<MCConstantExpr>(*this).getValue(); in print()
77 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
88 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print()
118 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
151 const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx) { in create()
152 return new (Ctx) MCConstantExpr(Value); in create()
433 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) { in evaluateAsAbsolute()
615 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
/external/llvm-project/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp178 Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
189 Sub = MCConstantExpr::create(SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
195 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
217 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp178 Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
189 Sub = MCConstantExpr::create(SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
195 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
217 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64ExternalSymbolizer.cpp177 Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand()
188 Sub = MCConstantExpr::create(SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand()
194 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand()
216 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
/external/llvm-project/llvm/lib/MC/
DMCExpr.cpp47 auto Value = cast<MCConstantExpr>(*this).getValue(); in print()
48 auto PrintInHex = cast<MCConstantExpr>(*this).useHexFormat(); in print()
49 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print()
118 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
129 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print()
160 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
194 const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx, in create()
197 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create()
564 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) { in evaluateAsAbsolute()
801 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp168 const MCConstantExpr *C = dyn_cast<MCConstantExpr>(MO.getExpr()); in getLitEncoding()
227 if (const MCConstantExpr *C = dyn_cast<MCConstantExpr>(Op.getExpr())) in encodeInstruction()

12345678910