| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 536 auto C = RootDef->getOperand(1).getCImm(); in renderVLOp() 572 int64_t RHSC = RHSDef->getOperand(1).getCImm()->getSExtValue(); in selectAddrRegImm() 729 int64_t Imm = MI.getOperand(1).getCImm()->getSExtValue(); in select() 891 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderNegImm() 900 uint64_t CstVal = MI.getOperand(1).getCImm()->getZExtValue(); in renderImmSubFromXLen() 909 uint64_t CstVal = MI.getOperand(1).getCImm()->getZExtValue(); in renderImmSubFrom32() 918 int64_t CstVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderImmPlus1() 935 uint64_t C = MI.getOperand(1).getCImm()->getZExtValue(); in renderTrailingZeros() 943 uint64_t C = MI.getOperand(1).getCImm()->getZExtValue(); in renderXLenSubTrailingOnes() 952 int64_t Imm = MI.getOperand(1).getCImm()->getSExtValue(); in renderAddiPairImmSmall() [all …]
|
| H A D | RISCVLegalizerInfo.cpp | 856 uint64_t Val = MI.getOperand(1).getCImm()->getZExtValue(); in legalizeVScale() 1336 const ConstantInt *ConstVal = MI.getOperand(1).getCImm(); in legalizeCustom()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 304 Type *Ty = MI->getOperand(1).getCImm()->getType(); in propagateSPIRVType() 398 const ConstantInt *CImmVal = MOP.getCImm(); in widenCImmType() 597 ? MI.getOperand(1).getCImm()->getType() in generateAssignInstrs() 599 const ConstantInt *OpCI = MI.getOperand(1).getCImm(); in generateAssignInstrs() 630 ElemTy = ElemMI->getOperand(1).getCImm()->getType(); in generateAssignInstrs() 900 MachineOperand::CreateCImm(ConstInstr->getOperand(1).getCImm())); in processSwitchesConstants()
|
| H A D | SPIRVIRMapping.h | 35 H = llvm::hash_combine(H, MO.getType(), MO.getCImm()); in to_hash()
|
| H A D | SPIRVUtils.cpp | 371 return MI->getOperand(1).getCImm()->getValue().getZExtValue(); in getIConstVal() 988 return Def->getOperand(1).getCImm()->getZExtValue(); in foldImm()
|
| H A D | SPIRVBuiltins.cpp | 396 return DefMI->getOperand(1).getCImm()->getValue().getZExtValue(); in getConstFromIntrinsic() 1198 uint64_t GrpOp = MI->getOperand(1).getCImm()->getValue().getZExtValue(); in generateGroupInst() 1423 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateGroupUniformInst() 2278 Opcode = ConstOperand.getCImm()->getValue().getZExtValue() in generateSpecConstantInst() 2288 addNumImm(ConstOperand.getCImm()->getValue(), MIB); in generateSpecConstantInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 310 return Const->getOperand(1).getCImm()->getValue(); in getIConstantFromReg() 416 Result = CstVal.getCImm()->getValue(); in getCImmAsAPInt() 423 Result = CstVal.getCImm()->getValue(); in getCImmOrFPImmAsAPInt() 1120 const ConstantInt *CI = MI.getOperand(1).getCImm(); in isKnownToBeAPowerOfTwo() 1565 return MI.getOperand(1).getCImm()->isNullValue(); in isNullOrNullSplat() 1584 return MI.getOperand(1).getCImm()->isAllOnesValue(); in isAllOnesOrAllOnesSplat() 1602 return Match(Def->getOperand(1).getCImm()); in matchUnaryPredicate() 1617 !Match(SrcDef->getOperand(1).getCImm())) in matchUnaryPredicate()
|
| H A D | CSEInfo.cpp | 430 ID.AddPointer(MO.getCImm()); in addNodeIDMachineOperand()
|
| H A D | GISelValueTracking.cpp | 299 Known = KnownBits::makeConstant(MI.getOperand(1).getCImm()->getValue()); in computeKnownBitsImpl() 1791 return MI.getOperand(1).getCImm()->getValue().getNumSignBits(); in computeNumSignBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRVRegNamerUtils.cpp | 72 MO.getCImm()->getZExtValue()); in getInstructionOpcodeHash()
|
| H A D | MachineOperand.cpp | 343 return getCImm() == Other.getCImm(); in isIdenticalTo() 410 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getCImm()); in hash_value() 885 getCImm()->printAsOperand(OS, /*PrintType=*/true, MST); in print()
|
| H A D | MachineStableHash.cpp | 77 auto Val = MO.isCImm() ? MO.getCImm()->getValue() in stableHashValue()
|
| H A D | MachineVerifier.cpp | 1236 const ConstantInt *CI = MI->getOperand(1).getCImm(); in verifyPreISelGenericInstruction() 1749 if (MI->getOperand(1).getCImm()->isZero()) { in verifyPreISelGenericInstruction() 1761 if (!MI->getOperand(1).getCImm()->getValue().isStrictlyPositive()) { in verifyPreISelGenericInstruction() 1778 if (MI->getOperand(1).getCImm()->getBitWidth() != in verifyPreISelGenericInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUGlobalISelUtils.cpp | 36 Offset = Op.getCImm()->getZExtValue(); in getBaseWithConstantOffset()
|
| H A D | AMDGPURegBankLegalizeHelper.cpp | 440 uint64_t ConstVal = MI.getOperand(1).getCImm()->getZExtValue(); in lower()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 109 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineAnyExt() 184 DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits())); in tryCombineZExt() 248 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); in tryCombineSExt() 276 DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits())); in tryCombineTrunc()
|
| H A D | GIMatchTableExecutorImpl.h | 360 Value = State.MIs[InsnID]->getOperand(OpIdx).getCImm()->getSExtValue(); in executeMatchTable() 386 State.MIs[InsnID]->getOperand(1).getCImm()->getValue(); in executeMatchTable() 901 if (MO.isCImm() && MO.getCImm()->equalsInt(Value)) in executeMatchTable() 1365 State.MIs[OldInsnID]->getOperand(1).getCImm()->getSExtValue()); in executeMatchTable()
|
| H A D | GenericMachineInstrs.h | 922 APInt getSrc() const { return getOperand(1).getCImm()->getValue(); } in getSrc() 933 return getOperand(1).getCImm()->getValue().getZExtValue(); in getStep()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsInstructionSelector.cpp | 450 APInt OffsetValue = Offset->getOperand(1).getCImm()->getValue(); in select() 581 I.getOperand(1).getCImm()->getValue(), B)) in select()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMInstructionSelector.cpp | 845 int64_t CVal = MI.getOperand(1).getCImm()->getSExtValue(); in renderInvertedImm() 981 if (!Val.getCImm()->isZero()) { in select()
|
| H A D | ARMLegalizerInfo.cpp | 442 const ConstantInt *ConstVal = MI.getOperand(1).getCImm(); in legalizeCustom()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 561 const ConstantInt *getCImm() const { in getCImm() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 756 Immed = Root.getCImm()->getZExtValue(); in getImmedFromMO() 2436 IsZero = I.getOperand(1).getCImm()->isZero(); in earlySelect() 2830 uint64_t Val = I.getOperand(1).getCImm()->getZExtValue(); in select() 5862 const_cast<ConstantInt *>(OpMI->getOperand(1).getCImm())); in tryOptConstantBuildVec() 6954 Offset = OffsetMI.getOperand(1).getCImm()->getSExtValue(); in selectPtrAuthGlobalValue() 7592 if (!RHSOp1.isCImm() || RHSOp1.getCImm()->getBitWidth() > 64) in selectAddrModeUnscaled() 7594 RHSC = RHSOp1.getCImm()->getSExtValue(); in selectAddrModeUnscaled() 7679 int64_t RHSC = (int64_t)RHSDef->getOperand(1).getCImm()->getZExtValue(); in selectAddrModeIndexed() 7957 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm32() 7966 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); in renderLogicalImm64()
|
| H A D | AArch64RegisterBankInfo.cpp | 391 auto CstVal = ConstMI->getOperand(1).getCImm()->getValue(); in applyMappingImpl()
|
| /freebsd/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()
|