Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/utils/TableGen/
H A DNeonEmitter.cpp138 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon870a9de20111::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 …]
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp407 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
408 if (Bitwidth < 3) in CarmichaelShift()
409 return Bitwidth - 1; in CarmichaelShift()
410 return Bitwidth - 2; in CarmichaelShift()
459 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
469 if (Bitwidth > 3) { in IncorporateWeight()
471 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
473 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
482 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
483 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DType.h196 bool isIntegerTy(unsigned Bitwidth) const;
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGExpr.cpp1065 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local
1071 assert(NumBits <= Bitwidth); in getRangeForType()
1072 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType()
1075 assert(NumPositiveBits <= Bitwidth); in getRangeForType()
1076 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
1077 Min = llvm::APInt(Bitwidth, 0); in getRangeForType()
/minix3/external/bsd/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c1412 int Bitwidth; in PrintBitWidth() local
1416 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintBitWidth()
1417 if (Bitwidth >= 0) { in PrintBitWidth()
1419 printf(" bitwidth=%d\n", Bitwidth); in PrintBitWidth()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp1792 unsigned Bitwidth = Op.getValueType().getScalarType().getSizeInBits(); in getUsefulBits() local
1794 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()