Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp73 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anone51b860d0111::SVEType
82 PrefetchOp(false), Svcount(false), Bitwidth(128), ElementBitwidth(~0U), in SVEType()
123 return Bitwidth / ElementBitwidth; in getNumElements()
126 return Bitwidth; in getSizeInBits()
611 Bitwidth = ElementBitwidth; in applyModifier()
639 Bitwidth = 16; in applyModifier()
644 Bitwidth = 128; in applyModifier()
649 Bitwidth = ElementBitwidth; in applyModifier()
671 Bitwidth = ElementBitwidth; in applyModifier()
678 Bitwidth = ElementBitwidth; in applyModifier()
[all …]
H A DNeonEmitter.cpp158 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonfaf0748f0111::Type
164 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
169 NoManglingQ(false), Bitwidth(0), ElementBitwidth(0), NumVectors(0) { in Type()
204 unsigned getNumElements() const { return Bitwidth / ElementBitwidth; } in getNumElements()
205 unsigned getSizeInBits() const { return Bitwidth; } in getSizeInBits()
235 Bitwidth = ElementBitwidth; in makeScalar()
245 assert_with_loc(Bitwidth > 32, "Not enough bits to make it 32!"); in make32BitElement()
250 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
251 Bitwidth = 128; in doubleLanes()
255 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DHardwareLoops.h23 std::optional<unsigned> Bitwidth; member
34 Bitwidth = Width; in setCounterBitwidth()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp81 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() local
82 if (Bitwidth == 1) in addNumImm()
84 else if (Bitwidth <= 32) { in addNumImm()
87 if (Bitwidth == 16) in addNumImm()
90 } else if (Bitwidth <= 64) { in addNumImm()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2601 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local
2657 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2661 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest()
2671 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2721 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2973 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local
3005 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
3027 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
3044 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h231 bool isIntegerTy(unsigned Bitwidth) const;
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp3976 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local
3977 if (Bitwidth == 32) in getKmpcForStaticInitForType()
3980 if (Bitwidth == 64) in getKmpcForStaticInitForType()
4223 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticLoopForType() local
4227 if (Bitwidth == 32) in getKmpcForStaticLoopForType()
4230 if (Bitwidth == 64) in getKmpcForStaticLoopForType()
4235 if (Bitwidth == 32) in getKmpcForStaticLoopForType()
4238 if (Bitwidth == 64) in getKmpcForStaticLoopForType()
4243 if (Bitwidth == 32) in getKmpcForStaticLoopForType()
4246 if (Bitwidth == 64) in getKmpcForStaticLoopForType()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp107 unsigned Bitwidth = Op->getType()->getScalarSizeInBits(); in refineInstruction() local
108 return ConstantRange::getFull(Bitwidth); in refineInstruction()
H A DBasicBlockUtils.cpp1738 const unsigned Bitwidth = DL.getTypeSizeInBits(Ty); in SplitBlockAndInsertSimpleForLoop() local
1744 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in SplitBlockAndInsertSimpleForLoop()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4966 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); in getValueRange() local
4972 Max = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getValueRange()
4975 Max = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getValueRange()
4976 Min = llvm::APInt::getZero(Bitwidth); in getValueRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3881 unsigned Bitwidth) { in matchBitExtract() argument
3892 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3905 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3916 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract()
3937 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3943 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp682 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
685 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()
688 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp15567 unsigned Bitwidth = Ty->getScalarSizeInBits() / 2; in rewrite() local
15568 while (Bitwidth % 8 == 0 && Bitwidth >= 8 && in rewrite()
15569 Bitwidth > Op->getType()->getScalarSizeInBits()) { in rewrite()
15570 Type *NarrowTy = IntegerType::get(SE.getContext(), Bitwidth); in rewrite()
15575 Bitwidth = Bitwidth / 2; in rewrite()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2982 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local
2984 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
H A DAArch64ISelLowering.cpp16264 unsigned Bitwidth = I->getType()->getScalarSizeInBits(); in shouldSinkOperands() local
16265 APInt UpperMask = APInt::getHighBitsSet(Bitwidth, Bitwidth / 2); in shouldSinkOperands()