OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Denominator
(Results
1 - 12
of
12
) sorted by null
/external/llvm/lib/Support/
BranchProbability.cpp
37
BranchProbability::BranchProbability(uint32_t Numerator, uint32_t
Denominator
) {
38
assert(
Denominator
> 0 && "
Denominator
cannot be 0!");
39
assert(Numerator <=
Denominator
&& "Probability cannot be bigger than 1!");
40
if (
Denominator
== D)
44
(Numerator * static_cast<uint64_t>(D) +
Denominator
/ 2) /
Denominator
;
51
uint64_t
Denominator
) {
52
assert(Numerator <=
Denominator
&& "Probability cannot be bigger than 1!");
53
// Scale down
Denominator
to fit in a 32-bit integer
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
BranchProbability.cpp
40
BranchProbability::BranchProbability(uint32_t Numerator, uint32_t
Denominator
) {
41
assert(
Denominator
> 0 && "
Denominator
cannot be 0!");
42
assert(Numerator <=
Denominator
&& "Probability cannot be bigger than 1!");
43
if (
Denominator
== D)
47
(Numerator * static_cast<uint64_t>(D) +
Denominator
/ 2) /
Denominator
;
54
uint64_t
Denominator
) {
55
assert(Numerator <=
Denominator
&& "Probability cannot be bigger than 1!");
56
// Scale down
Denominator
to fit in a 32-bit integer
[
all
...]
/external/llvm/include/llvm/Support/
BranchProbability.h
29
//
denominator
is always a constant value (here we use 1<<31 for maximum
35
//
Denominator
, which is a constant value.
39
// Construct a BranchProbability with only numerator assuming the
denominator
45
BranchProbability(uint32_t Numerator, uint32_t
Denominator
);
54
// as
denominator
.
58
uint64_t
Denominator
);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
BranchProbability.h
29
//
denominator
is always a constant value (here we use 1<<31 for maximum
35
//
Denominator
, which is a constant value.
39
// Construct a BranchProbability with only numerator assuming the
denominator
45
BranchProbability(uint32_t Numerator, uint32_t
Denominator
);
54
// as
denominator
.
58
uint64_t
Denominator
);
MathExtras.h
698
/// Returns the integer ceil(Numerator /
Denominator
).
699
inline uint64_t divideCeil(uint64_t Numerator, uint64_t
Denominator
) {
700
return alignTo(Numerator,
Denominator
) /
Denominator
;
/external/llvm/lib/Analysis/
ValueTracking.cpp
[
all
...]
ScalarEvolution.cpp
698
//
Denominator
.
700
const SCEV *
Denominator
, const SCEV **Quotient,
702
assert(Numerator &&
Denominator
&& "Uninitialized SCEV");
704
SCEVDivision D(SE, Numerator,
Denominator
);
708
if (Numerator ==
Denominator
) {
721
if (
Denominator
->isOne()) {
727
// Split the
Denominator
when it is a product.
728
if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(
Denominator
)) {
736
// the
Denominator
.
753
// Expr by
Denominator
for the following functions with empty implementation
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
ValueTracking.cpp
[
all
...]
ScalarEvolution.cpp
856
//
Denominator
.
858
const SCEV *
Denominator
, const SCEV **Quotient,
860
assert(Numerator &&
Denominator
&& "Uninitialized SCEV");
862
SCEVDivision D(SE, Numerator,
Denominator
);
866
if (Numerator ==
Denominator
) {
879
if (
Denominator
->isOne()) {
885
// Split the
Denominator
when it is a product.
886
if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(
Denominator
)) {
894
// the
Denominator
.
911
// Expr by
Denominator
for the following functions with empty implementation
[
all
...]
/external/llvm/lib/Target/AMDGPU/
SIISelLowering.cpp
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
SIISelLowering.cpp
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp
[
all
...]
Completed in 461 milliseconds