Home
last modified time | relevance | path

Searched refs:getCImm (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp195 MI->getOperand(1).getCImm()->getBitWidth() <= 64) in getConstantVRegVal()
196 return MI->getOperand(1).getCImm()->getSExtValue(); in getConstantVRegVal()
DLegalizerHelper.cpp528 const APInt &Cst = MI.getOperand(1).getCImm()->getValue(); in narrowScalar()
736 const APInt &Val = SrcMO.getCImm()->getValue().sext(WideTy.getSizeInBits()); in widenScalar()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DMachineOperandTest.cpp97 ASSERT_TRUE(MO.getCImm() == CImm); in TEST()
98 ASSERT_TRUE(MO.getCImm()->getValue() == Int); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp879 uint64_t Val = I.getOperand(1).getCImm()->getZExtValue(); in select()
1552 Immed = Root.getCImm()->getZExtValue(); in selectArithImmed()
1558 if (!Op1.isCImm() || Op1.getCImm()->getBitWidth() > 64) in selectArithImmed()
1560 Immed = Op1.getCImm()->getZExtValue(); in selectArithImmed()
1610 if (!RHSOp1.isCImm() || RHSOp1.getCImm()->getBitWidth() > 64) in selectAddrModeUnscaled()
1612 RHSC = RHSOp1.getCImm()->getSExtValue(); in selectAddrModeUnscaled()
1656 int64_t RHSC = (int64_t)RHSDef->getOperand(1).getCImm()->getZExtValue(); in selectAddrModeIndexed()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DInstructionSelectorImpl.h254 Value = State.MIs[InsnID]->getOperand(1).getCImm()->getSExtValue(); in executeMatchTable()
278 Value = State.MIs[InsnID]->getOperand(1).getCImm()->getValue(); in executeMatchTable()
579 if (!MO.isCImm() || !MO.getCImm()->equalsInt(Value)) { in executeMatchTable()
819 State.MIs[OldInsnID]->getOperand(1).getCImm()->getSExtValue()); in executeMatchTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineOperand.cpp272 return getCImm() == Other.getCImm(); in isIdenticalTo()
335 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
787 getCImm()->printAsOperand(OS, /*PrintType=*/true, MST); in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp119 return MI->getOperand(1).getCImm()->getSExtValue(); in getConstant()
333 ImmOp.ChangeToImmediate(ImmOp.getCImm()->getZExtValue()); in selectG_CONSTANT()
413 GEPInfo.Imm = OpDef->getOperand(1).getCImm()->getSExtValue(); in getAddrModeInfo()
DAMDGPURegisterBankInfo.cpp63 C = Def->getOperand(1).getCImm()->getSExtValue(); in isConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsInstructionSelector.cpp148 int Imm = I.getOperand(1).getCImm()->getValue().getLimitedValue(); in select()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineOperand.h365 const ConstantInt *getCImm() const { in getCImm() function
/external/llvm/lib/CodeGen/
DMachineInstr.cpp230 return getCImm() == Other.getCImm(); in isIdenticalTo()
272 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value()
373 getCImm()->getValue().print(OS, false); in print()
DMIRPrinter.cpp787 Op.getCImm()->printAsOperand(OS, /*PrintType=*/true, MST); in print()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp201 return getCImm() == Other.getCImm(); in isIdenticalTo()
276 getCImm()->getValue().print(OS, false); in print()
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h415 const ConstantInt *getCImm() const { in getCImm() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineOperand.h531 const ConstantInt *getCImm() const { in getCImm() function
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp535 addConstantValue(*VariableDie, DVInsn->getOperand(0).getCImm(), in constructVariableDIEImpl()
DDwarfDebug.cpp763 return DebugLocEntry::Value(Expr, MI->getOperand(0).getCImm()); in getDebugLocValue()
DAsmPrinter.cpp766 MI->getOperand(0).getCImm()->getValue().print(OS, false /*isSigned*/); in emitDebugValueComment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstructionSelector.cpp801 if (!Val.getCImm()->isZero()) { in select()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp555 addConstantValue(*VariableDie, DVInsn->getOperand(0).getCImm(), in constructVariableDIEImpl()
DDwarfDebug.cpp987 return DebugLocEntry::Value(Expr, MI->getOperand(0).getCImm()); in getDebugLocValue()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp1274 DVInsn->getOperand(0).getCImm(), in constructVariableDIE()
DAsmPrinter.cpp581 MI->getOperand(0).getCImm()->getValue().print(OS, false /*isSigned*/); in EmitDebugValueComment()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp2628 return !Op.getCImm()->isZero(); in simplifyRCmp0()
2640 return Op.getCImm()->isZero(); in simplifyRCmp0()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstructionSelector.cpp628 Val = I.getOperand(1).getCImm()->getZExtValue(); in selectConstant()

12