Home
last modified time | relevance | path

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

/external/clang/utils/TableGen/
DNeonEmitter.cpp141 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon985e31310111::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-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp286 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
287 if (Bitwidth < 3) in CarmichaelShift()
288 return Bitwidth - 1; in CarmichaelShift()
289 return Bitwidth - 2; in CarmichaelShift()
338 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
348 if (Bitwidth > 3) { in IncorporateWeight()
350 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
352 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
361 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
362 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
/external/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/LLVM/include/llvm/
DType.h164 bool isIntegerTy(unsigned Bitwidth) const;
/external/swiftshader/third_party/llvm-7.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/swiftshader/third_party/LLVM/lib/VMCore/
DType.cpp50 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
51 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-subzero/include/llvm/IR/
DType.h198 bool isIntegerTy(unsigned Bitwidth) const;
/external/llvm/include/llvm/IR/
DType.h196 bool isIntegerTy(unsigned Bitwidth) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h200 bool isIntegerTy(unsigned Bitwidth) const;
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Dtbaa.ll87 ; CHECK: Bitwidth between the offsets and struct type entries must match
/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/llvm/test/Bitcode/
Dinvalid.test35 BAD-BITWIDTH: Bitwidth for integer type out of range
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp585 template <unsigned Bitwidth>
1537 template <unsigned Bitwidth>
1543 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()
1549 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2033 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local
2035 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1934 unsigned Bitwidth = Op.getValueType().getScalarType().getSizeInBits(); in getUsefulBits() local
1936 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()