Searched refs:BitWidth (Results 101 - 125 of 185) sorted by relevance

12345678

/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1714 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); local
1723 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) {
1753 unsigned BitWidth = Idx->getType()->getPrimitiveSizeInBits(); local
1762 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) {
2104 unsigned BitWidth = VTy->getPrimitiveSizeInBits(); local
2105 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
2172 unsigned BitWidth = cast<IntegerType>(Cond->getType())->getBitWidth(); local
2173 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth,
2793 unsigned BitWidth = I->getType()->getScalarSizeInBits(); local
[all...]
/external/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.cpp169 int BitWidth = Opcode == AArch64::BFMXri ? 64 : 32; local
170 int LSB = (BitWidth - ImmR) % BitWidth;
179 int BitWidth = Opcode == AArch64::BFMXri ? 64 : 32; local
180 int LSB = (BitWidth - ImmR) % BitWidth;
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1325 unsigned BitWidth = Op1->getType()->getScalarSizeInBits(); local
1326 APInt KnownZero(BitWidth, 0);
1327 APInt KnownOne(BitWidth, 0);
1329 if (KnownOne.getLimitedValue() >= BitWidth)
1334 unsigned NumValidShiftBits = Log2_32_Ceil(BitWidth);
1335 APInt ShiftAmountMask = APInt::getLowBitsSet(BitWidth, NumValidShiftBits);
1361 unsigned BitWidth = Op0->getType()->getScalarSizeInBits(); local
1362 APInt Op0KnownZero(BitWidth, 0);
1363 APInt Op0KnownOne(BitWidth, 0);
3123 uint32_t BitWidth local
3403 unsigned BitWidth = Q.DL.getTypeSizeInBits(TrueVal->getType()); local
4232 unsigned BitWidth = I->getType()->getScalarSizeInBits(); local
[all...]
/external/llvm/lib/IR/
H A DInstructions.cpp3502 uint32_t BitWidth = C.getBitWidth();
3508 Lower = APInt::getMinValue(BitWidth);
3511 return ConstantRange(BitWidth, /*isFullSet=*/false);
3514 Lower = APInt::getSignedMinValue(BitWidth);
3517 return ConstantRange(BitWidth, /*isFullSet=*/false);
3520 ++Lower; Upper = APInt::getMinValue(BitWidth); // Min = Next(Max)
3523 return ConstantRange(BitWidth, /*isFullSet=*/false);
3526 ++Lower; Upper = APInt::getSignedMinValue(BitWidth); // Min = Next(Max)
3529 return ConstantRange(BitWidth, /*isFullSet=*/false);
3532 Lower = APInt::getMinValue(BitWidth);
[all...]
H A DType.cpp259 unsigned BitWidth = getBitWidth(); local
260 return (BitWidth > 7) && isPowerOf2_32(BitWidth);
/external/llvm/utils/TableGen/
H A DIntrinsicEmitter.cpp211 unsigned BitWidth = MVT(VT).getSizeInBits(); local
212 switch (BitWidth) {
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DIntrinsicEmitter.cpp179 unsigned BitWidth = EVT(VT).getSizeInBits(); local
180 OS << "IntegerType::get(Context, " << BitWidth << ")"; local
/external/tensorflow/tensorflow/compiler/xla/service/
H A Delemental_ir_emitter.cc269 if (primitive_util::BitWidth(from_type) ==
270 primitive_util::BitWidth(to_type)) {
279 primitive_util::BitWidth(from_type),
280 primitive_util::BitWidth(to_type));
393 if (primitive_util::BitWidth(from_type) ==
394 primitive_util::BitWidth(to_type)) {
403 primitive_util::BitWidth(from_type),
404 primitive_util::BitWidth(to_type));
/external/llvm/include/llvm/ADT/
H A DAPFloat.h280 /// \param BitWidth - Select float type
282 static APFloat getAllOnesValue(unsigned BitWidth, bool isIEEE = false);
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DELFWriter.cpp613 unsigned BitWidth = CI->getBitWidth(); local
614 assert(isPowerOf2_32(BitWidth) &&
619 for (unsigned i = 0, e = BitWidth / 64; i != e; ++i) {
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp50 uint32_t BitWidth = cast<IntegerType>(V->getType())->getBitWidth(); local
51 uint32_t CSTVal = CST->getLimitedValue(BitWidth);
53 APInt(BitWidth, 1).shl(CSTVal));
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DType.cpp297 unsigned BitWidth = getBitWidth(); local
298 return (BitWidth > 7) && isPowerOf2_32(BitWidth);
/external/swiftshader/third_party/LLVM/include/llvm/Target/
H A DTargetLowering.h579 unsigned BitWidth = VT.getSizeInBits();
581 return (BitWidth + RegWidth - 1) / RegWidth;
848 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h247 bool allowsMisalignedMemoryAccesses(unsigned BitWidth, argument
/external/swiftshader/third_party/subzero/src/
H A DPNaClTranslator.cpp184 BitcodeInt(Ice::SizeT Bits, uint64_t Val) : BitWidth(Bits), Val(Val) {
191 return static_cast<int64_t>(Val << (BITS_PER_WORD - BitWidth)) >>
192 (BITS_PER_WORD - BitWidth);
199 assert(BitWidth == sizeof(IntType) * CHAR_BIT);
208 uint32_t BitWidth; /// The number of bits in the floating point number. member in class:__anon23534::BitcodeInt
214 if (BitWidth == BITS_PER_WORD)
218 Val &= ~static_cast<uint64_t>(0) >> (BITS_PER_WORD - BitWidth);
2480 Ice::SizeT BitWidth = Ice::getScalarIntBitWidth(CondTy); local
2520 BitcodeInt Value(BitWidth,
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Dvector_support_library.h223 return primitive_util::BitWidth(primitive_type_) / 8;
/external/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1723 Value *BitWidth = Builder.getInt(APInt(SizeInBits, SizeInBits)); local
1724 PN->addIncoming(BitWidth, StartBlock);
3065 unsigned BitWidth = Ext->getType()->getIntegerBitWidth(); local
3066 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth)
3067 : Cst->getValue().zext(BitWidth);
4428 unsigned BitWidth = LoadResultVT.getSizeInBits(); local
4429 APInt DemandBits(BitWidth, 0);
4430 APInt WidestAndBits(BitWidth, 0);
4466 uint64_t ShiftAmt = ShlC->getLimitedValue(BitWidth - 1);
4467 auto ShlDemandBits = APInt::getAllOnesValue(BitWidth)
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp220 static void DefineTypeSizeof(StringRef MacroName, unsigned BitWidth, argument
223 Twine(BitWidth / TI.getCharWidth()));
/external/clang/lib/Sema/
H A DSemaDecl.cpp4435 /*BitWidth=*/nullptr, /*Mutable=*/false,
4534 /*BitWidth=*/nullptr, /*Mutable=*/false,
13241 Expr *BitWidth, bool *ZeroWidth) {
13254 << FieldName << FieldTy << BitWidth->getSourceRange();
13256 << FieldTy << BitWidth->getSourceRange();
13257 } else if (DiagnoseUnexpandedParameterPack(const_cast<Expr *>(BitWidth),
13263 if (BitWidth->isValueDependent() || BitWidth->isTypeDependent())
13264 return BitWidth;
13267 ExprResult ICE = VerifyIntegerConstantExpression(BitWidth,
13238 VerifyBitField(SourceLocation FieldLoc, IdentifierInfo *FieldName, QualType FieldTy, bool IsMsStruct, Expr *BitWidth, bool *ZeroWidth) argument
13341 HandleField(Scope *S, RecordDecl *Record, SourceLocation DeclStart, Declarator &D, Expr *BitWidth, InClassInitStyle InitStyle, AccessSpecifier AS) argument
13452 CheckFieldDecl(DeclarationName Name, QualType T, TypeSourceInfo *TInfo, RecordDecl *Record, SourceLocation Loc, bool Mutable, Expr *BitWidth, InClassInitStyle InitStyle, SourceLocation TSSL, AccessSpecifier AS, NamedDecl *PrevDecl, Declarator *D) argument
13709 Expr *BitWidth = (Expr*)BitfieldWidth; local
14270 unsigned BitWidth = Context.getIntWidth(T); local
14295 unsigned BitWidth = Context.getTypeSize(T); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp167 unsigned BitWidth = Context.getTypeSize(castTy); local
170 return makeLocAsInteger(val, BitWidth);
/external/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h108 bool allowsMisalignedMemoryAccesses(unsigned BitWidth, unsigned AddressSpace, argument
110 MVT M = MVT::getIntegerVT(BitWidth);
/external/llvm/lib/Support/
H A DAPFloat.cpp3375 APFloat::getAllOnesValue(unsigned BitWidth, bool isIEEE)
3377 switch (BitWidth) {
3379 return APFloat(IEEEhalf, APInt::getAllOnesValue(BitWidth));
3381 return APFloat(IEEEsingle, APInt::getAllOnesValue(BitWidth));
3383 return APFloat(IEEEdouble, APInt::getAllOnesValue(BitWidth));
3385 return APFloat(x87DoubleExtended, APInt::getAllOnesValue(BitWidth));
3388 return APFloat(IEEEquad, APInt::getAllOnesValue(BitWidth));
3389 return APFloat(PPCDoubleDouble, APInt::getAllOnesValue(BitWidth));
/external/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp298 unsigned BitWidth = BitsType->getBitWidth(); local
302 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1));
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2096 unsigned BitWidth = CI->getBitWidth(); local
2102 unsigned ExtraBitsSize = BitWidth & 63;
2114 // 0 1 BitWidth / 64
2119 // ExtraBits 0 1 (BitWidth / 64) - 1
2125 ExtraBits = Realigned.getRawData()[BitWidth / 64];
2132 for (unsigned i = 0, e = BitWidth / 64; i != e; ++i) {
2142 Size -= (BitWidth / 64) * 8;
/external/llvm/include/llvm/Target/
H A DTargetLowering.h875 unsigned BitWidth = VT.getSizeInBits(); local
877 return (BitWidth + RegWidth - 1) / RegWidth;
2283 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,

Completed in 4937 milliseconds

12345678