Searched refs:APInt (Results 151 - 175 of 264) sorted by relevance

1234567891011

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp1193 llvm::APInt &Min, llvm::APInt &End,
1203 Min = llvm::APInt(CGF.getContext().getTypeSize(Ty), 0);
1204 End = llvm::APInt(CGF.getContext().getTypeSize(Ty), 2);
1215 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1);
1219 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits;
1220 Min = llvm::APInt(Bitwidth, 0);
1227 llvm::APInt Min, End;
1294 llvm::APInt Min, End;
1481 Val = Builder.CreateAnd(Val, llvm::APInt
[all...]
H A DCGExprConstant.cpp173 llvm::APInt FieldValue = CI->getValue();
197 llvm::APInt Tmp = FieldValue;
265 llvm::APInt Tmp;
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp709 APInt KnownZero, KnownOne;
758 APInt KnownZero, KnownOne;
782 APInt KnownZero, KnownOne;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp212 IntegerLiteral::Create(C, llvm::APInt(C.getTypeSize(C.IntTy), (uint64_t) 1),
/freebsd-11.0-release/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp43 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.h306 bool isInlineConstant(const APInt &Imm) const;
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp1946 const APInt &Start = cast<SCEVConstant>(ARStart)->getAPInt();
1947 APInt Count = cast<SCEVConstant>(IVCount)->getAPInt();
1951 Count = APInt::getMaxValue(Count.getBitWidth()).zext(CmpIndVarSize);
1956 APInt NewLimit;
H A DLoopLoadElimination.cpp85 const APInt &Val = Dist->getAPInt();
H A DScalarReplAggregates.cpp672 APInt APVal(NumBytes*8, Val);
1007 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth));
2295 APInt OneVal(EltSize, CI->getZExtValue());
2296 APInt TotalVal(OneVal);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetInfo.h25 #include "llvm/ADT/APInt.h"
605 bool isValidAsmImmediate(const llvm::APInt &Value) const {
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp929 const APInt &Cimm = cast<ConstantInt>(User->getOperand(1))->getValue();
1686 Value *BitWidth = Builder.getInt(APInt(SizeInBits, SizeInBits));
1729 APInt Offset(DL->getPointerSizeInBits(
3009 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth)
4346 APInt DemandBits(BitWidth, 0);
4347 APInt WidestAndBits(BitWidth, 0);
4369 APInt AndBits = AndC->getValue();
4384 auto ShlDemandBits = APInt::getAllOnesValue(BitWidth).lshr(ShiftAmt);
4392 auto TruncBits = APInt::getAllOnesValue(TruncBitWidth).zext(BitWidth);
4722 APInt NarrowCons
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp440 APInt Not = ~RHSC->getValue();
491 for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp)
2052 /// branch taking each edge. Fills in the two APInt parameters and returns true,
3807 APInt KnownZero(Bits, 0), KnownOne(Bits, 0);
4354 APInt PrevVal;
4355 APInt DistToPrev;
4366 APInt Val = ConstVal->getValue();
4368 APInt Dist = Val - PrevVal;
4390 APInt TableInt(TableSize * IT->getBitWidth(), 0);
4681 APInt RangeSprea
[all...]
H A DLocal.cpp1003 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
1707 APInt Bit(I->getType()->getPrimitiveSizeInBits(), 1);
1708 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue();
H A DLoopUtils.cpp76 const APInt *M = nullptr;
/freebsd-11.0-release/contrib/llvm/lib/Analysis/
H A DLint.cpp516 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
538 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
H A DVectorUtils.cpp327 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt();
/freebsd-11.0-release/contrib/llvm/lib/IR/
H A DType.cpp278 APInt IntegerType::getMask() const {
279 return APInt::getAllOnesValue(getBitWidth());
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp1144 int X86TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) {
1162 APInt ImmVal = Imm;
1170 APInt Tmp = ImmVal.ashr(ShiftVal).sextOrTrunc(64);
1178 int X86TTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm,
1265 int X86TTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
H A DX86ISelLowering.cpp4229 bool X86TargetLowering::shouldConvertConstantLoadToIntImm(const APInt &Imm,
4874 APInt MaskElement = CN->getAPIntValue();
4959 APInt MaskElement = cast<ConstantSDNode>(Op)->getAPIntValue();
4971 APInt MaskEltValue = CN->getAPIntValue();
5022 APInt MaskElement = CN->getAPIntValue();
6402 if (DAG.MaskedValueIsZero(Item, APInt::getBitsSet(64, 32, 64))) {
7023 SDValue AllOnes = DAG.getConstant(APInt::getAllOnesValue(NumEltBits), DL,
7066 SDValue AllOnes = DAG.getConstant(APInt::getAllOnesValue(NumEltBits), DL,
12827 APInt(64, 0x4330000000000000ULL))));
12830 APInt(6
[all...]
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp397 auto TopBit = APInt::getOneBitSet(NVT.getScalarSizeInBits(),
1415 void DAGTypeLegalizer::ExpandShiftByConstant(SDNode *N, const APInt &Amt,
1524 APInt HighBitMask = APInt::getHighBitsSet(ShBits, ShBits - Log2_32(NVTBits));
1525 APInt KnownZero, KnownOne;
1904 const APInt &Cst = Constant->getAPIntValue();
3066 APInt FF(32, 0);
3068 FF = APInt(32, F32TwoE32);
3070 FF = APInt(32, F32TwoE64);
3072 FF = APInt(3
[all...]
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp596 const APInt FltVal = FPImm.bitcastToAPInt();
636 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) {
640 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, bool Unsigned) {
650 // Get the raw data form of the large APInt.
H A DAsmPrinter.cpp1816 APInt OffsetAI(getDataLayout().getPointerTypeSizeInBits(CE->getType()), 0);
1929 APInt Value = CI->getValue().zextOrSelf(Size);
2057 APInt API = CFP->getValueAPF().bitcastToAPInt();
2072 // Now iterate through the APInt chunks, emitting them in endian-correct
2110 APInt Realigned(CI->getValue());
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DMicrosoftMangle.cpp2114 SmallVector<llvm::APInt, 3> Dimensions;
2124 Dimensions.push_back(llvm::APInt(32, 0));
2129 Dimensions.push_back(llvm::APInt(32, 0));
2148 for (const llvm::APInt &Dimension : Dimensions)
/freebsd-11.0-release/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h328 APInt(PtrBitWidth, StubSym.getAddress()));
/freebsd-11.0-release/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h46 const APInt &getAPInt() const { return getValue()->getValue(); }

Completed in 379 milliseconds

1234567891011