| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | SveEmitter.cpp | 72 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 D | NeonEmitter.cpp | 156 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 D | HardwareLoops.h | 23 std::optional<unsigned> Bitwidth; member 34 Bitwidth = Width; in setCounterBitwidth()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.cpp | 94 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 D | SPIRVBuiltins.cpp | 1888 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 D | Type.h | 169 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 D | LoopIdiomRecognize.cpp | 2907 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 D | HardwareLoops.cpp | 330 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 D | Type.h | 240 LLVM_ABI bool isIntegerTy(unsigned Bitwidth) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 4212 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 D | VPlanPatternMatch.h | 128 template <unsigned Bitwidth = 0> 129 using specific_intval = int_pred_ty<is_specific_int, Bitwidth>;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 58 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 D | BasicBlockUtils.cpp | 1599 const unsigned Bitwidth = DL.getTypeSizeInBits(Ty); in SplitBlockAndInsertSimpleForLoop() local 1605 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in SplitBlockAndInsertSimpleForLoop()
|
| H A D | SCCPSolver.cpp | 96 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 D | MachineIRBuilder.cpp | 826 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 D | Decl.cpp | 5077 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 D | X86ISelDAGToDAG.cpp | 3947 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 D | InstCombineSelect.cpp | 728 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 D | ScalarEvolution.cpp | 15908 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 D | AArch64TargetTransformInfo.cpp | 6401 unsigned Bitwidth = I->getType()->getScalarSizeInBits(); in isProfitableToSinkOperands() local 6402 APInt UpperMask = APInt::getHighBitsSet(Bitwidth, Bitwidth / 2); in isProfitableToSinkOperands()
|
| H A D | AArch64ISelDAGToDAG.cpp | 3084 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local 3086 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
|