Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp63 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm() function in __anon3b4bc2d70111::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 __anon1cd67fab0111::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));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp172 inline SDValue getI32Imm(unsigned Imm, const SDLoc &dl) { in getI32Imm() function in __anon8e6ce5030111::PPCDAGToDAGISel
751 SDValue Ops[] = { Op0, Op1, getI32Imm(SH, dl), getI32Imm(MB, dl), in tryBitfieldInsert()
752 getI32Imm(ME, dl) }; in tryBitfieldInsert()
891 auto getI32Imm = [CurDAG, dl](unsigned Imm) { in selectI64ImmDirect() local
904 Result = CurDAG->getMachineNode(OpC, dl, MVT::i64, getI32Imm(Hi)); in selectI64ImmDirect()
907 SDValue(Result, 0), getI32Imm(Lo)); in selectI64ImmDirect()
910 Result = CurDAG->getMachineNode(PPC::LIS8, dl, MVT::i64, getI32Imm(Hi)); in selectI64ImmDirect()
920 { SDValue(Result, 0), SDValue(Result, 0), getI32Imm(Shift), getI32Imm(0)}; in selectI64ImmDirect()
928 getI32Imm(Shift), in selectI64ImmDirect()
929 getI32Imm(63 - Shift)); in selectI64ImmDirect()
[all …]
DPPCInstrHTM.td20 return getI32Imm (N->getZExtValue(), SDLoc(N));
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp923 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(CodeAddrSpace, dl), in tryLoad()
924 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
925 getI32Imm(fromTypeWidth, dl), Addr, Chain }; in tryLoad()
936 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(CodeAddrSpace, dl), in tryLoad()
937 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
938 getI32Imm(fromTypeWidth, dl), Base, Offset, Chain }; in tryLoad()
955 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(CodeAddrSpace, dl), in tryLoad()
956 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
957 getI32Imm(fromTypeWidth, dl), Base, Offset, Chain }; in tryLoad()
974 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(CodeAddrSpace, dl), in tryLoad()
[all …]
DNVPTXISelDAGToDAG.h78 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() function
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp49 inline SDValue getI32Imm(unsigned Imm, const SDLoc &dl) { in getI32Imm() function in __anon61dbb2c20111::XCoreDAGToDAGISel
141 SDValue MskSize = getI32Imm(32 - countLeadingZeros((uint32_t)Val), dl); in Select()
267 SDValue constOne = getI32Imm(1, dl); in tryBRIND()
DXCoreInstrInfo.td98 return getI32Imm(N->getZExtValue()/4, SDLoc(N));
105 return getI32Imm(32 - countLeadingZeros((uint32_t)N->getZExtValue()),
112 return getI32Imm(-value, SDLoc(N));
118 return getI32Imm(32 - value, SDLoc(N));
125 return getI32Imm(-value/4, SDLoc(N));
/external/llvm/lib/Target/XCore/
DXCoreISelDAGToDAG.cpp49 inline SDValue getI32Imm(unsigned Imm, const SDLoc &dl) { in getI32Imm() function in __anonf0454d6a0111::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 __anon0eba90960111::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 __anon725e610a0111::MBlazeDAGToDAGISel
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZOperands.td62 return getI32Imm(N->getZExtValue() & 0x00000000FFFFFFFFULL);
67 return getI32Imm(N->getZExtValue() >> 32);
/external/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp86 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() function in __anon2ef706320111::LanaiDAGToDAGISel
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiISelDAGToDAG.cpp86 inline SDValue getI32Imm(unsigned Imm, const SDLoc &DL) { in getI32Imm() function in __anona08d6b8a0111::LanaiDAGToDAGISel
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelDAGToDAG.cpp91 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm() function in __anon567c1a060111::MipsDAGToDAGISel
DMips64InstrInfo.td28 return getI32Imm((unsigned)N->getZExtValue() - 32);

12