Home
last modified time | relevance | path

Searched refs:IndexOffset (Results 1 – 19 of 19) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp578 APInt IndexOffset = Idx - BasisIdx; in emitBump() local
583 IndexOffset.getBitWidth(), in emitBump()
587 APInt::sdivrem(IndexOffset, ElementSize, Q, R); in emitBump()
589 IndexOffset = Q; in emitBump()
596 if (IndexOffset == 1) in emitBump()
599 if (IndexOffset.isAllOnesValue()) in emitBump()
605 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()
607 if (IndexOffset.isPowerOf2()) { in emitBump()
609 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump()
612 if ((-IndexOffset).isPowerOf2()) { in emitBump()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DTpiStreamBuilder.cpp169 for (auto &IndexOffset : TypeIndexOffsets) { in commit() local
170 if (auto EC = HW.writeObject(IndexOffset)) in commit()
/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.c516 if (ctx->Pixel.IndexOffset == (GLint) param) in _mesa_PixelTransferf()
519 ctx->Pixel.IndexOffset = (GLint) param; in _mesa_PixelTransferf()
616 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset) in _mesa_update_pixel()
655 ctx->Pixel.IndexOffset = 0; in _mesa_init_pixel()
Dreadpix.c161 ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
168 return ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
826 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dpack.c608 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span()
1162 ctx->Pixel.IndexOffset || in _mesa_pack_depth_stencil_span()
Dmtypes.h743 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-7.0/llvm/lib/Analysis/
DLazyCallGraph.cpp653 int IndexOffset = MergeRange.end() - MergeRange.begin(); in switchInternalEdgeToCall() local
656 SCCIndices[C] -= IndexOffset; in switchInternalEdgeToCall()
1078 int IndexOffset = MergeRange.end() - MergeRange.begin(); in insertIncomingRefEdge() local
1082 G->RefSCCIndices[RC] -= IndexOffset; in insertIncomingRefEdge()
DBasicAliasAnalysis.cpp520 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local
522 Index = GetLinearExpression(Index, IndexScale, IndexOffset, ZExtBits, in DecomposeGEPExpression()
534 Decomposed.OtherOffset += 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/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.c2124 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp1629 static bool isVMerge(ShuffleVectorSDNode *N, unsigned IndexOffset, in isVMerge() argument
1637 i*RHSStartValue+j+IndexOffset) || in isVMerge()
1639 i*RHSStartValue+j+IndexOffset+8)) in isVMerge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp8054 uint64_t IndexOffset = 0; in createVariablePermute() local
8063 IndexOffset |= i << (i * NumDstBits); in createVariablePermute()
8069 DAG.getConstant(IndexOffset, SDLoc(Idx), SrcVT)); in createVariablePermute()