Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp111 return Bitwidth / ElementBitwidth; in getNumElements()
114 return Bitwidth; in getSizeInBits()
529 Bitwidth = ElementBitwidth; in applyModifier()
556 Bitwidth = 16; in applyModifier()
561 Bitwidth = ElementBitwidth; in applyModifier()
583 Bitwidth = ElementBitwidth; in applyModifier()
590 Bitwidth = ElementBitwidth; in applyModifier()
721 ElementBitwidth = Bitwidth = 8; in applyModifier()
728 ElementBitwidth = Bitwidth = 8; in applyModifier()
762 ElementBitwidth = Bitwidth = 8; in applyModifier()
[all …]
H A DNeonEmitter.cpp159 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonf5d68bc30111::Type
236 Bitwidth = ElementBitwidth; in makeScalar()
252 Bitwidth = 128; in doubleLanes()
257 Bitwidth = 64; in halveLanes()
718 if (Bitwidth == 128) in getNeonEnum()
757 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
770 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
852 Bitwidth = Quad ? 128 : 64; in applyTypespec()
909 Bitwidth = 128; in applyModifiers()
912 Bitwidth = 64; in applyModifiers()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A 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 …]
H A DLoopIdiomRecognize.cpp2324 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local
2362 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2366 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest()
2376 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2426 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2678 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local
2710 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2732 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2749 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1254 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local
1255 if (Bitwidth == 32) in getKmpcForStaticInitForType()
1258 if (Bitwidth == 64) in getKmpcForStaticInitForType()
1372 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicInitForType() local
1373 if (Bitwidth == 32) in getKmpcForDynamicInitForType()
1376 if (Bitwidth == 64) in getKmpcForDynamicInitForType()
1388 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicNextForType() local
1389 if (Bitwidth == 32) in getKmpcForDynamicNextForType()
1392 if (Bitwidth == 64) in getKmpcForDynamicNextForType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp59 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
60 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h204 bool isIntegerTy(unsigned Bitwidth) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3459 unsigned Bitwidth) { in matchBitExtract() argument
3471 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3482 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3493 return matchShiftAmt(M1, Bitwidth); in matchBitExtract()
3506 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3513 if (!matchShiftAmt(N1, Bitwidth)) in matchBitExtract()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp558 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
561 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()
564 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp908 template <unsigned Bitwidth>
2136 template <unsigned Bitwidth>
2143 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()
2149 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2372 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local
2374 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()