Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp544 APInt IndexOffset = Idx - BasisIdx; in emitBump() local
549 IndexOffset.getBitWidth(), in emitBump()
553 APInt::sdivrem(IndexOffset, ElementSize, Q, R); in emitBump()
555 IndexOffset = Q; in emitBump()
562 if (IndexOffset == 1) in emitBump()
565 if (IndexOffset.isAllOnesValue()) in emitBump()
571 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()
573 if (IndexOffset.isPowerOf2()) { in emitBump()
575 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
578 if ((-IndexOffset).isPowerOf2()) { in emitBump()
[all …]
/external/mesa3d/src/mesa/main/
Dpixeltransfer.c201 GLint offset = ctx->Pixel.IndexOffset; in _mesa_shift_and_offset_ci()
254 if (ctx->Pixel.IndexShift != 0 || ctx->Pixel.IndexOffset != 0) { in _mesa_apply_stencil_transfer_ops()
255 const GLint offset = ctx->Pixel.IndexOffset; in _mesa_apply_stencil_transfer_ops()
Dpixel.c517 if (ctx->Pixel.IndexOffset == (GLint) param) in _mesa_PixelTransferf()
520 ctx->Pixel.IndexOffset = (GLint) param; in _mesa_PixelTransferf()
616 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset) in update_image_transfer_state()
665 ctx->Pixel.IndexOffset = 0; in _mesa_init_pixel()
Dreadpix.c159 ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
166 return ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
819 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dpack.c623 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span()
1178 ctx->Pixel.IndexOffset || in _mesa_pack_depth_stencil_span()
Dmtypes.h746 GLint IndexShift, IndexOffset; member
/external/capstone/arch/X86/
DX86Disassembler.c439 unsigned IndexOffset = insn->sibIndex - in translateRMMemory() local
444 insn->sibIndex = (SIBIndex)(IndexBase + (insn->sibIndex == SIB_INDEX_NONE ? 4 : IndexOffset)); in translateRMMemory()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBasicAliasAnalysis.cpp347 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local
348 Index = GetLinearExpression(Index, IndexScale, IndexOffset, Extension, in DecomposeGEPExpression()
353 BaseOffs += IndexOffset.getSExtValue()*Scale; in DecomposeGEPExpression()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp446 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local
448 Index = GetLinearExpression(Index, IndexScale, IndexOffset, ZExtBits, in DecomposeGEPExpression()
453 Decomposed.OtherOffset += IndexOffset.getSExtValue() * Scale; in DecomposeGEPExpression()
DLazyCallGraph.cpp466 int IndexOffset = MergeRange.end() - MergeRange.begin(); in switchInternalEdgeToCall() local
469 SCCIndices[C] -= IndexOffset; in switchInternalEdgeToCall()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp776 unsigned IndexOffset = insn.sibIndex - in translateRMMemory() local
781 (insn.sibIndex == SIB_INDEX_NONE ? 4 : IndexOffset)); in translateRMMemory()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h439 { GL_INDEX_OFFSET, CONTEXT_INT(Pixel.IndexOffset), NO_EXTRA },
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp11108 SDValue IndexOffset = Ptr->getOperand(1); in match() local
11111 if (IndexOffset->getOpcode() == ISD::SIGN_EXTEND) { in match()
11112 IndexOffset = IndexOffset->getOperand(0); in match()
11117 if (IndexOffset->getOpcode() != ISD::ADD) in match()
11118 return BaseIndexOffset(Base, IndexOffset, 0, IsIndexSignExt); in match()
11121 SDValue Index = IndexOffset->getOperand(0); in match()
11122 SDValue Offset = IndexOffset->getOperand(1); in match()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2133 ctx->Pixel.IndexOffset == 0 && in _mesa_meta_DrawPixels()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1370 static bool isVMerge(ShuffleVectorSDNode *N, unsigned IndexOffset, in isVMerge() argument
1378 i*RHSStartValue+j+IndexOffset) || in isVMerge()
1380 i*RHSStartValue+j+IndexOffset+8)) in isVMerge()