/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsFrameLowering.cpp | 110 unsigned& NewReg, int& NewImm, in expandRegLargeImmPair() argument 116 NewImm = OrigImm; in expandRegLargeImmPair() 133 NewImm = ImmLo; in expandRegLargeImmPair() 150 int NewImm = 0; in emitPrologue() local 181 ATUsed = expandRegLargeImmPair(Mips::SP, -StackSize, NewReg, NewImm, MBB, in emitPrologue() 184 .addReg(NewReg).addImm(NewImm); in emitPrologue() 280 int NewImm = 0; in emitEpilogue() local 298 ATUsed = expandRegLargeImmPair(Mips::SP, StackSize, NewReg, NewImm, MBB, in emitEpilogue() 301 .addReg(NewReg).addImm(NewImm); in emitEpilogue()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 164 unsigned NewImm = Imm; in DecodePSHUFMask() local 167 ShuffleMask.push_back(NewImm % NumLaneElts + l); in DecodePSHUFMask() 168 NewImm /= NumLaneElts; in DecodePSHUFMask() 170 if (NumLaneElts == 4) NewImm = Imm; // reload imm in DecodePSHUFMask() 179 unsigned NewImm = Imm; in DecodePSHUFHWMask() local 184 ShuffleMask.push_back(l + 4 + (NewImm & 3)); in DecodePSHUFHWMask() 185 NewImm >>= 2; in DecodePSHUFHWMask() 195 unsigned NewImm = Imm; in DecodePSHUFLWMask() local 197 ShuffleMask.push_back(l + (NewImm & 3)); in DecodePSHUFLWMask() 198 NewImm >>= 2; in DecodePSHUFLWMask() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 167 unsigned NewImm = Imm; in DecodePSHUFHWMask() local 172 ShuffleMask.push_back(l + 4 + (NewImm & 3)); in DecodePSHUFHWMask() 173 NewImm >>= 2; in DecodePSHUFHWMask() 181 unsigned NewImm = Imm; in DecodePSHUFLWMask() local 183 ShuffleMask.push_back(l + (NewImm & 3)); in DecodePSHUFLWMask() 184 NewImm >>= 2; in DecodePSHUFLWMask() 208 unsigned NewImm = Imm; in DecodeSHUFPMask() local 213 ShuffleMask.push_back(NewImm % NumLaneElts + s + l); in DecodeSHUFPMask() 214 NewImm /= NumLaneElts; in DecodeSHUFPMask() 217 if (NumLaneElts == 4) NewImm = Imm; // reload imm in DecodeSHUFPMask()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | Mips16RegisterInfo.cpp | 137 unsigned NewImm; in eliminateFI() local 140 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm); in eliminateFI() 141 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | MipsSERegisterInfo.cpp | 244 unsigned NewImm = 0; in eliminateFI() local 249 OffsetBitSize == 16 ? &NewImm : nullptr); in eliminateFI() 254 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | Mips16InstrInfo.cpp | 329 unsigned &NewImm) const { in loadImmediate() 344 NewImm = lo; in loadImmediate() 406 NewImm = 0; in loadImmediate()
|
D | MipsSEInstrInfo.h | 80 unsigned *NewImm) const;
|
D | Mips16InstrInfo.h | 94 unsigned &NewImm) const;
|
D | MipsSEInstrInfo.cpp | 605 unsigned *NewImm) const { in loadImmediate() 614 bool LastInstrIsADDiu = NewImm; in loadImmediate() 639 *NewImm = Inst->ImmOpnd; in loadImmediate()
|
/external/llvm/lib/Target/Mips/ |
D | Mips16RegisterInfo.cpp | 137 unsigned NewImm; in eliminateFI() local 140 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm); in eliminateFI() 141 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | MipsSERegisterInfo.cpp | 198 unsigned NewImm = 0; in eliminateFI() local 203 OffsetBitSize == 16 ? &NewImm : nullptr); in eliminateFI() 208 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | MipsSEInstrInfo.h | 77 unsigned *NewImm) const;
|
D | Mips16InstrInfo.cpp | 309 unsigned &NewImm) const { in loadImmediate() 324 NewImm = lo; in loadImmediate() 386 NewImm = 0; in loadImmediate()
|
D | Mips16InstrInfo.h | 87 unsigned &NewImm) const;
|
D | MipsSEInstrInfo.cpp | 469 unsigned *NewImm) const { in loadImmediate() 478 bool LastInstrIsADDiu = NewImm; in loadImmediate() 503 *NewImm = Inst->ImmOpnd; in loadImmediate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ConditionOptimizer.cpp | 257 const int NewImm = std::abs(OldImm + Correction); in adjustCmp() local 266 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
|
D | AArch64ISelLowering.cpp | 853 uint64_t OldImm = Imm, NewImm, Enc; in optimizeLogicalImm() local 884 NewImm = (Imm | Ones) & Mask; in optimizeLogicalImm() 889 if (isShiftedMask_64(NewImm) || isShiftedMask_64(~(NewImm | ~Mask))) in optimizeLogicalImm() 913 NewImm |= NewImm << EltSize; in optimizeLogicalImm() 918 assert(((OldImm ^ NewImm) & Demanded.getZExtValue()) == 0 && in optimizeLogicalImm() 920 assert(OldImm != NewImm && "the new imm shouldn't be equal to the old imm"); in optimizeLogicalImm() 929 if (NewImm == 0 || NewImm == OrigMask) { in optimizeLogicalImm() 931 TLO.DAG.getConstant(NewImm, DL, VT)); in optimizeLogicalImm() 935 Enc = AArch64_AM::encodeLogicalImmediate(NewImm, Size); in optimizeLogicalImm()
|
D | AArch64InstrInfo.cpp | 5387 int64_t NewImm = (Offset + 16) / Scale; in fixupPostOutline() local 5388 StackOffsetOperand.setImm(NewImm); in fixupPostOutline()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ConditionOptimizer.cpp | 246 const int NewImm = std::abs(OldImm + Correction); in adjustCmp() local 255 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 2406 int64_t NewImm = 0; in convertToImmediateForm() local 2480 NewImm = Addend + SExtImm; in convertToImmediateForm() 2504 NewImm = InVal.getSExtValue(); in convertToImmediateForm() 2531 NewImm = InVal.getSExtValue(); in convertToImmediateForm() 2550 NewImm = Result; in convertToImmediateForm() 2562 bool ImmChanged = (SExtImm & NewImm) != NewImm; in convertToImmediateForm() 2570 DefMI->getOperand(1).setImm(NewImm); in convertToImmediateForm() 2575 if (NewImm) { in convertToImmediateForm() 2577 NewImm = Immediate; in convertToImmediateForm() 2590 LII.Imm = NewImm; in convertToImmediateForm()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIFoldOperands.cpp | 557 int32_t NewImm; in tryConstantFoldOp() local 558 if (!evalBinaryInstruction(Opc, NewImm, Src0->getImm(), Src1->getImm())) in tryConstantFoldOp() 566 MI->getOperand(Src0Idx).ChangeToImmediate(NewImm); in tryConstantFoldOp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 1408 uint8_t NewImm = Imm & ~(SwapMasks[Case][0] | SwapMasks[Case][1] | in commuteVPTERNLOG() local 1411 if (Imm & SwapMasks[Case][0]) NewImm |= SwapMasks[Case][1]; in commuteVPTERNLOG() 1412 if (Imm & SwapMasks[Case][1]) NewImm |= SwapMasks[Case][0]; in commuteVPTERNLOG() 1413 if (Imm & SwapMasks[Case][2]) NewImm |= SwapMasks[Case][3]; in commuteVPTERNLOG() 1414 if (Imm & SwapMasks[Case][3]) NewImm |= SwapMasks[Case][2]; in commuteVPTERNLOG() 1415 MI.getOperand(MI.getNumOperands()-1).setImm(NewImm); in commuteVPTERNLOG() 4772 unsigned NewImm = (DstIdx << 4) | ZMask; in foldMemoryOperandCustom() local 4779 NewMI->getOperand(NewMI->getNumOperands() - 1).setImm(NewImm); in foldMemoryOperandCustom() 6531 unsigned NewImm = Imm; in setExecutionDomainCustom() local 6538 AdjustBlendMask(Imm, ImmWidth, Is256 ? 8 : 4, &NewImm); in setExecutionDomainCustom() [all …]
|
D | X86InstrAVX512.td | 11096 uint8_t NewImm = Imm & 0xa5; 11097 if (Imm & 0x02) NewImm |= 0x10; 11098 if (Imm & 0x10) NewImm |= 0x02; 11099 if (Imm & 0x08) NewImm |= 0x40; 11100 if (Imm & 0x40) NewImm |= 0x08; 11101 return getI8Imm(NewImm, SDLoc(N)); 11107 uint8_t NewImm = Imm & 0xc3; 11108 if (Imm & 0x04) NewImm |= 0x10; 11109 if (Imm & 0x10) NewImm |= 0x04; 11110 if (Imm & 0x08) NewImm |= 0x20; [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 2832 SDValue NewImm = in Select() local 2836 if (NewImm->getNodeId() == -1) in Select() 2837 CurDAG->RepositionNode(N->getIterator(), NewImm.getNode()); in Select() 2841 N->getOperand(0), NewImm, getAL(CurDAG, dl), in Select() 2846 SDValue Ops[] = {N->getOperand(0), NewImm, getAL(CurDAG, dl), in Select()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 2746 SDValue NewImm = in Select() local 2750 if (NewImm->getNodeId() == -1) in Select() 2751 CurDAG->RepositionNode(N->getIterator(), NewImm.getNode()); in Select() 2755 N->getOperand(0), NewImm, getAL(CurDAG, dl), in Select() 2760 SDValue Ops[] = {N->getOperand(0), NewImm, getAL(CurDAG, dl), in Select()
|