Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp177 if (auto *CInt = dyn_cast<ConstantInt>(Struct->getOperand(I))) in getAnnotation() local
179 std::to_string(CInt->getType()->getIntegerBitWidth() == 1 in getAnnotation()
180 ? CInt->getZExtValue() in getAnnotation()
181 : CInt->getSExtValue()); in getAnnotation()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp91 if (auto *CInt = dyn_cast<ConstantInt>(C)) in extractConstantBits() local
92 return CInt->getValue(); in extractConstantBits()
H A DX86InstCombineIntrinsic.cpp1743 auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2)); in simplifyX86insertps() local
1744 if (!CInt) in simplifyX86insertps()
1755 uint8_t Imm = CInt->getZExtValue(); in simplifyX86insertps()
H A DX86ISelLowering.cpp4811 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in getTargetConstantBitsFromNode() local
4812 Mask = CInt->getValue(); in getTargetConstantBitsFromNode()
54289 const APInt &CInt = C->getAPIntValue(); in combineSetCC() local
54291 if (CInt.isPowerOf2() && !CInt.isMinSignedValue()) { in combineSetCC()
54295 DL, VT, BaseOp, DAG.getConstant(-CInt, DL, OpVT), CC); in combineSetCC()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp176 auto *CInt = dyn_cast<ConstantInt>(C); in replaceSignedInst() local
177 return CInt && !CInt->isNegative(); in replaceSignedInst()
H A DSimplifyLibCalls.cpp3111 if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) { in optimizeStrToInt() local
3112 return convertStrToInt(CI, Str, EndPtr, CInt->getSExtValue(), AsSigned, B); in optimizeStrToInt()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3243 const APInt *CInt; in foldAndOrOfICmpEqConstantAndICmp() local
3245 !match(LHS->getOperand(1), m_APIntAllowPoison(CInt)) || in foldAndOrOfICmpEqConstantAndICmp()
3250 auto MatchRHSOp = [LHS0, CInt](const Value *RHSOp) { in foldAndOrOfICmpEqConstantAndICmp()
3252 m_Add(m_Specific(LHS0), m_SpecificIntAllowPoison(-*CInt))) || in foldAndOrOfICmpEqConstantAndICmp()
3253 (CInt->isZero() && RHSOp == LHS0); in foldAndOrOfICmpEqConstantAndICmp()
3269 Builder.CreateSub(LHS0, ConstantInt::get(LHS0->getType(), *CInt + 1)), in foldAndOrOfICmpEqConstantAndICmp()
H A DInstructionCombining.cpp752 const APInt *CInt; in tryFactorization() local
753 if (match(V, m_APInt(CInt)) && !CInt->isMinSignedValue()) in tryFactorization()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1961 const APInt &CInt = C->getAPIntValue(); in getPowerOf2Factor() local
1962 if (CInt.getBoolValue()) in getPowerOf2Factor()
1963 MaxFactor = CInt.countr_zero(); in getPowerOf2Factor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp1834 if (auto *CInt = dyn_cast<ConstantInt>(C)) { in propagateNonFTStore() local
1835 switch (CInt->getType()->getScalarSizeInBits()) { in propagateNonFTStore()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp3739 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in computeKnownBits() local
3740 const APInt &Value = CInt->getValue(); in computeKnownBits()
3757 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in computeKnownBits() local
3758 Known = KnownBits::makeConstant(CInt->getValue()); in computeKnownBits()
5071 if (auto *CInt = dyn_cast<ConstantInt>(Elt)) { in ComputeNumSignBits() local
5072 const APInt &Value = CInt->getValue(); in ComputeNumSignBits()
12958 auto *CInt = dyn_cast<ConstantSDNode>(Op); in getConstantRawBits() local
12960 assert((CInt || CFP) && "Unknown constant"); in getConstantRawBits()
12961 SrcBitElements[I] = CInt ? CInt->getAPIntValue().trunc(SrcEltSizeInBits) in getConstantRawBits()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9596 const APInt &CInt = N->getConstantOperandAPInt(i); in SkipExtensionForVMULL() local
9599 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in SkipExtensionForVMULL()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp5047 const APInt &CInt = N.getConstantOperandAPInt(i); in skipExtensionForVectorMULL() local
5050 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()