Home
last modified time | relevance | path

Searched refs:Bitwidth (Results 1 – 8 of 8) sorted by relevance

/external/clang/utils/TableGen/
DNeonEmitter.cpp138 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon985e31310111::Type
144 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
149 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
180 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
181 unsigned getSizeInBits() const { return Bitwidth; } in getSizeInBits()
197 Bitwidth = ElementBitwidth; in makeScalar()
205 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
206 Bitwidth = 128; in doubleLanes()
209 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
210 Bitwidth = 64; in halveLanes()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp405 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
406 if (Bitwidth < 3) in CarmichaelShift()
407 return Bitwidth - 1; in CarmichaelShift()
408 return Bitwidth - 2; in CarmichaelShift()
457 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
467 if (Bitwidth > 3) { in IncorporateWeight()
469 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
471 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
480 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
481 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/external/llvm/test/Bitcode/
Dinvalid.test27 BAD-BITWIDTH: Bitwidth for integer type out of range
/external/llvm/include/llvm/IR/
DType.h196 bool isIntegerTy(unsigned Bitwidth) const;
/external/llvm/lib/IR/
DType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/external/clang/lib/CodeGen/
DCGExpr.cpp1091 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local
1097 assert(NumBits <= Bitwidth); in getRangeForType()
1098 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType()
1101 assert(NumPositiveBits <= Bitwidth); in getRangeForType()
1102 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
1103 Min = llvm::APInt(Bitwidth, 0); in getRangeForType()
/external/clang/tools/c-index-test/
Dc-index-test.c1435 int Bitwidth; in PrintBitWidth() local
1439 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintBitWidth()
1440 if (Bitwidth >= 0) { in PrintBitWidth()
1442 printf(" bitwidth=%d\n", Bitwidth); in PrintBitWidth()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1786 unsigned Bitwidth = Op.getValueType().getScalarType().getSizeInBits(); in getUsefulBits() local
1788 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()