Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/libucl/haskell/
H A Dhucl.hs18 type UCLEmitterType = CInt
22 foreign import ccall "ucl_parser_new" ucl_parser_new :: CInt -> ParserHandle
32 foreign import ccall "ucl_object_toint" ucl_object_toint :: UCLObjectHandle -> CInt
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp163 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1)); in handlePhiDef() local
164 if (!CInt) in handlePhiDef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp70 if (auto *CInt = dyn_cast<ConstantInt>(C)) in extractConstantBits() local
71 return CInt->getValue(); in extractConstantBits()
H A DX86InstCombineIntrinsic.cpp1630 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local
1631 if (!CInt) in simplifyX86insertps()
1642 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
H A DX86ISelLowering.cpp4674 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in getTargetConstantBitsFromNode() local
4675 Mask = CInt->getValue(); in getTargetConstantBitsFromNode()
53010 const APInt &CInt = C->getAPIntValue(); in combineSetCC() local
53012 if (CInt.isPowerOf2() && !CInt.isMinSignedValue()) { in combineSetCC()
53016 DL, VT, BaseOp, DAG.getConstant(-CInt, DL, OpVT), CC); in combineSetCC()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp163 auto *CInt = dyn_cast<ConstantInt>(C); in replaceSignedInst() local
164 return CInt && !CInt->isNegative(); in replaceSignedInst()
H A DSimplifyLibCalls.cpp2877 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrToInt() local
2878 return convertStrToInt(CI, Str, EndPtr, CInt->getSExtValue(), AsSigned, B); in optimizeStrToInt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1862 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local
1863 if (CInt.getBoolValue()) in getPowerOf2Factor()
1864 MaxFactor = CInt.countr_zero(); in getPowerOf2Factor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3113 const APInt *CInt; in foldAndOrOfICmpEqConstantAndICmp() local
3115 !match(LHS->getOperand(1), m_APIntAllowUndef(CInt)) || in foldAndOrOfICmpEqConstantAndICmp()
3120 auto MatchRHSOp = [LHS0, CInt](const Value *RHSOp) { in foldAndOrOfICmpEqConstantAndICmp()
3122 m_Add(m_Specific(LHS0), m_SpecificIntAllowUndef(-*CInt))) || in foldAndOrOfICmpEqConstantAndICmp()
3123 (CInt->isZero() && RHSOp == LHS0); in foldAndOrOfICmpEqConstantAndICmp()
3139 Builder.CreateSub(LHS0, ConstantInt::get(LHS0->getType(), *CInt + 1)), in foldAndOrOfICmpEqConstantAndICmp()
H A DInstructionCombining.cpp732 const APInt *CInt; in tryFactorization() local
733 if (match(V, m_APInt(CInt)) && !CInt->isMinSignedValue()) in tryFactorization()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3590 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local
3591 const APInt &Value = CInt->getValue(); in computeKnownBits()
3608 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local
3609 Known = KnownBits::makeConstant(CInt->getValue()); in computeKnownBits()
4856 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local
4857 const APInt &Value = CInt->getValue(); in ComputeNumSignBits()
12628 auto *CInt = dyn_cast<ConstantSDNode>(Op); in getConstantRawBits() local
12630 assert((CInt || CFP) && "Unknown constant"); in getConstantRawBits()
12631 SrcBitElements[I] = CInt ? CInt->getAPIntValue().trunc(SrcEltSizeInBits) in getConstantRawBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9579 const APInt &CInt = N->getConstantOperandAPInt(i); in SkipExtensionForVMULL() local
9582 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in SkipExtensionForVMULL()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4535 const APInt &CInt = N.getConstantOperandAPInt(i); in skipExtensionForVectorMULL() local
4538 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()