HomeSort by relevance Sort by last modified time
    Searched refs:KnownOne (Results 1 - 25 of 32) sorted by null

1 2

  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 54 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
58 KnownZero, KnownOne, 0);
69 APInt &KnownZero, APInt &KnownOne,
72 KnownZero, KnownOne, Depth);
85 /// returns false after analyzing the expression and setting KnownOne and known
89 /// the expression. KnownOne and KnownZero always follow the invariant that
90 /// KnownOne & KnownZero == 0. That is, a bit can't be both 1 and 0. Note that
91 /// the bits in KnownOne and KnownZero may only be accurate for those bits set
93 /// and KnownOne must all be the same.
101 APInt &KnownZero, APInt &KnownOne,
    [all...]
InstCombine.h 288 APInt &KnownOne, unsigned Depth = 0) const {
289 return llvm::ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD, Depth);
316 APInt& KnownZero, APInt& KnownOne,
319 APInt& KnownZero, APInt& KnownOne,
InstCombineCompares.cpp 151 const APInt& KnownOne,
153 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
156 "KnownZero, KnownOne and Min, Max must have equal bitwidth.");
157 APInt UnknownBits = ~(KnownZero|KnownOne);
161 Min = KnownOne;
162 Max = KnownOne|UnknownBits;
175 const APInt &KnownOne,
177 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
180 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth.");
181 APInt UnknownBits = ~(KnownZero|KnownOne);
    [all...]
InstCombineCalls.cpp 362 APInt KnownOne(BitWidth, 0);
364 KnownZero, KnownOne);
365 unsigned TrailingZeros = KnownOne.countTrailingZeros();
381 APInt KnownOne(BitWidth, 0);
383 KnownZero, KnownOne);
384 unsigned LeadingZeros = KnownOne.countLeadingZeros();
    [all...]
InstCombineCasts.cpp 546 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
548 ComputeMaskedBits(ICI->getOperand(0), TypeMask, KnownZero, KnownOne);
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp 45 /// known to be either zero or one and return them in the KnownZero/KnownOne
61 APInt &KnownZero, APInt &KnownOne,
73 KnownOne.getBitWidth() == BitWidth &&
74 "V, Mask, KnownOne and KnownZero should have same BitWidth");
78 KnownOne = CI->getValue() & Mask;
79 KnownZero = ~KnownOne & Mask;
85 KnownOne.clearAllBits();
92 KnownZero.setAllBits(); KnownOne.setAllBits();
98 KnownOne &= KnownOne2;
120 KnownOne.clearAllBits()
    [all...]
Lint.cpp 415 KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
416 ComputeMaskedBits(Ptr, Mask, KnownZero, KnownOne, TD);
417 Assert1(!(KnownOne & APInt::getLowBitsSet(BitWidth, Log2_32(Align))),
475 KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
476 ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD);
  /external/llvm/include/llvm/CodeGen/
FunctionLoweringInfo.h 107 APInt KnownOne, KnownZero;
108 LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0),
172 const APInt &KnownZero, const APInt &KnownOne) {
174 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0)
180 LOI.KnownOne = KnownOne;
SelectionDAG.h     [all...]
  /external/llvm/include/llvm/Analysis/
ValueTracking.h 30 /// known to be either zero or one and return them in the KnownZero/KnownOne
40 APInt &KnownOne, const TargetData *TD = 0,
45 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
  /external/llvm/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 254 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth);
289 DestLOI.KnownOne = Zero;
297 DestLOI.KnownOne = Val;
315 DestLOI.KnownOne.getBitWidth() == BitWidth &&
324 DestLOI.KnownOne = Zero;
332 DestLOI.KnownOne &= Val;
350 DestLOI.KnownOne &= SrcLOI->KnownOne;
TargetLowering.cpp     [all...]
SelectionDAG.cpp     [all...]
SelectionDAGISel.cpp 425 APInt KnownOne;
455 CurDAG->ComputeMaskedBits(Src, Mask, KnownZero, KnownOne);
456 FuncInfo->AddLiveOutRegInfo(DestReg, NumSignBits, KnownZero, KnownOne);
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelLowering.h 51 /// KnownZero/KnownOne bitsets.
55 APInt &KnownOne,
SparcISelLowering.cpp     [all...]
  /external/llvm/lib/Target/CellSPU/
SPUISelLowering.h 126 APInt &KnownOne,
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.h 164 APInt &KnownOne,
XCoreISelLowering.cpp     [all...]
  /external/llvm/lib/Target/ARM/
ARMISelLowering.h 293 APInt &KnownOne,
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.h 298 APInt &KnownOne,
  /external/llvm/lib/Transforms/Utils/
Local.cpp 755 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
756 ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD);
    [all...]
SimplifyCFG.cpp     [all...]
  /external/llvm/lib/Target/X86/
X86ISelLowering.h 572 /// KnownZero/KnownOne bitsets.
576 APInt &KnownOne,
    [all...]
  /external/llvm/include/llvm/Target/
TargetLowering.h     [all...]

Completed in 1042 milliseconds

1 2