Home
last modified time | relevance | path

Searched refs:RangeSize (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCCodeView.cpp615 unsigned RangeSize = computeLabelDiff(Layout, Range.first, Range.second); in encodeDefRange() local
616 GapAndRangeSizes.push_back({GapSize, RangeSize}); in encodeDefRange()
625 unsigned RangeSize = GapAndRangeSizes[I].second; in encodeDefRange() local
629 if (RangeSize + GapAndRangeSize > MaxDefRange) in encodeDefRange()
631 RangeSize += GapAndRangeSize; in encodeDefRange()
641 uint16_t Chunk = std::min((uint32_t)MaxDefRange, RangeSize); in encodeDefRange()
672 RangeSize -= Chunk; in encodeDefRange()
673 } while (RangeSize > 0); in encodeDefRange()
680 unsigned GapSize, RangeSize; in encodeDefRange() local
682 std::tie(GapSize, RangeSize) = GapAndRangeSizes[I]; in encodeDefRange()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dragged_range_op.cc82 rt_nested_splits(row) + RangeSize(start, limit, delta); in Compute()
105 int64 RangeSize(T start, T limit, T delta) { in RangeSize() function in tensorflow::RaggedRangeOp
/external/llvm/lib/MC/
DMCCodeView.cpp392 unsigned RangeSize = computeLabelDiff(Layout, Range.first, Range.second); in encodeDefRange() local
397 uint16_t Chunk = std::min((uint32_t)MaxDefRange, RangeSize); in encodeDefRange()
428 RangeSize -= Chunk; in encodeDefRange()
429 } while (RangeSize > 0); in encodeDefRange()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp788 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() local
807 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
813 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
814 HiBound = RangeSize; in FoldICmpDivCst()
819 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
825 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
831 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
834 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
835 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
845 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
[all …]
/external/tensorflow/tensorflow/core/ops/
Dmath_ops.cc1315 Status RangeSize(const Tensor* start_t, const Tensor* limit_t, in RangeSize() function
1366 return RangeSize<int32>(start_t, limit_t, delta_t, c); in __anon57f5a5dd0902()
1368 return RangeSize<int64>(start_t, limit_t, delta_t, c); in __anon57f5a5dd0902()
1370 return RangeSize<float>(start_t, limit_t, delta_t, c); in __anon57f5a5dd0902()
1372 return RangeSize<double>(start_t, limit_t, delta_t, c); in __anon57f5a5dd0902()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1229 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst() local
1248 HiOverflow = AddWithOverflow(HiBound, LoBound, RangeSize, false); in FoldICmpDivCst()
1253 LoBound = ConstantExpr::getNeg(SubOne(RangeSize)); in FoldICmpDivCst()
1254 HiBound = RangeSize; in FoldICmpDivCst()
1259 HiOverflow = AddWithOverflow(HiBound, Prod, RangeSize, true); in FoldICmpDivCst()
1265 ConstantInt *DivNeg =cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1271 RangeSize = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1274 LoBound = AddOne(RangeSize); in FoldICmpDivCst()
1275 HiBound = cast<ConstantInt>(ConstantExpr::getNeg(RangeSize)); in FoldICmpDivCst()
1285 LoOverflow = AddWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in FoldICmpDivCst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2156 APInt RangeSize = Div->isExact() ? APInt(C2->getBitWidth(), 1) : *C2; in foldICmpDivConstant() local
2175 HiOverflow = addWithOverflow(HiBound, LoBound, RangeSize, false); in foldICmpDivConstant()
2180 LoBound = -(RangeSize - 1); in foldICmpDivConstant()
2181 HiBound = RangeSize; in foldICmpDivConstant()
2186 HiOverflow = addWithOverflow(HiBound, Prod, RangeSize, true); in foldICmpDivConstant()
2192 APInt DivNeg = -RangeSize; in foldICmpDivConstant()
2198 RangeSize.negate(); in foldICmpDivConstant()
2201 LoBound = RangeSize + 1; in foldICmpDivConstant()
2202 HiBound = -RangeSize; in foldICmpDivConstant()
2212 LoOverflow = addWithOverflow(LoBound, HiBound, RangeSize, true) ? -1:0; in foldICmpDivConstant()
[all …]