Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/utils/TableGen/
DSveEmitter.cpp70 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon5c0d77c40111::SVEType
79 PrefetchOp(false), Bitwidth(128), ElementBitwidth(~0U), NumVectors(1) { in SVEType()
111 return Bitwidth / ElementBitwidth; in getNumElements()
114 return Bitwidth; in getSizeInBits()
526 Bitwidth = ElementBitwidth; in applyModifier()
553 Bitwidth = 16; in applyModifier()
558 Bitwidth = ElementBitwidth; in applyModifier()
580 Bitwidth = ElementBitwidth; in applyModifier()
587 Bitwidth = ElementBitwidth; in applyModifier()
606 ElementBitwidth = Bitwidth = 64; in applyModifier()
[all …]
DNeonEmitter.cpp159 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon50209d260111::Type
165 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
170 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
205 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
206 unsigned getSizeInBits() const { return Bitwidth; } in getSizeInBits()
236 Bitwidth = ElementBitwidth; in makeScalar()
246 assert_with_loc(Bitwidth > 32, "Not enough bits to make it 32!"); in make32BitElement()
251 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
252 Bitwidth = 128; in doubleLanes()
256 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
[all …]
/external/clang/utils/TableGen/
DNeonEmitter.cpp141 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonde9241780111::Type
147 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
152 ScalarForMangling(false), NoManglingQ(false), Bitwidth(0), in Type()
185 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
186 unsigned getSizeInBits() const { return Bitwidth; } in getSizeInBits()
210 Bitwidth = ElementBitwidth; in makeScalar()
218 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
219 Bitwidth = 128; in doubleLanes()
222 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
223 Bitwidth = 64; in halveLanes()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp271 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
272 if (Bitwidth < 3) in CarmichaelShift()
273 return Bitwidth - 1; in CarmichaelShift()
274 return Bitwidth - 2; in CarmichaelShift()
323 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
333 if (Bitwidth > 3) { in IncorporateWeight()
335 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
337 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
346 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
347 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp291 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
292 if (Bitwidth < 3) in CarmichaelShift()
293 return Bitwidth - 1; in CarmichaelShift()
294 return Bitwidth - 2; in CarmichaelShift()
343 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
353 if (Bitwidth > 3) { in IncorporateWeight()
355 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
357 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
366 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
367 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DReassociate.cpp292 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
293 if (Bitwidth < 3) in CarmichaelShift()
294 return Bitwidth - 1; in CarmichaelShift()
295 return Bitwidth - 2; in CarmichaelShift()
344 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
354 if (Bitwidth > 3) { in IncorporateWeight()
356 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
358 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
367 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
368 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dshift-sra.ll130 ; (X >>s C1) >>s C2 --> X >>s (Bitwidth - 1)
154 ; (X >>s C1) >>s C2 --> X >>s (Bitwidth - 1)
/external/llvm-project/mlir/include/mlir/Conversion/
DPasses.td122 "Bitwidth of the index type, 0 to use size of machine word">
137 "Bitwidth of the index type, 0 to use size of machine word">
347 "Bitwidth of the index type, 0 to use size of machine word">,
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DNVVMOps.td115 /*Bitwidth=*/1))
/external/llvm/include/llvm/IR/
DType.h196 bool isIntegerTy(unsigned Bitwidth) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h198 bool isIntegerTy(unsigned Bitwidth) const;
/external/llvm-project/mlir/test/mlir-tblgen/
Dtypedefs.td103 TypeParameter<"unsigned", "Bitwidth of integer">:$width
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h200 bool isIntegerTy(unsigned Bitwidth) const;
/external/llvm-project/llvm/lib/IR/
DType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/external/llvm/lib/IR/
DType.cpp50 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp57 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/external/llvm-project/llvm/test/Verifier/
Dtbaa.ll87 ; CHECK: Bitwidth between the offsets and struct type entries must match
/external/llvm-project/llvm/include/llvm/IR/
DType.h201 bool isIntegerTy(unsigned Bitwidth) const;
/external/llvm-project/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp1008 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local
1009 if (Bitwidth == 32) in getKmpcForStaticInitForType()
1012 if (Bitwidth == 64) in getKmpcForStaticInitForType()
/external/clang/lib/CodeGen/
DCGExpr.cpp1234 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local
1240 assert(NumBits <= Bitwidth); in getRangeForType()
1241 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType()
1244 assert(NumPositiveBits <= Bitwidth); in getRangeForType()
1245 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
1246 Min = llvm::APInt(Bitwidth, 0); in getRangeForType()
/external/clang/tools/c-index-test/
Dc-index-test.c1513 int Bitwidth; in PrintBitWidth() local
1517 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintBitWidth()
1518 if (Bitwidth >= 0) { in PrintBitWidth()
1520 printf(" bitwidth=%d\n", Bitwidth); in PrintBitWidth()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3336 unsigned Bitwidth) { in matchBitExtract() argument
3348 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3359 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3370 return matchShiftAmt(M1, Bitwidth); in matchBitExtract()
3383 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3390 if (!matchShiftAmt(N1, Bitwidth)) in matchBitExtract()
/external/llvm/test/Bitcode/
Dinvalid.test35 BAD-BITWIDTH: Bitwidth for integer type out of range
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c1839 int Bitwidth; in PrintBitWidth() local
1843 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintBitWidth()
1844 if (Bitwidth >= 0) { in PrintBitWidth()
1846 printf(" bitwidth=%d\n", Bitwidth); in PrintBitWidth()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp1633 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType() local
1639 assert(NumBits <= Bitwidth); in getRangeForType()
1640 End = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getRangeForType()
1643 assert(NumPositiveBits <= Bitwidth); in getRangeForType()
1644 End = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getRangeForType()
1645 Min = llvm::APInt(Bitwidth, 0); in getRangeForType()

12