Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DSveEmitter.cpp70 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anon5066fa640111::SVEType
79 PrefetchOp(false), Bitwidth(128), ElementBitwidth(~0U), NumVectors(1) { in SVEType()
111 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()
609 ElementBitwidth = Bitwidth = 64; in applyModifier()
[all …]
H A DNeonEmitter.cpp158 unsigned Bitwidth, ElementBitwidth, NumVectors; member in __anoncfaa73c60111::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 …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp299 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
300 if (Bitwidth < 3) in CarmichaelShift()
301 return Bitwidth - 1; in CarmichaelShift()
302 return Bitwidth - 2; in CarmichaelShift()
351 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
361 if (Bitwidth > 3) { in IncorporateWeight()
363 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
365 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
374 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
375 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
[all …]
H A DLoopIdiomRecognize.cpp2467 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilBitTest() local
2505 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2509 /*HasNSW=*/Bitwidth > 2); in recognizeShiftUntilBitTest()
2519 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2569 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilBitTest()
2821 unsigned Bitwidth = Ty->getScalarSizeInBits(); in recognizeShiftUntilZero() local
2853 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2875 /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
2892 /*HasNUW=*/true, /*HasNSW=*/Bitwidth != 2); in recognizeShiftUntilZero()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.cpp79 const auto Bitwidth = Imm.getBitWidth(); in addNumImm() local
80 switch (Bitwidth) { in addNumImm()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DType.h225 bool isIntegerTy(unsigned Bitwidth) const;
/openbsd-src/gnu/llvm/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2107 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForStaticInitForType() local
2108 if (Bitwidth == 32) in getKmpcForStaticInitForType()
2111 if (Bitwidth == 64) in getKmpcForStaticInitForType()
2404 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicInitForType() local
2405 if (Bitwidth == 32) in getKmpcForDynamicInitForType()
2408 if (Bitwidth == 64) in getKmpcForDynamicInitForType()
2420 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicNextForType() local
2421 if (Bitwidth == 32) in getKmpcForDynamicNextForType()
2424 if (Bitwidth == 64) in getKmpcForDynamicNextForType()
2435 unsigned Bitwidth = Ty->getIntegerBitWidth(); in getKmpcForDynamicFiniForType() local
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-ifs.rst34 Target: { Arch: x86_64, Endianness: little, Bitwidth: 64 } /* Optional, format 2 */
/openbsd-src/gnu/llvm/clang/tools/c-index-test/
H A Dc-index-test.c1863 int Bitwidth; in PrintBitWidth() local
1867 Bitwidth = clang_getFieldDeclBitWidth(cursor); in PrintBitWidth()
1868 if (Bitwidth >= 0) { in PrintBitWidth()
1870 printf(" bitwidth=%d\n", Bitwidth); in PrintBitWidth()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDecl.cpp4676 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); in getValueRange() local
4682 Max = llvm::APInt(Bitwidth, 1) << (NumBits - 1); in getValueRange()
4685 Max = llvm::APInt(Bitwidth, 1) << NumPositiveBits; in getValueRange()
4686 Min = llvm::APInt::getZero(Bitwidth); in getValueRange()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3584 unsigned Bitwidth) { in matchBitExtract() argument
3595 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()
3608 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3619 canonicalizeShiftAmt(M1, Bitwidth); in matchBitExtract()
3640 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local
3646 canonicalizeShiftAmt(N1, Bitwidth); in matchBitExtract()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp586 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local
589 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()
592 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp951 template <unsigned Bitwidth>
2288 template <unsigned Bitwidth>
2295 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()
2301 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp2646 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local
2648 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()
H A DAArch64ISelLowering.cpp14008 unsigned Bitwidth = I->getType()->getScalarSizeInBits(); in shouldSinkOperands() local
14009 APInt UpperMask = APInt::getHighBitsSet(Bitwidth, Bitwidth / 2); in shouldSinkOperands()