Home
last modified time | relevance | path

Searched refs:IndexOffset (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp563 APInt IndexOffset = Idx - BasisIdx; in emitBump() local
568 IndexOffset.getBitWidth(), in emitBump()
572 APInt::sdivrem(IndexOffset, ElementSize, Q, R); in emitBump()
574 IndexOffset = Q; in emitBump()
581 if (IndexOffset.getSExtValue() == 1) in emitBump()
584 if (IndexOffset.getSExtValue() == -1) in emitBump()
590 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()
592 if (IndexOffset.isPowerOf2()) { in emitBump()
594 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
597 if ((-IndexOffset).isPowerOf2()) { in emitBump()
[all …]
/external/mesa3d/src/mesa/main/
Dpixeltransfer.c199 GLint offset = ctx->Pixel.IndexOffset; in _mesa_shift_and_offset_ci()
252 if (ctx->Pixel.IndexShift != 0 || ctx->Pixel.IndexOffset != 0) { in _mesa_apply_stencil_transfer_ops()
253 const GLint offset = ctx->Pixel.IndexOffset; in _mesa_apply_stencil_transfer_ops()
Dpixel.c534 if (ctx->Pixel.IndexOffset == (GLint) param) in _mesa_PixelTransferf()
537 ctx->Pixel.IndexOffset = (GLint) param; in _mesa_PixelTransferf()
633 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset) in update_image_transfer_state()
705 ctx->Pixel.IndexOffset = 0; in _mesa_init_pixel()
Dreadpix.c606 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dmtypes.h1046 GLint IndexShift, IndexOffset; member
Dget.c859 { GL_INDEX_OFFSET, CONTEXT_INT(Pixel.IndexOffset), NO_EXTRA },
Dpack.c5263 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span()
5799 ctx->Pixel.IndexOffset || in _mesa_pack_depth_stencil_span()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp423 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local
425 Index = GetLinearExpression(Index, IndexScale, IndexOffset, ZExtBits, in DecomposeGEPExpression()
430 BaseOffs += IndexOffset.getSExtValue() * Scale; in DecomposeGEPExpression()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp703 unsigned IndexOffset = insn.sibIndex - in translateRMMemory() local
708 (insn.sibIndex == SIB_INDEX_NONE ? 4 : IndexOffset)); in translateRMMemory()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10976 SDValue IndexOffset = Ptr->getOperand(1); in match() local
10979 if (IndexOffset->getOpcode() == ISD::SIGN_EXTEND) { in match()
10980 IndexOffset = IndexOffset->getOperand(0); in match()
10985 if (IndexOffset->getOpcode() != ISD::ADD) in match()
10986 return BaseIndexOffset(Base, IndexOffset, 0, IsIndexSignExt); in match()
10989 SDValue Index = IndexOffset->getOperand(0); in match()
10990 SDValue Offset = IndexOffset->getOperand(1); in match()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2400 ctx->Pixel.IndexOffset == 0 && in _mesa_meta_DrawPixels()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1349 static bool isVMerge(ShuffleVectorSDNode *N, unsigned IndexOffset, in isVMerge() argument
1357 i*RHSStartValue+j+IndexOffset) || in isVMerge()
1359 i*RHSStartValue+j+IndexOffset+8)) in isVMerge()