Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp113 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 DSPIRVUtils.cpp228 return MI->getOperand(1).getCImm()->getValue().getZExtValue(); in getIConstVal()
H A DSPIRVInstructionSelector.cpp276 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 DSPIRVBuiltins.cpp1439 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 DRISCVInstructionSelector.cpp392 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 DAMDGPUGlobalISelUtils.cpp29 Offset = Op.getCImm()->getZExtValue(); in getBaseWithConstantOffset()
H A DAMDGPUInstructionSelector.cpp1698 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 DUtils.cpp399 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 DCSEInfo.cpp419 ID.AddPointer(MO.getCImm()); in addNodeIDMachineOperand()
H A DGISelKnownBits.cpp618 return MI.getOperand(1).getCImm()->getValue().getNumSignBits(); in computeNumSignBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRVRegNamerUtils.cpp74 MO.getCImm()->getZExtValue()); in getInstructionOpcodeHash()
H A DMachineOperand.cpp331 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 DMachineStableHash.cpp78 auto Val = MO.isCImm() ? MO.getCImm()->getValue() in stableHashValue()
H A DMachineVerifier.cpp1156 const ConstantInt *CI = MI->getOperand(1).getCImm(); in verifyPreISelGenericInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizationArtifactCombiner.h103 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 DGIMatchTableExecutorImpl.h335 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 DMipsInstructionSelector.cpp456 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 DMachineOperand.h561 const ConstantInt *getCImm() const { in getCImm() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp734 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 DPPCInstructionSelector.cpp605 int64_t Imm = I.getOperand(1).getCImm()->getValue().getZExtValue(); in selectI64Imm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp970 if (!Val.getCImm()->isZero()) { in select()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2668 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 DVarLocBasedImpl.cpp464 Loc.CImm = Op.getCImm(); in GetLocForOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp697 Val = I.getOperand(1).getCImm()->getZExtValue(); in selectConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp261 DbgValueLocEntries.push_back(DbgValueLocEntry(Op.getCImm())); in getDebugLocValue()

12