Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp126 return Bitwidth; in getSizeInBits()
590 Bitwidth = ElementBitwidth; in applyModifier()
618 Bitwidth = 16; in applyModifier()
623 Bitwidth = 128; in applyModifier()
628 Bitwidth = ElementBitwidth; in applyModifier()
650 Bitwidth = ElementBitwidth; in applyModifier()
657 Bitwidth = ElementBitwidth; in applyModifier()
806 ElementBitwidth = Bitwidth = 8; in applyModifier()
813 ElementBitwidth = Bitwidth = 8; in applyModifier()
852 ElementBitwidth = Bitwidth = 8; in applyModifier()
[all …]
H A DNeonEmitter.cpp158 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon6f3616850111::Type
235 Bitwidth = ElementBitwidth; in makeScalar()
251 Bitwidth = 128; in doubleLanes()
256 Bitwidth = 64; in halveLanes()
726 if (Bitwidth == 128) in getNeonEnum()
765 T.Bitwidth = T.ElementBitwidth; in fromTypedefName()
778 T.Bitwidth = T.ElementBitwidth * NumLanes; in fromTypedefName()
860 Bitwidth = Quad ? 128 : 64; in applyTypespec()
917 Bitwidth = 128; in applyModifiers()
920 Bitwidth = 64; in applyModifiers()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DHardwareLoops.h23 std::optional<unsigned> Bitwidth; member
34 Bitwidth = Width; in setCounterBitwidth()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp80 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() local
81 if (Bitwidth == 1) in addNumImm()
83 else if (Bitwidth <= 32) { in addNumImm()
86 } else if (Bitwidth <= 64) { in addNumImm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp306 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
307 if (Bitwidth < 3) in CarmichaelShift()
308 return Bitwidth - 1; in CarmichaelShift()
309 return Bitwidth - 2; in CarmichaelShift()
358 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
368 if (Bitwidth > 3) { in IncorporateWeight()
370 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
372 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
381 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
382 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
H A DLoopIdiomRecognize.cpp2384 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local
2440 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2444 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest()
2454 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2504 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2756 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local
2788 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2810 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2827 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp331 if (Opts.Bitwidth.has_value()) { in TryConvertLoop()
332 HWLoopInfo.CountType = IntegerType::get(Ctx, Opts.Bitwidth.value()); in TryConvertLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2438 if (Bitwidth == 32) in getKmpcForStaticInitForType()
2441 if (Bitwidth == 64) in getKmpcForStaticInitForType()
2687 if (Bitwidth == 32) in getKmpcForStaticLoopForType()
2690 if (Bitwidth == 64) in getKmpcForStaticLoopForType()
2711 if (Bitwidth != 32 && Bitwidth != 64) { in getKmpcForStaticLoopForType()
2967 if (Bitwidth == 32) in getKmpcForDynamicInitForType()
2970 if (Bitwidth == 64) in getKmpcForDynamicInitForType()
2983 if (Bitwidth == 32) in getKmpcForDynamicNextForType()
2986 if (Bitwidth == 64) in getKmpcForDynamicNextForType()
2998 if (Bitwidth == 32) in getKmpcForDynamicFiniForType()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h231 bool isIntegerTy(unsigned Bitwidth) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp56 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
57 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp115 unsigned Bitwidth = Op->getType()->getScalarSizeInBits(); in refineInstruction() local
116 return ConstantRange::getFull(Bitwidth); in refineInstruction()
H A DBasicBlockUtils.cpp1726 const unsigned Bitwidth = DL.getTypeSizeInBits(Ty); in SplitBlockAndInsertSimpleForLoop() local
1732 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in SplitBlockAndInsertSimpleForLoop()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4918 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); in getValueRange() local
4924 Max = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getValueRange()
4927 Max = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getValueRange()
4928 Min = llvm::APInt::getZero(Bitwidth); in getValueRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3819 unsigned Bitwidth) { in matchBitExtract() argument
3830 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3843 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3854 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract()
3875 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3881 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp666 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
669 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()
672 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp14965 unsigned Bitwidth = Ty->getScalarSizeInBits() / 2; in visitZeroExtendExpr() local
14966 while (Bitwidth % 8 == 0 && Bitwidth >= 8 && in visitZeroExtendExpr()
14967 Bitwidth > Op->getType()->getScalarSizeInBits()) { in visitZeroExtendExpr()
14968 Type *NarrowTy = IntegerType::get(SE.getContext(), Bitwidth); in visitZeroExtendExpr()
14973 Bitwidth = Bitwidth / 2; in visitZeroExtendExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2827 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local
2829 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
H A DAArch64ISelLowering.cpp15225 unsigned Bitwidth = I->getType()->getScalarSizeInBits(); in shouldSinkOperands() local
15226 APInt UpperMask = APInt::getHighBitsSet(Bitwidth, Bitwidth / 2); in shouldSinkOperands()