Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp72 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anone51b860d0111::SVEType
79 DefaultType(false), IsScalable(true), Bitwidth(128), in SVEType()
123 return isPredicate() ? 16 : (Bitwidth / ElementBitwidth); in getNumElements()
126 return Bitwidth; in getSizeInBits()
666 Bitwidth = ElementBitwidth; in applyModifier()
688 Bitwidth = 16; in applyModifier()
693 Bitwidth = 128; in applyModifier()
698 Bitwidth = ElementBitwidth; in applyModifier()
716 Bitwidth = ElementBitwidth; in applyModifier()
721 Bitwidth = ElementBitwidth; in applyModifier()
[all …]
H A DNeonEmitter.cpp156 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anonfaf0748f0111::Type
162 Bitwidth(0), ElementBitwidth(0), NumVectors(0) {} in Type()
167 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.cpp94 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() local
95 if (Bitwidth == 1) in addNumImm()
97 else if (Bitwidth <= 32) { in addNumImm()
100 if (Bitwidth == 16) in addNumImm()
103 } else if (Bitwidth <= 64) { in addNumImm()
H A DSPIRVBuiltins.cpp1888 unsigned Bitwidth = Call->ReturnType->getOpcode() == SPIRV::OpTypeInt in generateImageSizeQueryInst() local
1892 LLT::fixed_vector(NumActualRetComponents, Bitwidth)); in generateImageSizeQueryInst()
1894 SPIRVType *IntTy = GR->getOrCreateSPIRVIntegerType(Bitwidth, MIRBuilder); in generateImageSizeQueryInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DType.h169 bool isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() argument
170 return LLVMTy->isIntegerTy(Bitwidth); in isIntegerTy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2907 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local
2963 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2967 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest()
2977 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
3027 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
3279 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local
3309 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
3331 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
3348 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp330 if (Opts.Bitwidth.has_value()) { in TryConvertLoop()
331 HWLoopInfo.CountType = IntegerType::get(Ctx, Opts.Bitwidth.value()); in TryConvertLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h240 LLVM_ABI bool isIntegerTy(unsigned Bitwidth) const;
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4212 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcDistForStaticInitForType() local
4213 if (Bitwidth == 32) in getKmpcDistForStaticInitForType()
4216 if (Bitwidth == 64) in getKmpcDistForStaticInitForType()
4228 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local
4229 if (Bitwidth == 32) in getKmpcForStaticInitForType()
4232 if (Bitwidth == 64) in getKmpcForStaticInitForType()
4507 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticLoopForType() local
4511 if (Bitwidth == 32) in getKmpcForStaticLoopForType()
4514 if (Bitwidth == 64) in getKmpcForStaticLoopForType()
4519 if (Bitwidth == 32) in getKmpcForStaticLoopForType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPatternMatch.h128 template <unsigned Bitwidth = 0>
129 using specific_intval = int_pred_ty<is_specific_int, Bitwidth>;
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1599 const unsigned Bitwidth = DL.getTypeSizeInBits(Ty); in SplitBlockAndInsertSimpleForLoop() local
1605 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in SplitBlockAndInsertSimpleForLoop()
H A DSCCPSolver.cpp96 unsigned Bitwidth = Op->getType()->getScalarSizeInBits(); in getRange() local
97 return ConstantRange::getFull(Bitwidth); in getRange()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp826 unsigned Bitwidth = Res.getLLTTy(*getMRI()).getElementType().getSizeInBits(); in buildStepVector() local
828 APInt(Bitwidth, Step)); in buildStepVector()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5077 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); in getValueRange() local
5083 Max = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getValueRange()
5086 Max = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getValueRange()
5087 Min = llvm::APInt::getZero(Bitwidth); in getValueRange()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3947 unsigned Bitwidth) { in matchBitExtract() argument
3958 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3971 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3982 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract()
4003 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
4009 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp728 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
731 APInt::getAllOnes(Bitwidth)))) && in foldSelectICmpLshrAshr()
734 APInt::getZero(Bitwidth))))) in foldSelectICmpLshrAshr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp15908 unsigned Bitwidth = Ty->getScalarSizeInBits() / 2; in rewrite() local
15909 while (Bitwidth % 8 == 0 && Bitwidth >= 8 && in rewrite()
15910 Bitwidth > Op->getType()->getScalarSizeInBits()) { in rewrite()
15911 Type *NarrowTy = IntegerType::get(SE.getContext(), Bitwidth); in rewrite()
15915 Bitwidth = Bitwidth / 2; in rewrite()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp6401 unsigned Bitwidth = I->getType()->getScalarSizeInBits(); in isProfitableToSinkOperands() local
6402 APInt UpperMask = APInt::getHighBitsSet(Bitwidth, Bitwidth / 2); in isProfitableToSinkOperands()
H A DAArch64ISelDAGToDAG.cpp3084 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local
3086 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()