| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 113 ConstMI->getOperand(1).getCImm()->getZExtValue())); in foldConstantsIntoIntrinsics() 180 Type *Ty = MI->getOperand(1).getCImm()->getType(); in propagateSPIRVType() 304 Ty = MI.getOperand(1).getCImm()->getType(); in generateAssignInstrs() 314 ElemTy = ElemMI->getOperand(1).getCImm()->getType(); in generateAssignInstrs() 577 Values.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 | 276 return selectConst(ResVReg, ResType, I.getOperand(1).getCImm()->getValue(), in spvSelect() 1042 addNumImm(I.getOperand(1).getCImm()->getValue(), MIB); in renderImm32() 1242 return ImmInst->getOperand(1).getCImm()->getZExtValue(); in foldImm() 1398 addNumImm(I.getOperand(i).getCImm()->getValue(), MIB); in selectIntrinsic()
|
| H A D | SPIRVBuiltins.cpp | 1439 Opcode = ConstOperand.getCImm()->getValue().getZExtValue() in generateSpecConstantInst() 1449 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateSpecConstantInst() 1566 return DefMI2->getOperand(1).getCImm()->getValue().getZExtValue(); in getConstFromIntrinsic()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 392 int64_t RHSC = RHSDef->getOperand(1).getCImm()->getSExtValue(); in selectAddrRegImm() 552 int64_t Imm = MI.getOperand(1).getCImm()->getSExtValue(); in select() 784 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderNegImm() 793 uint64_t CstVal = MI.getOperand(1).getCImm()->getZExtValue(); in renderImmSubFromXLen() 802 uint64_t CstVal = MI.getOperand(1).getCImm()->getZExtValue(); in renderImmSubFrom32() 811 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderImmPlus1() 820 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderImm() 829 uint64_t C = MI.getOperand(1).getCImm()->getZExtValue(); in renderTrailingZeros()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUGlobalISelUtils.cpp | 29 Offset = Op.getCImm()->getZExtValue(); in getBaseWithConstantOffset()
|
| H A D | AMDGPUInstructionSelector.cpp | 1698 ImmOffset = OffsetDef->getOperand(1).getCImm()->getZExtValue(); in selectDSGWSIntrinsic() 2592 ImmOp.ChangeToImmediate(ImmOp.getCImm()->getSExtValue()); in selectG_CONSTANT() 2787 GEPInfo.Imm = OpDef->getOperand(1).getCImm()->getSExtValue(); in getAddrModeInfo() 5657 MIB.addImm(MI.getOperand(1).getCImm()->getSExtValue()); in renderTruncImm32() 5665 MIB.addImm(-MI.getOperand(1).getCImm()->getSExtValue()); in renderNegateImm() 5678 MIB.addImm(Op.getCImm()->getSExtValue()); in renderBitcastImm() 5687 MIB.addImm(MI.getOperand(1).getCImm()->getValue().popcount()); in renderPopcntImm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 399 return CstVal.getCImm()->getValue(); in getCImmAsAPInt() 406 return CstVal.getCImm()->getValue(); in getCImmOrFPImmAsAPInt() 1010 const ConstantInt *CI = MI.getOperand(1).getCImm(); in isKnownToBeAPowerOfTwo() 1404 return MI.getOperand(1).getCImm()->isNullValue(); in isNullOrNullSplat() 1423 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat() 1441 return Match(Def->getOperand(1).getCImm()); in matchUnaryPredicate() 1456 !Match(SrcDef->getOperand(1).getCImm())) in matchUnaryPredicate()
|
| H A D | CSEInfo.cpp | 419 ID.AddPointer(MO.getCImm()); in addNodeIDMachineOperand()
|
| H A D | GISelKnownBits.cpp | 618 return MI.getOperand(1).getCImm()->getValue().getNumSignBits(); in computeNumSignBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRVRegNamerUtils.cpp | 74 MO.getCImm()->getZExtValue()); in getInstructionOpcodeHash()
|
| H A D | MachineOperand.cpp | 331 return getCImm() == Other.getCImm(); in isIdenticalTo() 397 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value() 873 getCImm()->printAsOperand(OS, /*PrintType=*/true, MST); in print()
|
| H A D | MachineStableHash.cpp | 78 auto Val = MO.isCImm() ? MO.getCImm()->getValue() in stableHashValue()
|
| H A D | MachineVerifier.cpp | 1156 const ConstantInt *CI = MI->getOperand(1).getCImm(); in verifyPreISelGenericInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 103 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineAnyExt() 178 DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits())); in tryCombineZExt() 234 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineSExt() 262 DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits())); in tryCombineTrunc()
|
| H A D | GIMatchTableExecutorImpl.h | 335 Value = State.MIs[InsnID]->getOperand(OpIdx).getCImm()->getSExtValue(); in executeMatchTable() 361 State.MIs[InsnID]->getOperand(1).getCImm()->getValue(); in executeMatchTable() 835 if (MO.isCImm() && MO.getCImm()->equalsInt(Value)) in executeMatchTable() 1267 State.MIs[OldInsnID]->getOperand(1).getCImm()->getSExtValue()); in executeMatchTable()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 561 const ConstantInt *getCImm() const { in getCImm() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 734 Immed = Root.getCImm()->getZExtValue(); in getImmedFromMO() 2291 IsZero = I.getOperand(1).getCImm()->isZero(); in earlySelect() 2712 uint64_t Val = I.getOperand(1).getCImm()->getZExtValue(); in select() 5870 const_cast<ConstantInt *>(OpMI->getOperand(1).getCImm())); in tryOptConstantBuildVec() 7289 if (!RHSOp1.isCImm() || RHSOp1.getCImm()->getBitWidth() > 64) in selectAddrModeUnscaled() 7291 RHSC = RHSOp1.getCImm()->getSExtValue(); in selectAddrModeUnscaled() 7371 int64_t RHSC = (int64_t)RHSDef->getOperand(1).getCImm()->getZExtValue(); in selectAddrModeIndexed() 7649 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm32() 7658 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm64()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/GISel/ |
| H A D | PPCInstructionSelector.cpp | 605 int64_t Imm = I.getOperand(1).getCImm()->getValue().getZExtValue(); in selectI64Imm()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMInstructionSelector.cpp | 970 if (!Val.getCImm()->isZero()) { in select()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonBitSimplify.cpp | 2668 return !Op.getCImm()->isZero(); in simplifyRCmp0() 2680 return Op.getCImm()->isZero(); in simplifyRCmp0()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | VarLocBasedImpl.cpp | 464 Loc.CImm = Op.getCImm(); in GetLocForOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86InstructionSelector.cpp | 697 Val = I.getOperand(1).getCImm()->getZExtValue(); in selectConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.cpp | 261 DbgValueLocEntries.push_back(DbgValueLocEntry(Op.getCImm())); in getDebugLocValue()
|