/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 38 class APInt; 625 void AddAPInt(const llvm::APInt &Value, RecordDataImpl &Record);
|
/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | Value.cpp | 483 APInt &Offset) { 500 APInt GEPOffset(Offset);
|
H A D | Constants.cpp | 218 APInt::getNullValue(128))); 233 Constant *Constant::getIntegerValue(Type *Ty, const APInt &V) { 253 APInt::getAllOnesValue(ITy->getBitWidth())); 524 ConstantInt::ConstantInt(IntegerType *Ty, const APInt& V) 567 // Get a ConstantInt from an APInt. 568 ConstantInt *ConstantInt::get(LLVMContext &Context, const APInt &V) { 593 return get(Ty->getContext(), APInt(Ty->getBitWidth(), V, isSigned)); 604 Constant *ConstantInt::get(Type *Ty, const APInt& V) { 618 return get(Ty->getContext(), APInt(Ty->getBitWidth(), Str, radix)); 1378 const APInt [all...] |
H A D | Instructions.cpp | 1605 APInt &Offset) const { 3421 ICmpInst::makeConstantRange(Predicate pred, const APInt &C) { 3422 APInt Lower(C); 3423 APInt Upper(C); 3430 Lower = APInt::getMinValue(BitWidth); 3436 Lower = APInt::getSignedMinValue(BitWidth); 3442 ++Lower; Upper = APInt::getMinValue(BitWidth); // Min = Next(Max) 3448 ++Lower; Upper = APInt::getSignedMinValue(BitWidth); // Min = Next(Max) 3454 Lower = APInt::getMinValue(BitWidth); ++Upper; 3460 Lower = APInt [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | ConstantHoisting.cpp | 396 APInt Diff = ConstCand->ConstInt->getValue() - 424 APInt Diff = CC->ConstInt->getValue() - MinValItr->ConstInt->getValue();
|
/freebsd-11.0-release/contrib/llvm/tools/lli/ |
H A D | lli.cpp | 358 ReturnVal = ConstantInt::get(Context, APInt(64, 0)); 360 ReturnVal = ConstantInt::get(Context, APInt(32, 0)); 636 ResultGV.IntVal = APInt(32, Result);
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 256 NonLoc makeIntVal(const llvm::APInt& integer, bool isUnsigned) {
|
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Operator.h | 444 /// This routine accepts an APInt into which it will accumulate the constant 446 /// all-constant, it returns false and the value of the offset APInt is 447 /// undefined (it is *not* preserved!). The APInt passed into this routine 450 bool accumulateConstantOffset(const DataLayout &DL, APInt &Offset) const;
|
H A D | IRBuilder.h | 288 ConstantInt *getInt(const APInt &AI) { 901 Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "", 921 Value *CreateLShr(Value *LHS, const APInt &RHS, const Twine &Name = "", 939 Value *CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = "", 957 Value *CreateAnd(Value *LHS, const APInt &RHS, const Twine &Name = "") { 973 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") { 986 Value *CreateXor(Value *LHS, const APInt &RHS, const Twine &Name = "") {
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorOps.cpp | 765 DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, 780 APInt::getAllOnesValue(BitTy.getSizeInBits()), DL, MaskTy); 968 APInt::getAllOnesValue(VT.getScalarType().getSizeInBits()), DL, VT); 1059 DAG.getConstant(APInt::getAllOnesValue
|
H A D | SelectionDAGISel.cpp | 677 APInt KnownZero; 678 APInt KnownOne; 1708 const APInt &ActualMask = RHS->getAPIntValue(); 1709 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); 1721 APInt NeededMask = DesiredMask & ~ActualMask; 1737 const APInt &ActualMask = RHS->getAPIntValue(); 1738 const APInt &DesiredMask = APInt(LHS.getValueSizeInBits(), DesiredMaskS); 1750 APInt NeededMas [all...] |
H A D | LegalizeFloatTypes.cpp | 172 APInt API = APInt::getAllOnesValue(Size); 1041 APInt C = cast<ConstantFPSDNode>(N)->getValueAPF().bitcastToAPInt(); 1044 APInt(integerPartWidth, C.getRawData()[1])), 1047 APInt(integerPartWidth, C.getRawData()[0])), 1255 APInt(NVT.getSizeInBits(), 0)), dl, NVT); 1379 APInt(NVT.getSizeInBits(), 0)), dl, NVT); 1404 APInt(NVT.getSizeInBits(), 0)), dl, NVT); 1452 APInt(128, Parts)), 1616 APFloat APF = APFloat(APFloat::PPCDoubleDouble, APInt(12 [all...] |
H A D | LegalizeDAG.cpp | 706 const APInt &IntVal = CFP->getValueAPF().bitcastToAPInt(); 1639 APInt SignMask; 1656 State.SignMask = APInt::getSignBit(NumBits); 1693 State.SignMask = APInt::getOneBitSet(LoadTy.getSizeInBits(), 7); 2853 APInt Shift(Sz, 1); 2931 SDValue Mask55 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), 2933 SDValue Mask33 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), 2935 SDValue Mask0F = DAG.getConstant(APInt [all...] |
H A D | SelectionDAGBuilder.cpp | 1800 const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue(); 1801 const APInt& High = cast<ConstantInt>(CB.CmpRHS)->getValue(); 3025 APInt ElementSize(PtrSize, DL->getTypeAllocSize(Ty)); 3037 APInt Offs = ElementSize * CI->getValue().sextOrTrunc(PtrSize); 3769 return DAG.getConstantFP(APFloat(APFloat::IEEEsingle, APInt(32, Flt)), dl, 7715 APInt LowCase = Clusters[First].Low->getValue(); 7716 APInt HighCase = Clusters[Last].High->getValue(); 7759 APInt Low = Clusters[I].Low->getValue(); 7760 APInt High = Clusters[I].High->getValue(); 7764 APInt PreviousHig [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 31 using llvm::APInt;
|
/freebsd-11.0-release/contrib/llvm/lib/Support/ |
H A D | ScaledNumber.cpp | 185 APFloat Float(APFloat::x87DoubleExtended, APInt(80, RawBits));
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 187 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) 188 : llvm::APInt::getMaxValue(TypeWidth);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 726 APInt &KnownZero, 727 APInt &KnownOne, 892 bool shouldConvertConstantLoadToIntImm(const APInt &Imm,
|
/freebsd-11.0-release/contrib/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 391 APInt RandomInt(Ty->getPrimitiveSizeInBits(), makeArrayRef(RandomBits)); 403 APInt::getAllOnesValue(Ty->getPrimitiveSizeInBits()))); 406 APInt::getNullValue(Ty->getPrimitiveSizeInBits())));
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsSEISelLowering.cpp | 600 static bool isVSplat(SDValue N, APInt &Imm, bool IsLittleEndian) { 606 APInt SplatValue, SplatUndef; 631 APInt SplatValue, SplatUndef; 686 APInt Mask, InvMask; 852 APInt SplatValue, SplatUndef; 1465 APInt BitImm = APInt(64, 1) << CImm->getAPIntValue(); 1511 APInt BitImm = APInt(ResTy.getVectorElementType().getSizeInBits(), 1) 1592 APInt Mas [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 432 SDValue getConstant(const APInt &Val, SDLoc DL, EVT VT, bool isTarget = false, 441 SDValue getTargetConstant(const APInt &Val, SDLoc DL, EVT VT, 1181 bool MaskedValueIsZero(SDValue Op, const APInt &Mask, unsigned Depth = 0) 1188 void computeKnownBits(SDValue Op, APInt &KnownZero, APInt &KnownOne,
|
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 560 llvm::APInt cookieSize(sizeWidth, 582 llvm::APInt arraySizeMultiplier(sizeWidth, 1); 590 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); 600 const llvm::APInt &count = numElementsC->getValue(); 616 llvm::APInt adjustedCount = count.zextOrTrunc(sizeWidth); 631 llvm::APInt allocationSize 673 llvm::APInt threshold(numElementsWidth, 1);
|
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 4250 const APInt &APIntIndex = Index->getAPIntValue(); 4251 APInt NewIndex(APIntIndex.getBitWidth(), DstNumElt); 5448 APInt SplatBits, SplatUndef; 6403 const APInt &CInt = C->getAPIntValue(); 8383 OtherOp = DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl, 8901 APInt SplatBits, SplatUndef; 8944 APInt SplatBits, SplatUndef; 8982 APInt SplatUndef; 8986 APInt SplatBits0, SplatBits1; 9151 static SDValue ParseBFI(SDNode *N, APInt [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | Expr.h | 1202 /// For large floats/integers, APFloat/APInt will allocate memory from the heap 1205 /// the APFloat/APInt values will never get freed. APNumericStorage uses 1214 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; } 1222 llvm::APInt getIntValue() const { 1223 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); 1225 return llvm::APInt(BitWidth, NumWords, pVal); 1227 return llvm::APInt(BitWidth, VAL); 1229 void setIntValue(const ASTContext &C, const llvm::APInt &Val); 1234 llvm::APInt getValue() const { return getIntValue(); } 1235 void setValue(const ASTContext &C, const llvm::APInt [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 736 const SDValue Op, APInt &KnownZero, APInt &KnownOne, 742 APInt KnownZero2, KnownOne2; 759 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - MemBits); 781 APInt Mask = APInt::getHighBitsSet(BitWidth, BitWidth - 8); 785 APInt Mask = APInt::getHighBitsSet(BitWidth, BitWidth - 16); 2094 const APInt &CInt = C->getAPIntValue(); 5064 // Benefit form APInt t [all...] |