Searched refs:getBitWidth (Results 26 - 50 of 137) sorted by relevance

123456

/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp602 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
608 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
614 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
663 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
692 assert(GV.IntVal.getBitWidth() <= 64 && "Bad pointer width");
971 assert((IntVal.getBitWidth()+7)/8 >= StoreBytes && "Integer too small!");
1027 unsigned numOfBytes =(Val.AggregateVal[i].IntVal.getBitWidth()+7)/8;
1043 assert((IntVal.getBitWidth()+7)/8 >= LoadBytes && "Integer too small!");
1077 Result.IntVal = APInt(cast<IntegerType>(Ty)->getBitWidth(), 0);
1113 const unsigned elemBitWidth = cast<IntegerType>(ElemT)->getBitWidth();
[all...]
H A DExecutionEngineBindings.cpp52 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
78 return unwrap(GenValRef)->IntVal.getBitWidth();
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp431 ImmValue.getBitWidth() == EltTy.getSizeInBits()) {
506 ImmValue.getBitWidth() == EltTy.getSizeInBits()) {
537 ImmValue.getBitWidth() == EltTy.getSizeInBits()) {
570 ImmValue.getBitWidth() == EltTy.getSizeInBits()) {
591 ImmValue.getBitWidth() == EltTy.getSizeInBits()) {
/freebsd-10-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp296 if (BitWidth > LOI->KnownZero.getBitWidth()) {
361 assert(DestLOI.KnownZero.getBitWidth() == BitWidth &&
362 DestLOI.KnownOne.getBitWidth() == BitWidth &&
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth());
106 uint32_t BitWidth = DemandedMask.getBitWidth();
113 KnownZero.getBitWidth() == BitWidth &&
114 KnownOne.getBitWidth() == BitWidth &&
757 KnownZero.setBit(KnownZero.getBitWidth() - 1);
862 KnownZero = APInt::getBitsSet(KnownZero.getBitWidth(), 0, ShlAmt-1);
H A DInstCombineAddSub.cpp877 uint32_t BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
971 APInt LHSKnownOne(IT->getBitWidth(), 0);
972 APInt LHSKnownZero(IT->getBitWidth(), 0);
1037 APInt LHSKnownOne(IT->getBitWidth(), 0);
1038 APInt LHSKnownZero(IT->getBitWidth(), 0);
1041 APInt RHSKnownOne(IT->getBitWidth(), 0);
1042 APInt RHSKnownZero(IT->getBitWidth(), 0);
H A DInstCombineAndOrXor.cpp209 uint32_t BitWidth = AndRHS->getType()->getBitWidth();
229 uint32_t BitWidth = AndRHS->getType()->getBitWidth();
249 uint32_t BitWidth = AndRHS->getType()->getBitWidth();
320 uint32_t BitWidth = Val->getType()->getBitWidth();
356 Mask->getValue().getBitWidth())
364 uint32_t BitWidth = cast<IntegerType>(RHS->getType())->getBitWidth();
375 Mask->getValue().countPopulation()) == Mask->getValue().getBitWidth()
522 APInt::getSignBit(C->getBitWidth()));
534 APInt::getSignBit(C->getBitWidth()));
848 unsigned BigBitSize = BigCst->getType()->getBitWidth();
[all...]
H A DInstCombineSelect.cpp467 < SelectTy->getBitWidth()) {
540 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1);
710 if (AndZeros >= ValC->getBitWidth())
H A DInstCombineShifts.cpp692 APInt::getHighBitsSet(Op1C->getBitWidth(), ShAmt))) {
746 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){
792 MaskedValueIsZero(Op0,APInt::getLowBitsSet(Op1C->getBitWidth(),ShAmt))){
H A DInstCombineCalls.cpp31 if (ITy->getBitWidth() < 32)
320 uint32_t BitWidth = IT->getBitWidth();
338 uint32_t BitWidth = IT->getBitWidth();
353 uint32_t BitWidth = IT->getBitWidth();
446 unsigned BitWidth = cast<IntegerType>(LHS->getType())->getBitWidth();
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h364 assert(R.getBitWidth() == I.getBitWidth() &&
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp247 unsigned int bitwidth = T->getBitWidth();
H A DSimplifyIndVar.cpp117 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth();
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp267 << C.getValue().getBitWidth() << 'b';
H A DSimpleSValBuilder.cpp285 uint64_t ValWidth = RHS.getBitWidth();
879 rightI = rightI.extOrTrunc(leftI.getBitWidth());
882 llvm::APSInt Multiplicand(rightI.getBitWidth(), /* isUnsigned */ true);
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DAPFloat.cpp2194 unsigned bitWidth = result.getBitWidth();
3100 assert(api.getBitWidth()==80);
3134 assert(api.getBitWidth()==128);
3160 assert(api.getBitWidth()==128);
3200 assert(api.getBitWidth()==64);
3233 assert(api.getBitWidth()==32);
3266 assert(api.getBitWidth()==16);
3448 APInt divisor(significand.getBitWidth(), 1);
3449 APInt powten(significand.getBitWidth(), 10);
3604 unsigned precision = significand.getBitWidth();
[all...]
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1014 cast<IntegerType>(I.getOperand()->getType())->getBitWidth();
1126 unsigned valueWidth = valueToShift.getBitWidth();
1222 unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1230 unsigned DBitWidth = DITy->getBitWidth();
1242 unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1250 unsigned DBitWidth = DITy->getBitWidth();
1262 unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1271 unsigned DBitWidth = DITy->getBitWidth();
1330 uint32_t DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1347 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
[all...]
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp82 APInt Result(IT->getBitWidth(), 0);
277 if (CI->getBitWidth() > 64 ||
278 (CI->getBitWidth() & 7) != 0)
282 unsigned IntBytes = unsigned(CI->getBitWidth()/8);
422 unsigned BytesLoaded = (IntType->getBitWidth() + 7) / 8;
451 APInt ResultVal = APInt(IntType->getBitWidth(), 0);
H A DLint.cpp489 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
496 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
503 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()),
H A DLazyValueInfo.cpp747 Result.markConstantRange(LHSRange.truncate(ResultTy->getBitWidth()));
750 Result.markConstantRange(LHSRange.signExtend(ResultTy->getBitWidth()));
753 Result.markConstantRange(LHSRange.zeroExtend(ResultTy->getBitWidth()));
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp1273 llvm::APSInt maxElements(elementIndex.getBitWidth(),
1278 elementIndex = elementIndex.extOrTrunc(maxElements.getBitWidth());
1303 if (elementIndex.getBitWidth() > maxElements.getBitWidth())
1304 maxElements = maxElements.extend(elementIndex.getBitWidth());
1305 else if (elementIndex.getBitWidth() < maxElements.getBitWidth())
1306 elementIndex = elementIndex.extend(maxElements.getBitWidth());
1338 llvm::APSInt Zero(maxElements.getBitWidth(), maxElements.isUnsigned());
2074 = DesignatedStartIndex.extOrTrunc(MaxElements.getBitWidth());
[all...]
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
H A DAnalysis.cpp248 cast<IntegerType>(Op->getType())->getBitWidth())
256 cast<IntegerType>(I->getType())->getBitWidth())
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp879 llvm::APInt RadixVal(Val.getBitWidth(), radix);
880 llvm::APInt CharVal(Val.getBitWidth(), 0);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp343 if (ScalarKind == Vector && VectorTy->getBitWidth() != AllocaSize * 8)
443 if (VInTy->getBitWidth()/8 == AllocaSize && Offset == 0) {
850 if (ShAmt > 0 && (unsigned)ShAmt < NTy->getBitWidth())
853 else if (ShAmt < 0 && (unsigned)-ShAmt < NTy->getBitWidth())
859 if (LIBitWidth < NTy->getBitWidth())
863 else if (LIBitWidth > NTy->getBitWidth())
2508 Shift = AllocaSizeBits-Shift-FieldIntTy->getBitWidth();
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp445 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();

Completed in 202 milliseconds

123456