/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 166 unsigned NewImm = Imm; in DecodePSHUFHWMask() local 171 ShuffleMask.push_back(l + 4 + (NewImm & 3)); in DecodePSHUFHWMask() 172 NewImm >>= 2; in DecodePSHUFHWMask() 180 unsigned NewImm = Imm; in DecodePSHUFLWMask() local 182 ShuffleMask.push_back(l + (NewImm & 3)); in DecodePSHUFLWMask() 183 NewImm >>= 2; in DecodePSHUFLWMask() 207 unsigned NewImm = Imm; in DecodeSHUFPMask() local 212 ShuffleMask.push_back(NewImm % NumLaneElts + s + l); in DecodeSHUFPMask() 213 NewImm /= NumLaneElts; in DecodeSHUFPMask() 216 if (NumLaneElts == 4) NewImm = Imm; // reload imm in DecodeSHUFPMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | Mips16RegisterInfo.cpp | 136 unsigned NewImm; in eliminateFI() local 139 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm); in eliminateFI() 140 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | MipsSERegisterInfo.cpp | 241 unsigned NewImm = 0; in eliminateFI() local 246 OffsetBitSize == 16 ? &NewImm : nullptr); in eliminateFI() 251 Offset = SignExtend64<16>(NewImm); in eliminateFI()
|
D | Mips16InstrInfo.cpp | 324 unsigned &NewImm) const { in loadImmediate() 339 NewImm = lo; in loadImmediate() 401 NewImm = 0; in loadImmediate()
|
D | MipsSEInstrInfo.h | 76 unsigned *NewImm) const;
|
D | Mips16InstrInfo.h | 90 unsigned &NewImm) const;
|
D | MipsSEInstrInfo.cpp | 606 unsigned *NewImm) const { in loadImmediate() 615 bool LastInstrIsADDiu = NewImm; in loadImmediate() 640 *NewImm = Inst->ImmOpnd; in loadImmediate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIShrinkInstructions.cpp | 329 uint32_t NewImm = 0; in shrinkScalarLogicOp() local 333 NewImm = countTrailingOnes(Imm); in shrinkScalarLogicOp() 336 NewImm = ~Imm; in shrinkScalarLogicOp() 341 NewImm = countTrailingZeros(Imm); in shrinkScalarLogicOp() 344 NewImm = ~Imm; in shrinkScalarLogicOp() 349 NewImm = ~Imm; in shrinkScalarLogicOp() 359 NewImm = 0; in shrinkScalarLogicOp() 362 if (NewImm != 0) { in shrinkScalarLogicOp() 373 Src0->ChangeToImmediate(NewImm); in shrinkScalarLogicOp() 378 SrcImm->setImm(NewImm); in shrinkScalarLogicOp()
|
D | SIFoldOperands.cpp | 1027 int32_t NewImm; in tryConstantFoldOp() local 1028 if (!evalBinaryInstruction(Opc, NewImm, Src0->getImm(), Src1->getImm())) in tryConstantFoldOp() 1036 MI->getOperand(Src0Idx).ChangeToImmediate(NewImm); in tryConstantFoldOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 | 968 uint64_t OldImm = Imm, NewImm, Enc; in optimizeLogicalImm() local 999 NewImm = (Imm | Ones) & Mask; in optimizeLogicalImm() 1004 if (isShiftedMask_64(NewImm) || isShiftedMask_64(~(NewImm | ~Mask))) in optimizeLogicalImm() 1028 NewImm |= NewImm << EltSize; in optimizeLogicalImm() 1033 assert(((OldImm ^ NewImm) & Demanded.getZExtValue()) == 0 && in optimizeLogicalImm() 1035 assert(OldImm != NewImm && "the new imm shouldn't be equal to the old imm"); in optimizeLogicalImm() 1044 if (NewImm == 0 || NewImm == OrigMask) { in optimizeLogicalImm() 1046 TLO.DAG.getConstant(NewImm, DL, VT)); in optimizeLogicalImm() 1050 Enc = AArch64_AM::encodeLogicalImmediate(NewImm, Size); in optimizeLogicalImm()
|
D | AArch64InstrInfo.cpp | 6227 int64_t NewImm = (Offset + 16) / Scale; in fixupPostOutline() local 6228 StackOffsetOperand.setImm(NewImm); in fixupPostOutline()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 2782 int64_t NewImm = 0; in convertToImmediateForm() local 2858 NewImm = Addend + SExtImm; in convertToImmediateForm() 2882 NewImm = InVal.getSExtValue(); in convertToImmediateForm() 2909 NewImm = InVal.getSExtValue(); in convertToImmediateForm() 2928 NewImm = Result; in convertToImmediateForm() 2940 bool ImmChanged = (SExtImm & NewImm) != NewImm; in convertToImmediateForm() 2948 DefMI->getOperand(1).setImm(NewImm); in convertToImmediateForm() 2953 if (NewImm) { in convertToImmediateForm() 2955 NewImm = Immediate; in convertToImmediateForm() 2968 LII.Imm = NewImm; in convertToImmediateForm()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 1431 uint8_t NewImm = Imm & ~(SwapMasks[Case][0] | SwapMasks[Case][1] | in commuteVPTERNLOG() local 1434 if (Imm & SwapMasks[Case][0]) NewImm |= SwapMasks[Case][1]; in commuteVPTERNLOG() 1435 if (Imm & SwapMasks[Case][1]) NewImm |= SwapMasks[Case][0]; in commuteVPTERNLOG() 1436 if (Imm & SwapMasks[Case][2]) NewImm |= SwapMasks[Case][3]; in commuteVPTERNLOG() 1437 if (Imm & SwapMasks[Case][3]) NewImm |= SwapMasks[Case][2]; in commuteVPTERNLOG() 1438 MI.getOperand(MI.getNumOperands()-1).setImm(NewImm); in commuteVPTERNLOG() 4748 unsigned NewImm = (DstIdx << 4) | ZMask; in foldMemoryOperandCustom() local 4755 NewMI->getOperand(NewMI->getNumOperands() - 1).setImm(NewImm); in foldMemoryOperandCustom() 6700 unsigned NewImm = Imm; in setExecutionDomainCustom() local 6707 AdjustBlendMask(Imm, ImmWidth, Is256 ? 8 : 4, &NewImm); in setExecutionDomainCustom() [all …]
|
D | X86InstrAVX512.td | 11030 uint8_t NewImm = Imm & 0xa5; 11031 if (Imm & 0x02) NewImm |= 0x10; 11032 if (Imm & 0x10) NewImm |= 0x02; 11033 if (Imm & 0x08) NewImm |= 0x40; 11034 if (Imm & 0x40) NewImm |= 0x08; 11035 return getI8Imm(NewImm, SDLoc(N)); 11041 uint8_t NewImm = Imm & 0xc3; 11042 if (Imm & 0x04) NewImm |= 0x10; 11043 if (Imm & 0x10) NewImm |= 0x04; 11044 if (Imm & 0x08) NewImm |= 0x20; [all …]
|
D | X86InstrSSE.td | 5938 uint8_t NewImm = 0; 5941 NewImm |= 0x3 << (i * 2); 5943 return getI8Imm(NewImm, SDLoc(N)); 5949 uint8_t NewImm = 0; 5952 NewImm |= 0xf << (i * 4); 5954 return getI8Imm(NewImm, SDLoc(N)); 5960 uint8_t NewImm = 0; 5963 NewImm |= 0x3 << (i * 2); 5965 return getI8Imm(NewImm, SDLoc(N)); 5971 uint8_t NewImm = 0; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelDAGToDAG.cpp | 3318 SDValue NewImm = in Select() local 3322 if (NewImm->getNodeId() == -1) in Select() 3323 CurDAG->RepositionNode(N->getIterator(), NewImm.getNode()); in Select() 3327 N->getOperand(0), NewImm, getAL(CurDAG, dl), in Select() 3332 SDValue Ops[] = {N->getOperand(0), NewImm, getAL(CurDAG, dl), in Select()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 15175 APInt NewImm = (Imm & Mask).lshr(ShAmt).trunc(NewBW); in ReduceLoadOpStoreWidth() local 15177 NewImm ^= APInt::getAllOnesValue(NewBW); in ReduceLoadOpStoreWidth() 15195 DAG.getConstant(NewImm, SDLoc(Value), in ReduceLoadOpStoreWidth()
|