Home
last modified time | relevance | path

Searched refs:computeKnownBits (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm/lib/Analysis/
DValueTracking.cpp122 static void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
125 void llvm::computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function in llvm
129 ::computeKnownBits(V, KnownZero, KnownOne, Depth, in computeKnownBits()
143 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
144 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
249 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub()
268 computeKnownBits(Op0, LHSKnownZero, LHSKnownOne, Depth + 1, Q); in computeKnownBitsAddSub()
269 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub()
319 computeKnownBits(Op1, KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsMul()
320 computeKnownBits(Op0, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsMul()
[all …]
DDemandedBits.cpp90 computeKnownBits(const_cast<Value *>(V1), KnownZero, KnownOne, DL, 0, in determineLiveOperandBits()
96 computeKnownBits(const_cast<Value *>(V2), KnownZero2, KnownOne2, DL, in determineLiveOperandBits()
DLint.cpp517 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC, in isZero()
539 computeKnownBits(Elem, KnownZero, KnownOne, DL); in isZero()
DConstantFolding.cpp650 computeKnownBits(Op0, KnownZero0, KnownOne0, DL); in SymbolicallyEvaluateBinop()
651 computeKnownBits(Op1, KnownZero1, KnownOne1, DL); in SymbolicallyEvaluateBinop()
DInstructionSimplify.cpp1328 computeKnownBits(Op1, KnownZero, KnownOne, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift()
1364 computeKnownBits(Op0, Op0KnownZero, Op0KnownOne, Q.DL, /*Depth=*/0, Q.AC, in SimplifyRightShift()
3126 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, Q.DL, /*Depth=*/0, Q.AC, in SimplifyICmpInst()
4235 computeKnownBits(I, KnownZero, KnownOne, DL, /*Depth*/0, AC, I, DT); in SimplifyInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp146 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
160 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
162 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
184 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
186 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
211 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
213 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
225 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
238 computeKnownBits(I, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
550 computeKnownBits(V, KnownZero, KnownOne, Depth, CxtI); in SimplifyDemandedUseBits()
[all …]
DInstCombineAddSub.cpp899 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd()
903 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedAdd()
936 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub()
940 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, 0, &CxtI); in WillNotOverflowSignedSub()
1093 computeKnownBits(XorLHS, LHSKnownZero, LHSKnownOne, 0, &I); in visitAdd()
1564 computeKnownBits(&I, KnownZero, KnownOne, 0, &I); in visitSub()
DInstCombineInternal.h477 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function
479 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI, in computeKnownBits()
DInstCombineCasts.cpp626 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI); in transformZExtICmp()
674 computeKnownBits(LHS, KnownZeroLHS, KnownOneLHS, 0, &CI); in transformZExtICmp()
675 computeKnownBits(RHS, KnownZeroRHS, KnownOneRHS, 0, &CI); in transformZExtICmp()
1001 computeKnownBits(Op0, KnownZero, KnownOne, 0, &CI); in transformSExtICmp()
DInstructionCombining.cpp2106 computeKnownBits(ResultOp, KnownZero, KnownOne, 0, &RI); in visitReturnInst()
2174 computeKnownBits(Cond, KnownZero, KnownOne, 0, &SI); in visitSwitchInst()
2796 computeKnownBits(I, KnownZero, KnownOne, /*Depth*/0, I); in run()
DInstCombineCalls.cpp1409 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II); in visitCallInst()
1427 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II); in visitCallInst()
2298 computeKnownBits(IIOperand, KnownZero, KnownOne, 0, II); in visitCallInst()
/external/llvm/test/CodeGen/X86/
Dlive-out-reg-info.ll4 ; to an off-by-one bug with computeKnownBits information.
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2017 computeKnownBits(Op, KnownZero, KnownOne, Depth); in MaskedValueIsZero()
2023 void SelectionDAG::computeKnownBits(SDValue Op, APInt &KnownZero, in computeKnownBits() function in SelectionDAG
2041 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2042 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2050 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2051 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2059 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2060 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
2070 computeKnownBits(Op.getOperand(1), KnownZero, KnownOne, Depth+1); in computeKnownBits()
2071 computeKnownBits(Op.getOperand(0), KnownZero2, KnownOne2, Depth+1); in computeKnownBits()
[all …]
DTargetLowering.cpp449 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
479 TLO.DAG.computeKnownBits(Op.getOperand(0), LHSZero, LHSOne, Depth); in SimplifyDemandedBits()
1154 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth); in SimplifyDemandedBits()
/external/llvm/test/CodeGen/ARM/
Dzextload_demandedbits.ll9 ; Make sure that the sext op does not get lost due to computeKnownBits.
/external/llvm/test/Transforms/InstCombine/
Dall-bits-shift.ll32 ; Check that both InstCombine and InstSimplify can use computeKnownBits to
Dbswap-known-bits.ll2 ; Note: This is testing functionality in computeKnownBits. I'd have rather
/external/llvm/include/llvm/Analysis/
DValueTracking.h52 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
/external/llvm/test/Transforms/InstSimplify/
Dshift-knownbits.ll94 ; FIXME: This is undef, but computeKnownBits doesn't handle the union.
/external/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp715 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne); in detectOrAndInsertion()
774 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); in expandRxSBG()
798 CurDAG->computeKnownBits(Input, KnownZero, KnownOne); in expandRxSBG()
/external/llvm/lib/Transforms/Scalar/
DGuardWidening.cpp540 computeKnownBits(OpLHS, KnownZero, KnownOne, DL); in parseRangeChecks()
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp414 DAG.computeKnownBits(Value, KnownZero, KnownOne); in isWordAligned()
1675 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
1698 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
1714 DAG.computeKnownBits(N2, KnownZero, KnownOne); in PerformDAGCombine()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrMemory.td37 CurDAG->computeKnownBits(N->getOperand(0), KnownZero0, KnownOne0, 0);
39 CurDAG->computeKnownBits(N->getOperand(1), KnownZero1, KnownOne1, 0);
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp324 computeKnownBits(OpA, KnownZero, KnownOne, DL, 0, nullptr, OpA, &DT); in isConsecutiveAccess()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp519 CurDAG->computeKnownBits(Op0, LKZ, LKO); in tryBitfieldInsert()
520 CurDAG->computeKnownBits(Op1, RKZ, RKO); in tryBitfieldInsert()
567 CurDAG->computeKnownBits(Op1.getOperand(1), MKZ, MKO); in tryBitfieldInsert()
2688 CurDAG->computeKnownBits(N->getOperand(0), LHSKnownZero, LHSKnownOne); in Select()

12