OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Demanded
(Results
1 - 5
of
5
) sorted by null
/external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp
26
/// are any bits set in the constant that are not
demanded
. If so, shrink the
29
APInt
Demanded
) {
37
// If there are no bits set that aren't
demanded
, nothing to do.
38
Demanded
=
Demanded
.zextOrTrunc(OpC->getValue().getBitWidth());
39
if ((~
Demanded
& OpC->getValue()) == 0)
42
// This instruction is producing bits that are not
demanded
. Shrink the RHS.
43
Demanded
&= OpC->getValue();
44
I->setOperand(OpNo, ConstantInt::get(OpC->getType(),
Demanded
));
81
/// value based on the
demanded
bits. When this function is called, it is know
[
all
...]
/external/llvm/lib/Target/R600/
AMDGPUISelDAGToDAG.cpp
764
APInt
Demanded
= APInt(32, 0x00FFFFFF);
768
if (TLI->SimplifyDemandedBits(Op,
Demanded
, KnownZero, KnownOne, TLO)) {
/external/llvm/include/llvm/Target/
TargetLowering.h
[
all
...]
/external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp
263
/// are any bits set in the constant that are not
demanded
. If so, shrink the
266
const APInt &
Demanded
) {
279
(C->getAPIntValue() | (~
Demanded
)).isAllOnesValue())
283
if (C->getAPIntValue().intersects(~
Demanded
)) {
286
DAG.getConstant(
Demanded
&
306
const APInt &
Demanded
,
321
unsigned DemandedSize = BitWidth -
Demanded
.countLeadingZeros();
420
// If all of the
demanded
bits are known one on one side, return the other.
426
// If all of the
demanded
bits in the inputs are known zeros, return zero.
451
// If all of the
demanded
bits are known zero on one side, return the other
[
all
...]
DAGCombiner.cpp
139
APInt
Demanded
= APInt::getAllOnesValue(BitWidth);
140
return SimplifyDemandedBits(Op,
Demanded
);
143
bool SimplifyDemandedBits(SDValue Op, const APInt &
Demanded
);
696
bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &
Demanded
) {
699
if (!TLI.SimplifyDemandedBits(Op,
Demanded
, KnownZero, KnownOne, TLO))
[
all
...]
Completed in 63 milliseconds