/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 544 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-10.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 578 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/llvm-project/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 591 APInt IndexOffset = Idx - BasisIdx; in emitBump() local 596 IndexOffset.getBitWidth(), in emitBump() 600 APInt::sdivrem(IndexOffset, ElementSize, Q, R); in emitBump() 602 IndexOffset = Q; in emitBump() 609 if (IndexOffset == 1) in emitBump() 612 if (IndexOffset.isAllOnesValue()) in emitBump() 618 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump() 620 if (IndexOffset.isPowerOf2()) { in emitBump() 622 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump() 625 if ((-IndexOffset).isPowerOf2()) { in emitBump() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | TpiStreamBuilder.cpp | 171 for (auto &IndexOffset : TypeIndexOffsets) { in commit() local 172 if (auto EC = HW.writeObject(IndexOffset)) in commit()
|
/external/mesa3d/src/mesa/main/ |
D | pixeltransfer.c | 201 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()
|
D | pixel.c | 516 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()
|
D | readpix.c | 161 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()
|
D | pack.c | 608 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span() 1162 ctx->Pixel.IndexOffset || in _mesa_pack_depth_stencil_span()
|
D | mtypes.h | 743 GLint IndexShift, IndexOffset; member
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | TpiStreamBuilder.cpp | 207 for (auto &IndexOffset : TypeIndexOffsets) { in commit() local 208 if (auto EC = HW.writeObject(IndexOffset)) in commit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 578 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local 581 Index = GetLinearExpression(Index, IndexScale, IndexOffset, ZExtBits, in DecomposeGEPExpression() 594 APInt WideScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize*2) * in DecomposeGEPExpression() 599 IndexOffset = 0; in DecomposeGEPExpression() 605 Decomposed.OtherOffset += IndexOffset.sextOrTrunc(MaxPointerSize) * Scale; in DecomposeGEPExpression()
|
D | LazyCallGraph.cpp | 666 int IndexOffset = MergeRange.end() - MergeRange.begin(); in switchInternalEdgeToCall() local 669 SCCIndices[C] -= IndexOffset; in switchInternalEdgeToCall() 1091 int IndexOffset = MergeRange.end() - MergeRange.begin(); in insertIncomingRefEdge() local 1095 G->RefSCCIndices[RC] -= IndexOffset; in insertIncomingRefEdge()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LazyCallGraph.cpp | 678 int IndexOffset = MergeRange.end() - MergeRange.begin(); in switchInternalEdgeToCall() local 681 SCCIndices[C] -= IndexOffset; in switchInternalEdgeToCall() 1103 int IndexOffset = MergeRange.end() - MergeRange.begin(); in insertIncomingRefEdge() local 1107 G->RefSCCIndices[RC] -= IndexOffset; in insertIncomingRefEdge()
|
D | BasicAliasAnalysis.cpp | 536 APInt IndexScale(Width, 0), IndexOffset(Width, 0); in DecomposeGEPExpression() local 539 Index = GetLinearExpression(Index, IndexScale, IndexOffset, ZExtBits, in DecomposeGEPExpression() 553 APInt ScaledOffset = IndexOffset.sextOrTrunc(MaxPointerSize) in DecomposeGEPExpression() 558 IndexOffset = 0; in DecomposeGEPExpression()
|
/external/capstone/arch/X86/ |
D | X86Disassembler.c | 575 unsigned IndexOffset = insn->sibIndex - in translateRMMemory() local 580 insn->sibIndex = (SIBIndex)(IndexBase + (insn->sibIndex == SIB_INDEX_NONE ? 4 : IndexOffset)); in translateRMMemory()
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 446 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()
|
D | LazyCallGraph.cpp | 466 int IndexOffset = MergeRange.end() - MergeRange.begin(); in switchInternalEdgeToCall() local 469 SCCIndices[C] -= IndexOffset; in switchInternalEdgeToCall()
|
/external/llvm/lib/Target/X86/Disassembler/ |
D | X86Disassembler.cpp | 776 unsigned IndexOffset = insn.sibIndex - in translateRMMemory() local 781 (insn.sibIndex == SIB_INDEX_NONE ? 4 : IndexOffset)); in translateRMMemory()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 11108 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/ |
D | meta.c | 2124 ctx->Pixel.IndexOffset == 0 && in _mesa_meta_DrawPixels()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1370 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-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1732 static bool isVMerge(ShuffleVectorSDNode *N, unsigned IndexOffset, in isVMerge() argument 1740 i*RHSStartValue+j+IndexOffset) || in isVMerge() 1742 i*RHSStartValue+j+IndexOffset+8)) in isVMerge()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 1858 static bool isVMerge(ShuffleVectorSDNode *N, unsigned IndexOffset, in isVMerge() argument 1866 i*RHSStartValue+j+IndexOffset) || in isVMerge() 1868 i*RHSStartValue+j+IndexOffset+8)) in isVMerge()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 9589 uint64_t IndexOffset = 0; in createVariablePermute() local 9598 IndexOffset |= i << (i * NumDstBits); in createVariablePermute() 9604 DAG.getConstant(IndexOffset, SDLoc(Idx), SrcVT)); in createVariablePermute()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 9875 uint64_t IndexOffset = 0; in createVariablePermute() local 9884 IndexOffset |= i << (i * NumDstBits); in createVariablePermute() 9890 DAG.getConstant(IndexOffset, SDLoc(Idx), SrcVT)); in createVariablePermute()
|