Home
last modified time | relevance | path

Searched refs:ImmValue (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/lib/Target/Hexagon/
DHexagonSplitConst32AndConst64.cpp112 int64_t ImmValue; in runOnMachineFunction() local
115 ImmValue = *Val.bitcastToAPInt().getRawData(); in runOnMachineFunction()
118 ImmValue = MI.getOperand(1).getImm(); in runOnMachineFunction()
122 .addImm(ImmValue); in runOnMachineFunction()
132 int64_t ImmValue; in runOnMachineFunction() local
135 ImmValue = *Val.bitcastToAPInt().getRawData(); in runOnMachineFunction()
138 ImmValue = MI.getOperand(1).getImm(); in runOnMachineFunction()
143 int32_t LowWord = (ImmValue & 0xFFFFFFFF); in runOnMachineFunction()
144 int32_t HighWord = (ImmValue >> 32) & 0xFFFFFFFF; in runOnMachineFunction()
/external/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp539 APInt ImmValue; in selectVSplatCommon() local
545 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatCommon()
546 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatCommon()
548 if (( Signed && ImmValue.isSignedIntN(ImmBitSize)) || in selectVSplatCommon()
549 (!Signed && ImmValue.isIntN(ImmBitSize))) { in selectVSplatCommon()
550 Imm = CurDAG->getTargetConstant(ImmValue, SDLoc(N), EltTy); in selectVSplatCommon()
615 APInt ImmValue; in selectVSplatUimmPow2() local
621 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatUimmPow2()
622 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatUimmPow2()
623 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
[all …]
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonSplitConst32AndConst64.cpp80 uint64_t ImmValue = MI.getOperand(1).getImm(); in runOnMachineFunction() local
83 .addImm(ImmValue); in runOnMachineFunction()
87 int64_t ImmValue = MI.getOperand(1).getImm(); in runOnMachineFunction() local
92 int32_t LowWord = (ImmValue & 0xFFFFFFFF); in runOnMachineFunction()
93 int32_t HighWord = (ImmValue >> 32) & 0xFFFFFFFF; in runOnMachineFunction()
DHexagonHardwareLoops.cpp655 int Mask = 0, ImmValue = 0; in getLoopTripCount() local
657 TII->analyzeCompare(*CondI, CmpReg1, CmpReg2, Mask, ImmValue); in getLoopTripCount()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonSplitConst32AndConst64.cpp80 uint64_t ImmValue = MI.getOperand(1).getImm(); in runOnMachineFunction() local
83 .addImm(ImmValue); in runOnMachineFunction()
87 int64_t ImmValue = MI.getOperand(1).getImm(); in runOnMachineFunction() local
92 int32_t LowWord = (ImmValue & 0xFFFFFFFF); in runOnMachineFunction()
93 int32_t HighWord = (ImmValue >> 32) & 0xFFFFFFFF; in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp553 APInt ImmValue; in selectVSplatCommon() local
559 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatCommon()
560 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatCommon()
562 if (( Signed && ImmValue.isSignedIntN(ImmBitSize)) || in selectVSplatCommon()
563 (!Signed && ImmValue.isIntN(ImmBitSize))) { in selectVSplatCommon()
564 Imm = CurDAG->getTargetConstant(ImmValue, SDLoc(N), EltTy); in selectVSplatCommon()
629 APInt ImmValue; in selectVSplatUimmPow2() local
635 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatUimmPow2()
636 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatUimmPow2()
637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
[all …]
DMicroMipsSizeReduction.cpp528 int64_t ImmValue; in ReduceADDIUToADDIUSP() local
529 if (!GetImm(MI, Entry.ImmField(), ImmValue)) in ReduceADDIUToADDIUSP()
532 if (!AddiuspImmValue(ImmValue)) in ReduceADDIUToADDIUSP()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp553 APInt ImmValue; in selectVSplatCommon() local
559 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatCommon()
560 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatCommon()
562 if (( Signed && ImmValue.isSignedIntN(ImmBitSize)) || in selectVSplatCommon()
563 (!Signed && ImmValue.isIntN(ImmBitSize))) { in selectVSplatCommon()
564 Imm = CurDAG->getTargetConstant(ImmValue, SDLoc(N), EltTy); in selectVSplatCommon()
629 APInt ImmValue; in selectVSplatUimmPow2() local
635 if (selectVSplat(N.getNode(), ImmValue, EltTy.getSizeInBits()) && in selectVSplatUimmPow2()
636 ImmValue.getBitWidth() == EltTy.getSizeInBits()) { in selectVSplatUimmPow2()
637 int32_t Log2 = ImmValue.exactLogBase2(); in selectVSplatUimmPow2()
[all …]
DMicroMipsSizeReduction.cpp528 int64_t ImmValue; in ReduceADDIUToADDIUSP() local
529 if (!GetImm(MI, Entry.ImmField(), ImmValue)) in ReduceADDIUToADDIUSP()
532 if (!AddiuspImmValue(ImmValue)) in ReduceADDIUToADDIUSP()
/external/llvm-project/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp229 bool loadImmediate(int64_t ImmValue, unsigned DstReg, unsigned SrcReg,
2557 int64_t ImmValue = Inst.getOperand(2).getImm(); in tryExpandInstruction() local
2558 if (isInt<16>(ImmValue)) in tryExpandInstruction()
2569 int64_t ImmValue = Inst.getOperand(2).getImm(); in tryExpandInstruction() local
2570 if (isUInt<16>(ImmValue)) in tryExpandInstruction()
2698 bool MipsAsmParser::loadImmediate(int64_t ImmValue, unsigned DstReg, in loadImmediate() argument
2710 if (isInt<32>(ImmValue) || isUInt<32>(ImmValue)) { in loadImmediate()
2714 ImmValue = SignExtend64<32>(ImmValue); in loadImmediate()
2739 if (isInt<16>(ImmValue)) { in loadImmediate()
2747 TOut.emitRRI(Mips::DADDiu, DstReg, SrcReg, ImmValue, IDLoc, STI); in loadImmediate()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp183 bool loadImmediate(int64_t ImmValue, unsigned DstReg, unsigned SrcReg,
2047 int64_t ImmValue = Inst.getOperand(2).getImm(); in tryExpandInstruction() local
2048 if (isInt<16>(ImmValue)) in tryExpandInstruction()
2059 int64_t ImmValue = Inst.getOperand(2).getImm(); in tryExpandInstruction() local
2060 if (isUInt<16>(ImmValue)) in tryExpandInstruction()
2146 bool MipsAsmParser::loadImmediate(int64_t ImmValue, unsigned DstReg, in loadImmediate() argument
2158 if (isInt<32>(ImmValue) || isUInt<32>(ImmValue)) { in loadImmediate()
2162 ImmValue = SignExtend64<32>(ImmValue); in loadImmediate()
2187 if (isInt<16>(ImmValue)) { in loadImmediate()
2195 TOut.emitRRI(Mips::DADDiu, DstReg, SrcReg, ImmValue, IDLoc, STI); in loadImmediate()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp227 bool loadImmediate(int64_t ImmValue, unsigned DstReg, unsigned SrcReg,
2533 int64_t ImmValue = Inst.getOperand(2).getImm(); in tryExpandInstruction() local
2534 if (isInt<16>(ImmValue)) in tryExpandInstruction()
2545 int64_t ImmValue = Inst.getOperand(2).getImm(); in tryExpandInstruction() local
2546 if (isUInt<16>(ImmValue)) in tryExpandInstruction()
2670 bool MipsAsmParser::loadImmediate(int64_t ImmValue, unsigned DstReg, in loadImmediate() argument
2682 if (isInt<32>(ImmValue) || isUInt<32>(ImmValue)) { in loadImmediate()
2686 ImmValue = SignExtend64<32>(ImmValue); in loadImmediate()
2711 if (isInt<16>(ImmValue)) { in loadImmediate()
2719 TOut.emitRRI(Mips::DADDiu, DstReg, SrcReg, ImmValue, IDLoc, STI); in loadImmediate()
[all …]
/external/llvm/lib/Object/
DMachOObjectFile.cpp1544 uint8_t ImmValue = Byte & MachO::REBASE_IMMEDIATE_MASK; in moveNext() local
1554 RebaseType = ImmValue; in moveNext()
1561 SegmentIndex = ImmValue; in moveNext()
1578 SegmentOffset += ImmValue * PointerSize; in moveNext()
1586 RemainingLoopCount = ImmValue - 1; in moveNext()
1715 uint8_t ImmValue = Byte & MachO::BIND_IMMEDIATE_MASK; in moveNext() local
1739 Ordinal = ImmValue; in moveNext()
1753 if (ImmValue) { in moveNext()
1754 SignExtended = MachO::BIND_OPCODE_MASK | ImmValue; in moveNext()
1764 Flags = ImmValue; in moveNext()
[all …]
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp3173 uint8_t ImmValue = Byte & MachO::REBASE_IMMEDIATE_MASK; in moveNext() local
3185 RebaseType = ImmValue; in moveNext()
3199 SegmentIndex = ImmValue; in moveNext()
3248 SegmentOffset += ImmValue * PointerSize; in moveNext()
3266 Count = ImmValue; in moveNext()
3267 if (ImmValue != 0) in moveNext()
3268 RemainingLoopCount = ImmValue - 1; in moveNext()
3510 uint8_t ImmValue = Byte & MachO::BIND_IMMEDIATE_MASK; in moveNext() local
3542 Ordinal = ImmValue; in moveNext()
3544 if (ImmValue > O->getLibraryCount()) { in moveNext()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp3142 uint8_t ImmValue = Byte & MachO::REBASE_IMMEDIATE_MASK; in moveNext() local
3154 RebaseType = ImmValue; in moveNext()
3168 SegmentIndex = ImmValue; in moveNext()
3226 SegmentOffset += ImmValue * PointerSize; in moveNext()
3246 Count = ImmValue; in moveNext()
3247 if (ImmValue != 0) in moveNext()
3248 RemainingLoopCount = ImmValue - 1; in moveNext()
3490 uint8_t ImmValue = Byte & MachO::BIND_IMMEDIATE_MASK; in moveNext() local
3522 Ordinal = ImmValue; in moveNext()
3524 if (ImmValue > O->getLibraryCount()) { in moveNext()
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp488 int32_t ImmValue = RawImmValue; in expandSET() local
493 IsImm && ((is64Bit() ? 0 : -4096) <= ImmValue && ImmValue < 4096); in expandSET()
496 ValExpr = MCConstantExpr::create(ImmValue, getContext()); in expandSET()
526 if (!IsImm || IsEffectivelyImm13 || (ImmValue & 0x3ff)) { in expandSET()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp525 int32_t ImmValue = RawImmValue; in expandSET() local
530 IsImm && ((is64Bit() ? 0 : -4096) <= ImmValue && ImmValue < 4096); in expandSET()
533 ValExpr = MCConstantExpr::create(ImmValue, getContext()); in expandSET()
563 if (!IsImm || IsEffectivelyImm13 || (ImmValue & 0x3ff)) { in expandSET()
/external/llvm-project/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp527 int32_t ImmValue = RawImmValue; in expandSET() local
532 IsImm && ((is64Bit() ? 0 : -4096) <= ImmValue && ImmValue < 4096); in expandSET()
535 ValExpr = MCConstantExpr::create(ImmValue, getContext()); in expandSET()
565 if (!IsImm || IsEffectivelyImm13 || (ImmValue & 0x3ff)) { in expandSET()
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp208 unsigned SrcReg2, int ImmValue, in isRedundantFlagInstr() argument
223 OI->getOperand(2).getImm() == ImmValue) in isRedundantFlagInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp206 unsigned SrcReg2, int ImmValue, in isRedundantFlagInstr() argument
221 OI->getOperand(2).getImm() == ImmValue) in isRedundantFlagInstr()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp206 unsigned SrcReg2, int ImmValue, in isRedundantFlagInstr() argument
221 OI->getOperand(2).getImm() == ImmValue) in isRedundantFlagInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2154 uint64_t ImmValue = 0; in FoldOperand() local
2166 ImmValue = FPC->getValueAPF().bitcastToAPInt().getZExtValue(); in FoldOperand()
2176 ImmValue = Value; in FoldOperand()
2190 Imm = DAG.getTargetConstant(ImmValue, SDLoc(ParentNode), MVT::i32); in FoldOperand()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2160 uint64_t ImmValue = 0; in FoldOperand() local
2172 ImmValue = FPC->getValueAPF().bitcastToAPInt().getZExtValue(); in FoldOperand()
2182 ImmValue = Value; in FoldOperand()
2195 Imm = DAG.getTargetConstant(ImmValue, SDLoc(ParentNode), MVT::i32); in FoldOperand()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2531 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_WB() local
2532 Ops.push_back(getI32Imm(ImmValue, Loc)); // immediate offset in SelectMVE_WB()
2565 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_LongShift() local
2566 Ops.push_back(getI32Imm(ImmValue, Loc)); // immediate shift count in SelectMVE_LongShift()
2628 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_VSHLC() local
2629 Ops.push_back(getI32Imm(ImmValue, Loc)); // immediate shift count in SelectMVE_VSHLC()
2816 int ImmValue = cast<ConstantSDNode>(ImmOp)->getZExtValue(); in SelectMVE_VxDUP() local
2817 Ops.push_back(getI32Imm(ImmValue, Loc)); in SelectMVE_VxDUP()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2254 uint64_t ImmValue = 0; in FoldOperand() local
2267 ImmValue = FPC->getValueAPF().bitcastToAPInt().getZExtValue(); in FoldOperand()
2277 ImmValue = Value; in FoldOperand()
2291 Imm = DAG.getTargetConstant(ImmValue, SDLoc(ParentNode), MVT::i32); in FoldOperand()

12