Home
last modified time | relevance | path

Searched refs:getI32Imm (Results 1 – 25 of 33) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp63 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm() function in __anon62a1cc8d0111::PPCDAGToDAGISel
436 SDValue Ops[] = { Op0, Op1, getI32Imm(SH), getI32Imm(MB), in SelectBitfieldInsert()
437 getI32Imm(ME) }; in SelectBitfieldInsert()
458 getI32Imm(Imm & 0xFFFF)), 0); in SelectCC()
462 getI32Imm(Imm & 0xFFFF)), 0); in SelectCC()
474 getI32Imm(Imm >> 16)), 0); in SelectCC()
476 getI32Imm(Imm & 0xFFFF)), 0); in SelectCC()
482 getI32Imm(Imm & 0xFFFF)), 0); in SelectCC()
488 getI32Imm((int)SImm & 0xFFFF)), in SelectCC()
499 getI32Imm(Imm & 0xFFFF)), 0); in SelectCC()
[all …]
DPPCInstr64Bit.td39 return getI32Imm(63 - N->getZExtValue());
44 return N->getZExtValue() ? getI32Imm(64 - N->getZExtValue()) : getI32Imm(0);
49 return getI32Imm((unsigned short)(N->getZExtValue() >> 32));
54 return getI32Imm((unsigned short)(N->getZExtValue() >> 48));
DPPCInstrAltivec.td94 return getI32Imm(PPC::isVSLDOIShuffleMask(N, false));
105 return getI32Imm(PPC::isVSLDOIShuffleMask(N, true));
115 return getI32Imm(PPC::getVSPLTImmediate(N, 1));
122 return getI32Imm(PPC::getVSPLTImmediate(N, 2));
129 return getI32Imm(PPC::getVSPLTImmediate(N, 4));
DPPCInstrInfo.td169 return getI32Imm(31 - N->getZExtValue());
174 return N->getZExtValue() ? getI32Imm(32 - N->getZExtValue()) : getI32Imm(0);
179 return getI32Imm((unsigned short)N->getZExtValue());
184 return getI32Imm((unsigned)N->getZExtValue() >> 16);
190 return getI32Imm((Val - (signed short)Val) >> 16);
196 return getI32Imm(mb);
203 return getI32Imm(me);
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp94 inline SDValue getI32Imm(unsigned Imm, const SDLoc &dl) { in getI32Imm() function in __anon0e9c87610111::PPCDAGToDAGISel
581 SDValue Ops[] = { Op0, Op1, getI32Imm(SH, dl), getI32Imm(MB, dl), in tryBitfieldInsert()
582 getI32Imm(ME, dl) }; in tryBitfieldInsert()
711 auto getI32Imm = [CurDAG, dl](unsigned Imm) { in getInt64Direct() local
718 Result = CurDAG->getMachineNode(PPC::LI8, dl, MVT::i64, getI32Imm(Lo)); in getInt64Direct()
722 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi)); in getInt64Direct()
725 SDValue(Result, 0), getI32Imm(Lo)); in getInt64Direct()
728 Result = CurDAG->getMachineNode(PPC::LIS8, dl, MVT::i64, getI32Imm(Hi)); in getInt64Direct()
738 getI32Imm(Shift), in getInt64Direct()
739 getI32Imm(63 - Shift)); in getInt64Direct()
[all …]
DPPCInstrHTM.td20 return getI32Imm (N->getZExtValue(), SDLoc(N));
DPPCInstrAltivec.td186 return getI32Imm(PPC::isVSLDOIShuffleMask(N, 0, *CurDAG), SDLoc(N));
197 return getI32Imm(PPC::isVSLDOIShuffleMask(N, 1, *CurDAG), SDLoc(N));
208 return getI32Imm(PPC::isVSLDOIShuffleMask(N, 2, *CurDAG), SDLoc(N));
218 return getI32Imm(PPC::getVSPLTImmediate(N, 1, *CurDAG), SDLoc(N));
225 return getI32Imm(PPC::getVSPLTImmediate(N, 2, *CurDAG), SDLoc(N));
232 return getI32Imm(PPC::getVSPLTImmediate(N, 4, *CurDAG), SDLoc(N));
DPPCInstr64Bit.td59 return getI32Imm(63 - N->getZExtValue(), SDLoc(N));
64 return N->getZExtValue() ? getI32Imm(64 - N->getZExtValue(), SDLoc(N))
65 : getI32Imm(0, SDLoc(N));
70 return getI32Imm((unsigned short)(N->getZExtValue() >> 32, SDLoc(N)));
75 return getI32Imm((unsigned short)(N->getZExtValue() >> 48, SDLoc(N)));
DPPCInstrInfo.td254 return getI32Imm(31 - N->getZExtValue(), SDLoc(N));
259 return N->getZExtValue() ? getI32Imm(32 - N->getZExtValue(), SDLoc(N))
260 : getI32Imm(0, SDLoc(N));
265 return getI32Imm((unsigned short)N->getZExtValue(), SDLoc(N));
270 return getI32Imm((unsigned)N->getZExtValue() >> 16, SDLoc(N));
276 return getI32Imm((Val - (signed short)Val) >> 16, SDLoc(N));
282 return getI32Imm(mb, SDLoc(N));
289 return getI32Imm(me, SDLoc(N));
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp764 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad()
765 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
766 getI32Imm(fromTypeWidth, dl), Addr, Chain }; in tryLoad()
792 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad()
793 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
794 getI32Imm(fromTypeWidth, dl), Base, Offset, Chain }; in tryLoad()
845 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad()
846 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
847 getI32Imm(fromTypeWidth, dl), Base, Offset, Chain }; in tryLoad()
897 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad()
[all …]
DNVPTXISelDAGToDAG.h73 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() function
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
DSPUOperands.td14 return getI32Imm(N->getZExtValue());
26 return getI32Imm(val & 0xffff);
47 return getI32Imm((unsigned)CN->getZExtValue() & 0xffff);
52 return getI32Imm((unsigned)N->getZExtValue() >> 16);
73 return getI32Imm((unsigned)CN->getZExtValue() >> 16);
189 return getI32Imm(FloatToBits(fval) >> 16);
196 return getI32Imm(FloatToBits(fval) & 0xffff);
201 return getI32Imm((int) ((FloatToBits(fval) << 16) >> 16));
206 return getI32Imm(FloatToBits(fval) & ((1 << 18) - 1));
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp49 inline SDValue getI32Imm(unsigned Imm, const SDLoc &dl) { in getI32Imm() function in __anone20b55200111::XCoreDAGToDAGISel
141 SDValue MskSize = getI32Imm(32 - countLeadingZeros((uint32_t)Val), dl); in Select()
267 SDValue constOne = getI32Imm(1, dl); in tryBRIND()
DXCoreInstrInfo.td97 return getI32Imm(N->getZExtValue()/4, SDLoc(N));
104 return getI32Imm(32 - countLeadingZeros((uint32_t)N->getZExtValue()),
111 return getI32Imm(-value, SDLoc(N));
117 return getI32Imm(32 - value, SDLoc(N));
124 return getI32Imm(-value/4, SDLoc(N));
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp54 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm() function in __anon36109a4c0111::XCoreDAGToDAGISel
163 SDValue MskSize = getI32Imm(32 - CountLeadingZeros_32(Val)); in Select()
287 SDValue constOne = getI32Imm(1); in SelectBRIND()
DXCoreInstrInfo.td80 return getI32Imm(N->getZExtValue()/4);
87 return getI32Imm(32 - CountLeadingZeros_32(N->getZExtValue()));
93 return getI32Imm(-value);
99 return getI32Imm(32-value);
106 return getI32Imm(-value/4);
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeISelDAGToDAG.cpp89 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm() function in __anonc75db0400111::MBlazeDAGToDAGISel
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZOperands.td62 return getI32Imm(N->getZExtValue() & 0x00000000FFFFFFFFULL);
67 return getI32Imm(N->getZExtValue() >> 32);
DSystemZISelDAGToDAG.cpp115 inline SDValue getI32Imm(uint64_t Imm) { in getI32Imm() function in __anon13a3c4880411::SystemZDAGToDAGISel
/external/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp86 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() function in __anon20bd0de80111::LanaiDAGToDAGISel
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelDAGToDAG.cpp91 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm() function in __anon9e383e3c0111::MipsDAGToDAGISel
DMips64InstrInfo.td28 return getI32Imm((unsigned)N->getZExtValue() - 32);
DMipsInstrInfo.td182 return getI32Imm((unsigned)N->getZExtValue() & 0xFFFF);
187 return getI32Imm((unsigned)N->getZExtValue() >> 16);
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp81 inline SDValue getI32Imm(unsigned Imm, const SDLoc &dl) { in getI32Imm() function in __anonf7b2665e0111::ARMDAGToDAGISel
2185 Ops.push_back(getI32Imm(Lane, dl)); in SelectVLDSTLane()
3384 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(), dl)); /* coproc */ in Select()
3385 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(), dl)); /* opc */ in Select()
3386 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(), dl)); /* CRm */ in Select()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrFragmentsSIMD.td361 return getI32Imm(N->getZExtValue() >> 3);

12