Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp536 APInt IndexOffset = Idx - BasisIdx; in emitBump() local
541 IndexOffset.getBitWidth(), in emitBump()
545 APInt::sdivrem(IndexOffset, ElementSize, Q, R); in emitBump()
547 IndexOffset = Q; in emitBump()
554 if (IndexOffset.getSExtValue() == 1) in emitBump()
557 if (IndexOffset.getSExtValue() == -1) in emitBump()
563 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()
565 if (IndexOffset.isPowerOf2()) { in emitBump()
567 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
570 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.cpp377 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local
378 Index = GetLinearExpression(Index, IndexScale, IndexOffset, Extension, DL, in DecomposeGEPExpression()
383 BaseOffs += IndexOffset.getSExtValue()*Scale; in DecomposeGEPExpression()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp694 unsigned IndexOffset = insn.sibIndex - in translateRMMemory() local
699 (insn.sibIndex == SIB_INDEX_NONE ? 4 : IndexOffset)); in translateRMMemory()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10025 SDValue IndexOffset = Ptr->getOperand(1); in match() local
10028 if (IndexOffset->getOpcode() == ISD::SIGN_EXTEND) { in match()
10029 IndexOffset = IndexOffset->getOperand(0); in match()
10034 if (IndexOffset->getOpcode() != ISD::ADD) in match()
10035 return BaseIndexOffset(Base, IndexOffset, 0, IsIndexSignExt); in match()
10038 SDValue Index = IndexOffset->getOperand(0); in match()
10039 SDValue Offset = IndexOffset->getOperand(1); in match()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2400 ctx->Pixel.IndexOffset == 0 && in _mesa_meta_DrawPixels()