Searched refs:TypeBits (Results 1 - 6 of 6) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp349 uint32_t TypeBits = Op0->getType()->getScalarSizeInBits(); local
351 assert(!COp1->uge(TypeBits) &&
434 uint32_t Op1Val = COp1->getLimitedValue(TypeBits);
436 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val);
470 uint32_t Op1Val = COp1->getLimitedValue(TypeBits);
472 APInt Bits = APInt::getHighBitsSet(TypeBits, TypeBits - Op1Val);
525 isValid = Op0C->getValue()[TypeBits-1] == highBitSet;
561 uint32_t ShiftAmt1 = ShiftAmt1C->getLimitedValue(TypeBits);
[all...]
H A DInstCombineCompares.cpp954 uint32_t TypeBits = CmpRHSV.getBitWidth(); local
955 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits);
956 if (ShAmtVal >= TypeBits || ShAmtVal == 0)
969 (!Shr->isExact() || ShAmtVal == TypeBits - 1))
976 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal));
1023 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal));
1491 uint32_t TypeBits = RHSV.getBitWidth(); local
1514 if (RHSLog2 == TypeBits-1) {
1528 ConstantInt::get(RHS->getType(), TypeBits
3620 unsigned TypeBits = Cst1->getBitWidth(); local
3635 unsigned TypeBits = Cst1->getBitWidth(); local
[all...]
/external/clang/lib/AST/
H A DType.cpp1495 switch (TypeBits.TC) {
2117 return CachedProperties(T->TypeBits.getLinkage(),
2118 T->TypeBits.hasLocalOrUnnamedType());
2123 if (T->TypeBits.isCacheValid()) return;
2130 T->TypeBits.CacheValid = true;
2131 T->TypeBits.CachedLinkage = CT->TypeBits.CachedLinkage;
2132 T->TypeBits.CachedLocalOrUnnamed = CT->TypeBits.CachedLocalOrUnnamed;
2138 T->TypeBits
[all...]
/external/clang/include/clang/AST/
H A DType.h1362 TypeBitfields TypeBits; member in union:clang::Type::__anon637
1377 TypeBits.FromAST = V;
1390 TypeBits.TC = tc;
1391 TypeBits.Dependent = Dependent;
1392 TypeBits.InstantiationDependent = Dependent || InstantiationDependent;
1393 TypeBits.VariablyModified = VariablyModified;
1394 TypeBits.ContainsUnexpandedParameterPack = ContainsUnexpandedParameterPack;
1395 TypeBits.CacheValid = false;
1396 TypeBits.CachedLocalOrUnnamed = false;
1397 TypeBits
[all...]
/external/v8/src/
H A Dcode-stubs.h1475 minor_key_ = TypeBits::encode(type);
1486 Type type() const { return TypeBits::decode(minor_key_); }
1495 class TypeBits : public BitField<Type, 0, 2> {}; class in class:ArgumentsAccessStub
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2070 static APInt ReadWideAPInt(ArrayRef<uint64_t> Vals, unsigned TypeBits) { argument
2075 return APInt(TypeBits, Words);

Completed in 618 milliseconds