Home
last modified time | relevance | path

Searched refs:CInt (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp155 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() local
156 if (!CInt) in handlePhiDef()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp563 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local
564 if (!CInt) in simplifyX86insertps()
575 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
H A DX86ISelLowering.cpp6595 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in getTargetConstantBitsFromNode() local
6596 Mask = CInt->getValue(); in getTargetConstantBitsFromNode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1810 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local
1811 if (CInt.getBoolValue()) in getPowerOf2Factor()
1812 MaxFactor = CInt.countTrailingZeros(); in getPowerOf2Factor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp683 const APInt *CInt; in tryFactorization() local
684 if (match(V, m_APInt(CInt))) { in tryFactorization()
685 if (!CInt->isMinSignedValue()) in tryFactorization()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3977 ConstantInt *CInt = dyn_cast<ConstantInt>(I->getOperand(OpIdx)); in getEntryCost() local
3978 if (!CInt) { in getEntryCost()
3984 !CInt->getValue().isPowerOf2()) in getEntryCost()
3987 CInt0 = CInt; in getEntryCost()
3990 if (CInt0 != CInt) in getEntryCost()
H A DLoopVectorize.cpp4937 auto *CInt = dyn_cast<ConstantInt>(Divisor); in mayDivideByZero() local
4938 return !CInt || CInt->isZero(); in mayDivideByZero()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2307 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrtol() local
2308 return convertStrToNumber(CI, Str, CInt->getSExtValue()); in optimizeStrtol()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3217 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local
3218 const APInt &Value = CInt->getValue(); in computeKnownBits()
3235 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local
3236 Known = KnownBits::makeConstant(CInt->getValue()); in computeKnownBits()
4201 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local
4202 const APInt &Value = CInt->getValue(); in ComputeNumSignBits()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3558 const APInt &CInt = C->getAPIntValue(); in skipExtensionForVectorMULL() local
3561 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp8954 const APInt &CInt = C->getAPIntValue(); in SkipExtensionForVMULL() local
8957 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in SkipExtensionForVMULL()