/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 466 bool isKnownToBeAPowerOfTwo(const Value *V, bool OrZero = false, 469 return llvm::isKnownToBeAPowerOfTwo(V, DL, OrZero, Depth, &AC, CxtI, &DT);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 300 return ::isKnownToBeAPowerOfTwo( in isKnownToBeAPowerOfTwo() 923 if (isKnownToBeAPowerOfTwo(A, false, Depth + 1, QueryNoAC)) in computeKnownBitsFromAssume() 1957 return isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q); in isKnownToBeAPowerOfTwo() 1968 return isKnownToBeAPowerOfTwo(X, OrZero, Depth, Q) && in isKnownToBeAPowerOfTwo() 1969 isKnownToBeAPowerOfTwo(Y, OrZero, Depth, Q); in isKnownToBeAPowerOfTwo() 1974 if (isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q) || in isKnownToBeAPowerOfTwo() 1975 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ true, Depth, Q)) in isKnownToBeAPowerOfTwo() 1991 if (isKnownToBeAPowerOfTwo(Y, OrZero, Depth, Q)) in isKnownToBeAPowerOfTwo() 1995 if (isKnownToBeAPowerOfTwo(X, OrZero, Depth, Q)) in isKnownToBeAPowerOfTwo() 2449 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ false, Depth, Q)) in isKnownNonZero() [all …]
|
H A D | InstructionSimplify.cpp | 2043 if (isKnownToBeAPowerOfTwo(Op0, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst() 2046 if (isKnownToBeAPowerOfTwo(Op1, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst() 2055 isKnownToBeAPowerOfTwo(Op1, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyAndInst() 2058 isKnownToBeAPowerOfTwo(Op0, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, Q.DT)) in SimplifyAndInst()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | Utils.h | 253 bool isKnownToBeAPowerOfTwo(Register Val, const MachineRegisterInfo &MRI,
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineInternal.h | 479 bool isKnownToBeAPowerOfTwo(const Value *V, bool OrZero = false, 482 return llvm::isKnownToBeAPowerOfTwo(V, DL, OrZero, Depth, &AC, CxtI, &DT);
|
H A D | InstCombineMulDivRem.cpp | 72 IC.isKnownToBeAPowerOfTwo(I->getOperand(0), false, 0, &CxtI)) { in simplifyValueKnownNonZero() 1201 if (isKnownToBeAPowerOfTwo(Op1, /*OrZero*/ true, 0, &I)) { in visitSDiv() 1483 if (isKnownToBeAPowerOfTwo(Op1, /*OrZero*/ true, 0, &I)) { in visitURem()
|
H A D | InstCombineAndOrXor.cpp | 821 isKnownToBeAPowerOfTwo(L2, false, 0, CxtI) && in foldAndOrOfICmpsOfAndWithPow2() 822 isKnownToBeAPowerOfTwo(R2, false, 0, CxtI)) { in foldAndOrOfICmpsOfAndWithPow2()
|
H A D | InstCombineCompares.cpp | 1315 if (!isKnownToBeAPowerOfTwo(Y, /*OrZero*/ true, 0, &I)) in foldIRemByPowerOfTwoToBitTest() 5719 isKnownToBeAPowerOfTwo(A, false, 0, &I) && I.isEquality()) in visitICmpInst()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 676 bool llvm::isKnownToBeAPowerOfTwo(Register Reg, const MachineRegisterInfo &MRI, in isKnownToBeAPowerOfTwo() function in llvm 716 if (!isKnownToBeAPowerOfTwo(MI.getOperand(I).getReg(), MRI, KB)) in isKnownToBeAPowerOfTwo()
|
H A D | CombinerHelper.cpp | 2745 return isKnownToBeAPowerOfTwo(MO.getReg(), MRI, KB); in matchOperandIsKnownToBeAPowerOfTwo()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 118 bool isKnownToBeAPowerOfTwo(const Value *V, const DataLayout &DL,
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCodeGenPrepare.cpp | 984 if (isKnownToBeAPowerOfTwo(C, *DL, true, 0, AC, &I, DT)) in divHasSpecialOptimization() 994 isKnownToBeAPowerOfTwo(BinOpDen->getOperand(0), *DL, true, in divHasSpecialOptimization()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 1748 bool isKnownToBeAPowerOfTwo(SDValue Val) const;
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | DAGCombiner.cpp | 3807 DAG.isKnownToBeAPowerOfTwo(N1) && in visitMUL() 4319 DAG.isKnownToBeAPowerOfTwo(N1)) { in visitUDIVLike() 4333 DAG.isKnownToBeAPowerOfTwo(N10)) { in visitUDIVLike() 4389 if (DAG.isKnownToBeAPowerOfTwo(N1)) { in visitREM() 4397 DAG.isKnownToBeAPowerOfTwo(N1.getOperand(0))) { in visitREM() 4513 DAG.isKnownToBeAPowerOfTwo(N1) && hasOperation(ISD::SRL, VT)) { in visitMULHU()
|
H A D | TargetLowering.cpp | 3168 if (DAG.isKnownToBeAPowerOfTwo(Y)) { in foldSetCCWithAnd()
|
H A D | SelectionDAG.cpp | 3620 bool SelectionDAG::isKnownToBeAPowerOfTwo(SDValue Val) const { in isKnownToBeAPowerOfTwo() function in SelectionDAG
|