Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/utils/TableGen/
HDNeonEmitter.cpp139 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonb62af4a80111::Type
145 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
150 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
182 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
183 unsigned getSizeInBits() const { return Bitwidth; } in getSizeInBits()
207 Bitwidth = ElementBitwidth; in makeScalar()
215 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
216 Bitwidth = 128; in doubleLanes()
219 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
220 Bitwidth = 64; in halveLanes()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDReassociate.cpp404 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
405 if (Bitwidth < 3) in CarmichaelShift()
406 return Bitwidth - 1; in CarmichaelShift()
407 return Bitwidth - 2; in CarmichaelShift()
456 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
466 if (Bitwidth > 3) { in IncorporateWeight()
468 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
470 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
479 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
480 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/NextBSD/contrib/llvm/include/llvm/IR/
HDType.h196 bool isIntegerTy(unsigned Bitwidth) const;
/NextBSD/contrib/llvm/lib/IR/
HDType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExpr.cpp1092 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local
1098 assert(NumBits <= Bitwidth); in getRangeForType()
1099 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType()
1102 assert(NumPositiveBits <= Bitwidth); in getRangeForType()
1103 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
1104 Min = llvm::APInt(Bitwidth, 0); in getRangeForType()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64ISelDAGToDAG.cpp1802 unsigned Bitwidth = Op.getValueType().getScalarType().getSizeInBits(); in getUsefulBits() local
1804 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()