| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 111 ConstMI->getOperand(1).getCImm()->getZExtValue())); in foldConstantsIntoIntrinsics() 158 Type *Ty = MI->getOperand(1).getCImm()->getType(); in propagateSPIRVType() 260 Ty = MI.getOperand(1).getCImm()->getType(); in generateAssignInstrs() 270 ElemTy = ElemMI->getOperand(1).getCImm()->getType(); in generateAssignInstrs() 468 Vals.push_back(ConstInstr->getOperand(1).getCImm()); in processSwitches()
|
| H A D | SPIRVUtils.cpp | 228 return MI->getOperand(1).getCImm()->getValue().getZExtValue(); in getIConstVal()
|
| H A D | SPIRVInstructionSelector.cpp | 257 return selectConst(ResVReg, ResType, I.getOperand(1).getCImm()->getValue(), in spvSelect() 868 addNumImm(I.getOperand(1).getCImm()->getValue(), MIB); in renderImm32() 1067 return ImmInst->getOperand(1).getCImm()->getZExtValue(); in foldImm() 1214 addNumImm(I.getOperand(i).getCImm()->getValue(), MIB); in selectIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 392 return CstVal.getCImm()->getValue(); in getCImmAsAPInt() 399 return CstVal.getCImm()->getValue(); in getCImmOrFPImmAsAPInt() 819 const ConstantInt *CI = MI.getOperand(1).getCImm(); in isKnownToBeAPowerOfTwo() 1214 return MI.getOperand(1).getCImm()->isNullValue(); in isNullOrNullSplat() 1233 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat() 1251 return Match(Def->getOperand(1).getCImm()); in matchUnaryPredicate() 1266 !Match(SrcDef->getOperand(1).getCImm())) in matchUnaryPredicate()
|
| H A D | CSEInfo.cpp | 412 ID.AddPointer(MO.getCImm()); in addNodeIDMachineOperand()
|
| H A D | GISelKnownBits.cpp | 617 return MI.getOperand(1).getCImm()->getValue().getNumSignBits(); in computeNumSignBits()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUGlobalISelUtils.cpp | 30 Offset = Op.getCImm()->getZExtValue(); in getBaseWithConstantOffset()
|
| H A D | AMDGPUInstructionSelector.cpp | 1436 ImmOffset = OffsetDef->getOperand(1).getCImm()->getZExtValue(); in selectDSGWSIntrinsic() 2197 ImmOp.ChangeToImmediate(ImmOp.getCImm()->getSExtValue()); in selectG_CONSTANT() 2382 GEPInfo.Imm = OpDef->getOperand(1).getCImm()->getSExtValue(); in getAddrModeInfo() 4917 MIB.addImm(MI.getOperand(1).getCImm()->getSExtValue()); in renderTruncImm32() 4925 MIB.addImm(-MI.getOperand(1).getCImm()->getSExtValue()); in renderNegateImm() 4938 MIB.addImm(Op.getCImm()->getSExtValue()); in renderBitcastImm() 4947 MIB.addImm(MI.getOperand(1).getCImm()->getValue().countPopulation()); in renderPopcntImm()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | MachineOperandTest.cpp | 97 ASSERT_TRUE(MO.getCImm() == CImm); in TEST() 98 ASSERT_TRUE(MO.getCImm()->getValue() == Int); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MIRVRegNamerUtils.cpp | 73 MO.getCImm()->getZExtValue()); in getInstructionOpcodeHash()
|
| H A D | MachineOperand.cpp | 297 return getCImm() == Other.getCImm(); in isIdenticalTo() 362 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value() 822 getCImm()->printAsOperand(OS, /*PrintType=*/true, MST); in print()
|
| H A D | MachineStableHash.cpp | 81 auto Val = MO.isCImm() ? MO.getCImm()->getValue() in stableHashValue()
|
| H A D | MachineVerifier.cpp | 1043 const ConstantInt *CI = MI->getOperand(1).getCImm(); in verifyPreISelGenericInstruction()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 100 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineAnyExt() 163 DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits())); in tryCombineZExt() 219 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineSExt() 247 DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits())); in tryCombineTrunc()
|
| H A D | InstructionSelectorImpl.h | 285 Value = State.MIs[InsnID]->getOperand(OpIdx).getCImm()->getSExtValue(); in executeMatchTable() 309 Value = State.MIs[InsnID]->getOperand(1).getCImm()->getValue(); in executeMatchTable() 742 if (MO.isCImm() && MO.getCImm()->equalsInt(Value)) in executeMatchTable() 1021 State.MIs[OldInsnID]->getOperand(1).getCImm()->getSExtValue()); in executeMatchTable()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | CSETest.cpp | 182 EXPECT_TRUE(CtlzDef->getOperand(1).getCImm()->getZExtValue() == 28); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 456 APInt OffsetValue = Offset->getOperand(1).getCImm()->getValue(); in select() 586 I.getOperand(1).getCImm()->getValue(), B)) in select()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 551 const ConstantInt *getCImm() const { in getCImm() function
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 686 Immed = Root.getCImm()->getZExtValue(); in getImmedFromMO() 2193 IsZero = I.getOperand(1).getCImm()->getZExtValue() == 0; in earlySelect() 2608 uint64_t Val = I.getOperand(1).getCImm()->getZExtValue(); in select() 5431 const_cast<ConstantInt *>(OpMI->getOperand(1).getCImm())); in tryOptConstantBuildVec() 6388 if (!RHSOp1.isCImm() || RHSOp1.getCImm()->getBitWidth() > 64) in selectAddrModeUnscaled() 6390 RHSC = RHSOp1.getCImm()->getSExtValue(); in selectAddrModeUnscaled() 6473 int64_t RHSC = (int64_t)RHSDef->getOperand(1).getCImm()->getZExtValue(); in selectAddrModeIndexed() 6716 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm32() 6725 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm64()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMInstructionSelector.cpp | 970 if (!Val.getCImm()->isZero()) { in select()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitSimplify.cpp | 2668 return !Op.getCImm()->isZero(); in simplifyRCmp0() 2680 return Op.getCImm()->isZero(); in simplifyRCmp0()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | VarLocBasedImpl.cpp | 431 Loc.CImm = Op.getCImm(); in GetLocForOp()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstructionSelector.cpp | 650 Val = I.getOperand(1).getCImm()->getZExtValue(); in selectConstant()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 251 DbgValueLocEntries.push_back(DbgValueLocEntry(Op.getCImm())); in getDebugLocValue()
|
| H A D | AsmPrinter.cpp | 1168 Op.getCImm()->getValue().print(OS, false /*isSigned*/); in emitDebugValueComment()
|