Home
last modified time | relevance | path

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

12

/external/clang/utils/TableGen/
DNeonEmitter.cpp141 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon0dd596a70111::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-16.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp299 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
300 if (Bitwidth < 3) in CarmichaelShift()
301 return Bitwidth - 1; in CarmichaelShift()
302 return Bitwidth - 2; in CarmichaelShift()
351 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
361 if (Bitwidth > 3) { in IncorporateWeight()
363 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
365 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
374 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
375 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
DLoopIdiomRecognize.cpp2465 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local
2503 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2507 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest()
2517 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2567 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2819 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local
2851 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2873 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2890 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
/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/swiftshader/third_party/llvm-16.0/llvm/lib/Target/SPIRV/
DSPIRVUtils.cpp79 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() local
80 switch (Bitwidth) { in addNumImm()
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
DType.h225 bool isIntegerTy(unsigned Bitwidth) const;
/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-10.0/llvm/include/llvm/IR/
DType.h200 bool isIntegerTy(unsigned Bitwidth) const;
/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/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-16.0/llvm/lib/IR/
DType.cpp56 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
57 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp2107 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local
2108 if (Bitwidth == 32) in getKmpcForStaticInitForType()
2111 if (Bitwidth == 64) in getKmpcForStaticInitForType()
2404 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicInitForType() local
2405 if (Bitwidth == 32) in getKmpcForDynamicInitForType()
2408 if (Bitwidth == 64) in getKmpcForDynamicInitForType()
2420 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicNextForType() local
2421 if (Bitwidth == 32) in getKmpcForDynamicNextForType()
2424 if (Bitwidth == 64) in getKmpcForDynamicNextForType()
2435 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicFiniForType() local
[all …]
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp549 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
552 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()
555 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp3584 unsigned Bitwidth) { in matchBitExtract() argument
3595 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3608 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3619 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract()
3640 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3646 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp586 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
589 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()
592 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp742 template <unsigned Bitwidth>
1847 template <unsigned Bitwidth>
1853 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()
1859 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp951 template <unsigned Bitwidth>
2288 template <unsigned Bitwidth>
2295 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()
2301 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
/external/federated-compute/fcp/protos/
Dfederated_api.proto404 // Bitwidth for secure-aggregation. This must be wide enough to
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1934 unsigned Bitwidth = Op.getValueType().getScalarType().getSizeInBits(); in getUsefulBits() local
1936 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()

12