/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LowLevelType.cpp | 23 LLT ScalarTy = getLLTForType(*VTy->getElementType(), DL); local 25 return ScalarTy; 26 return LLT::vector(NumElements, ScalarTy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | LowLevelTypeImpl.h | 66 static LLT vector(uint16_t NumElements, LLT ScalarTy) { argument 68 assert(!ScalarTy.isVector() && "invalid vector element type"); 69 return LLT{ScalarTy.isPointer(), /*isVector=*/true, NumElements, 70 ScalarTy.getSizeInBits(), 71 ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0}; 74 static LLT scalarOrVector(uint16_t NumElements, LLT ScalarTy) { argument 75 return NumElements == 1 ? ScalarTy : LLT::vector(NumElements, ScalarTy);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Type.h | 416 template <typename ScalarTy> static Type *getScalarTy(LLVMContext &C) { 417 int noOfBits = sizeof(ScalarTy) * CHAR_BIT; 418 if (std::is_integral<ScalarTy>::value) { 420 } else if (std::is_floating_point<ScalarTy>::value) {
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 144 Type *ScalarTy = Ext0->getType(); local 151 ScalarOpCost = TTI.getArithmeticInstrCost(Opcode, ScalarTy); 156 ScalarOpCost = TTI.getCmpSelInstrCost(Opcode, ScalarTy, 157 CmpInst::makeCmpResultType(ScalarTy)); 461 Type *ScalarTy = IsConst0 ? V1->getType() : V0->getType(); local 465 (ScalarTy->isIntegerTy() || ScalarTy->isFloatingPointTy() || 466 ScalarTy->isPointerTy()) && 472 ScalarOpCost = TTI.getCmpSelInstrCost(Opcode, ScalarTy); 475 ScalarOpCost = TTI.getArithmeticInstrCost(Opcode, ScalarTy); [all...] |
H A D | SLPVectorizer.cpp | 2686 Type *ScalarTy = VL0->getType(); 2688 if (DL->getTypeSizeInBits(ScalarTy) != 2689 DL->getTypeAllocSizeInBits(ScalarTy)) { 2730 uint64_t Size = DL->getTypeAllocSize(ScalarTy); 2954 llvm::Type *ScalarTy = cast<StoreInst>(VL0)->getValueOperand()->getType(); 2992 uint64_t Size = DL->getTypeAllocSize(ScalarTy); 3288 Type *ScalarTy = VL[0]->getType(); 3290 ScalarTy = SI->getValueOperand()->getType(); 3292 ScalarTy = CI->getOperand(0)->getType(); 3293 auto *VecTy = FixedVectorType::get(ScalarTy, V [all...] |
H A D | LoopVectorize.cpp | 2199 Type *ScalarTy = getMemInstValueType(Instr); 2201 auto *VecTy = FixedVectorType::get(ScalarTy, InterleaveFactor * VF); 2239 AddrPart = Builder.CreateGEP(ScalarTy, AddrPart, Builder.getInt32(-Index)); 2304 if (Member->getType() != ScalarTy) { 2319 auto *SubVT = FixedVectorType::get(ScalarTy, VF); 3307 for (Type *ScalarTy : ScalarTys) 3308 Tys.push_back(ToVectorTy(ScalarTy, VF)); 4695 auto *ScalarTy = getMemInstValueType(I); 4696 if (hasIrregularType(ScalarTy, DL, VF)) 4742 auto *ScalarTy [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | PrintfFormatString.cpp | 674 ArgType ScalarTy = getScalarArgType(Ctx, IsObjCLiteral); 675 if (!ScalarTy.isValid() || VectorNumElts.isInvalid()) 676 return ScalarTy; 678 return ScalarTy.makeVectorType(Ctx, VectorNumElts.getConstantAmount());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 4028 Type *ScalarTy = DataTy->getScalarType(); 4030 if (ScalarTy->isPointerTy()) 4033 if (ScalarTy->isFloatTy() || ScalarTy->isDoubleTy()) 4036 if (!ScalarTy->isIntegerTy()) 4039 unsigned IntWidth = ScalarTy->getIntegerBitWidth(); 4094 Type *ScalarTy = cast<VectorType>(DataTy)->getElementType(); 4096 if (ScalarTy->isFloatTy() || ScalarTy->isDoubleTy()) 4099 if (!ScalarTy 4135 Type *ScalarTy = DataTy->getScalarType(); local [all...] |
H A D | X86ISelLowering.cpp | 8740 Type *ScalarTy = Type::getIntNTy(*Ctx, SplatBitSize); 8741 Constant *C = Constant::getIntegerValue(ScalarTy, SplatValue); [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1728 Type *ScalarTy = Ty->getElementType(); local 1740 VectorType *SubTy = FixedVectorType::get(ScalarTy, NumVecElts); 1775 Type *ScalarTy = Ty->getElementType(); local 1796 auto *SubTy = FixedVectorType::get(ScalarTy, NumVecElts);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 2525 MVT ScalarTy = tyScalar(VecTy); local 2526 VecV = DAG.getBitcast(ScalarTy, VecV); 2543 ExtV = DAG.getNode(HexagonISD::EXTRACTU, dl, ScalarTy, 2551 ExtV = DAG.getNode(HexagonISD::EXTRACTU, dl, ScalarTy, 2599 MVT ScalarTy = MVT::getIntegerVT(VecWidth); local 2604 VecV = DAG.getBitcast(ScalarTy, VecV); 2606 ValV = DAG.getAnyExtOrTrunc(ValV, dl, ScalarTy); 2614 InsV = DAG.getNode(HexagonISD::INSERT, dl, ScalarTy, 2620 InsV = DAG.getNode(HexagonISD::INSERT, dl, ScalarTy,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 1290 Type *ScalarTy = SrcTy->getScalarType(); local 1291 SrcBitWidth = ScalarTy->isPointerTy() ? 1292 Q.DL.getPointerTypeSizeInBits(ScalarTy) : 1293 Q.DL.getTypeSizeInBits(ScalarTy); 1916 Type *ScalarTy = Ty->getScalarType(); local 1917 if (ScalarTy->isPointerTy()) { 1918 assert(BitWidth == Q.DL.getPointerTypeSizeInBits(ScalarTy) && 1921 assert(BitWidth == Q.DL.getTypeSizeInBits(ScalarTy) && 2728 Type *ScalarTy = Ty->getScalarType(); local 2729 unsigned TyBits = ScalarTy [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64InstructionSelector.cpp | 177 const RegisterBank &DstRB, LLT ScalarTy, 3375 Optional<Register> DstReg, const RegisterBank &DstRB, LLT ScalarTy, 3380 if (!getLaneCopyOpcode(CopyOpc, ExtractSubReg, ScalarTy.getSizeInBits())) { 3387 getRegClassForTypeOnBank(ScalarTy, DstRB, RBI, true); 3872 const LLT ScalarTy = LLT::scalar(Op1Ty.getSizeInBits()); local 3878 emitScalarToVector(ScalarTy.getSizeInBits(), DstRC, Op1, MIRBuilder); 3880 emitScalarToVector(ScalarTy.getSizeInBits(), DstRC, Op2, MIRBuilder); 3889 getInsertVecEltOpInfo(FPRBank, ScalarTy.getSizeInBits()); 3374 emitExtractVectorElt( Optional<Register> DstReg, const RegisterBank &DstRB, LLT ScalarTy, Register VecReg, unsigned LaneIdx, MachineIRBuilder &MIRBuilder) const argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | Sema.cpp | 590 /// to the conversion from scalar type ScalarTy to the Boolean type. 591 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { argument 592 switch (ScalarTy->getScalarTypeKind()) {
|
H A D | SemaExpr.cpp | 9676 QualType ScalarTy = Scalar->get()->getType().getUnqualifiedType(); local 9687 if (!VectorEltTy->isArithmeticType() || !ScalarTy->isArithmeticType()) 9702 ScalarTy->isIntegralType(S.Context) && 9703 S.Context.getIntegerTypeOrder(VectorEltTy, ScalarTy)) { 9710 ScalarTy->isRealFloatingType()) { 9711 if (S.Context.getTypeSize(VectorEltTy) == S.Context.getTypeSize(ScalarTy)) 9716 if (ScalarTy->isRealFloatingType()) { 9728 int Order = S.Context.getFloatingTypeOrder(VectorEltTy, ScalarTy); 9743 } else if (ScalarTy->isIntegralType(S.Context)) { 9750 } else if (ScalarTy [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 1063 Type *ScalarTy = ScalarSrc->getType(); local 1064 Type *VecTy = VectorType::get(ScalarTy, IE.getType()->getElementCount());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 2780 Type *ScalarTy = AllocaTy->getScalarType(); 2795 DL.isLegalInteger(DL.getTypeSizeInBits(ScalarTy).getFixedSize()); 2821 assert(ElementTy == ScalarTy); 2865 DL.getTypeSizeInBits(ScalarTy).getFixedSize() / 8);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 370 Type *ScalarTy = Ty->getScalarType(); local 376 if (PointerType *PTy = dyn_cast<PointerType>(ScalarTy))
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 3259 EVT ScalarTy = Scalar.getValueType(); local 3260 if ((ScalarTy == MVT::i8) || (ScalarTy == MVT::i16)) 11735 EVT ScalarTy = Op1.getValueType(); local 11737 if ((ScalarTy == MVT::i8) || (ScalarTy == MVT::i16)) { 11749 EVT ScalarTy = Scalar.getValueType(); local 11751 if ((ScalarTy == MVT::i8) || (ScalarTy == MVT::i16))
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 10932 /// to the conversion from scalar type ScalarTy to the Boolean type. 10933 static CastKind ScalarTypeToBooleanCastKind(QualType ScalarTy);
|