Home
last modified time | relevance | path

Searched refs:ScalarType (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp108 if (ScalarType == Invalid) in verifyType()
143 switch (ScalarType) { in initBuiltinStr()
236 switch (ScalarType) { in initClangBuiltinStr()
273 switch (ScalarType) { in initTypeStr()
335 switch (ScalarType) { in initShortStr()
387 ScalarType = ScalarTypeKind::Float; in applyBasicType()
391 ScalarType = ScalarTypeKind::Float; in applyBasicType()
395 ScalarType = ScalarTypeKind::Float; in applyBasicType()
682 ScalarType = ScalarTypeKind::Void; in applyModifier()
698 ScalarType = ScalarTypeKind::Float; in applyModifier()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp238 class ScalarType : public CRegularNamedType { class
290 const ScalarType *Element;
594 const ScalarType *IntegerType;
615 const ScalarType *IntegerType;
1129 const ScalarType *STSize = cast<ScalarType>(getType(D->getArg(0), Param)); in getType()
1130 const ScalarType *STKind = cast<ScalarType>(getType(D->getArg(1), Param)); in getType()
1132 const ScalarType *RT = kv.second.get(); in getType()
1140 const ScalarType *STKind = cast<ScalarType>(getType(D->getArg(0), Param)); in getType()
1144 const ScalarType *RT = kv.second.get(); in getType()
1777 const ScalarType *ST = kv.second.get(); in EmitHeader()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h255 ScalarTypeKind ScalarType = Undefined; variable
305 bool isFloat() const { return ScalarType == ScalarTypeKind::Float; } in isFloat()
306 bool isBFloat() const { return ScalarType == ScalarTypeKind::BFloat; } in isBFloat()
308 return ScalarType == ScalarTypeKind::SignedInteger; in isSignedInteger()
321 ScalarTypeKind getScalarType() const { return ScalarType; } in getScalarType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1284 QualType ScalarType; in BuildEmptyCXXFoldExpr() local
1291 ScalarType = Context.VoidTy; in BuildEmptyCXXFoldExpr()
1300 ScalarType, Context.getTrivialTypeSourceInfo(ScalarType, EllipsisLoc), in BuildEmptyCXXFoldExpr()
H A DSemaExpr.cpp1368 QualType ScalarType = in handleComplexIntConversion() local
1372 return S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
1377 QualType ScalarType = in handleComplexIntConversion() local
1380 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
1390 QualType ScalarType = in handleComplexIntConversion() local
1393 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1195 Type *ScalarType, Value *Idx, in computeAlignmentAfterScalarization() argument
1199 C->getZExtValue() * DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
1200 return commonAlignment(VectorAlignment, DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVGlobalRegistry.cpp811 SPIRVType *ScalarType = getSPIRVTypeForVReg(ScalarTypeVReg); in isScalarOrVectorOfType() local
812 return ScalarType->getOpcode() == TypeOpcode; in isScalarOrVectorOfType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4362 Type *ScalarType = Val->getScalarType(); in getVectorInstrCost() local
4375 Align SclAlign = DL.getPrefTypeAlign(ScalarType); in getVectorInstrCost()
4380 getMemoryOpCost(Instruction::Load, ScalarType, SclAlign, 0, in getVectorInstrCost()
4386 getMemoryOpCost(Instruction::Store, ScalarType, SclAlign, 0, in getVectorInstrCost()
4396 ScalarType->getScalarSizeInBits() == 1 && in getVectorInstrCost()
4439 if (ScalarType->isFloatingPointTy() && in getVectorInstrCost()
4459 if (ScalarType->isIntegerTy() && Opcode == Instruction::ExtractElement) in getVectorInstrCost()
4484 SubTy = FixedVectorType::get(ScalarType, SubNumElts); in getVectorInstrCost()
4488 int IntOrFpCost = ScalarType->isFloatingPointTy() ? 0 : 1; in getVectorInstrCost()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4735 MDNode *ScalarType = MDNode::get(Context, Elts); in UpgradeTBAANode() local
4737 Metadata *Elts2[] = {ScalarType, ScalarType, in UpgradeTBAANode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13329 MVT ScalarType; in PerformVQDMULHCombine() local
13333 ScalarType = MVT::i8; in PerformVQDMULHCombine()
13337 ScalarType = MVT::i16; in PerformVQDMULHCombine()
13341 ScalarType = MVT::i32; in PerformVQDMULHCombine()
13367 VecVT.getScalarType() != ScalarType || in PerformVQDMULHCombine()
13368 VT.getScalarSizeInBits() < ScalarType.getScalarSizeInBits() * 2) in PerformVQDMULHCombine()
13373 EVT LegalVecVT = MVT::getVectorVT(ScalarType, LegalLanes); in PerformVQDMULHCombine()
19389 Type *ScalarType = SVIType->getScalarType(); in shouldConvertSplatType() local
19391 if (ScalarType->isFloatTy()) in shouldConvertSplatType()
19393 if (ScalarType->isHalfTy()) in shouldConvertSplatType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp5575 MVT ScalarType = Scalar.getSimpleValueType(); in PromoteNode() local
5577 if (ScalarType.isInteger()) { in PromoteNode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp20019 EVT ScalarType = DataType.getScalarType(); in isLegalStridedLoadStore() local
20020 if (!isLegalElementTypeForRVV(ScalarType)) in isLegalStridedLoadStore()
20024 Alignment < ScalarType.getStoreSize()) in isLegalStridedLoadStore()