Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp105 if (ScalarType == Invalid) in verifyType()
140 switch (ScalarType) { in initBuiltinStr()
233 switch (ScalarType) { in initClangBuiltinStr()
270 switch (ScalarType) { in initTypeStr()
332 switch (ScalarType) { in initShortStr()
368 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
372 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
376 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
380 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
384 ScalarType = ScalarTypeKind::Float; in applyBasicType()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp236 class ScalarType : public CRegularNamedType { class
242 ScalarType(const Record *Record) : CRegularNamedType(TypeKind::Scalar) { in ScalarType() function in __anon819a2c470111::ScalarType
288 const ScalarType *Element;
292 VectorType(const ScalarType *Element, unsigned Lanes) in VectorType()
592 const ScalarType *IntegerType;
594 IntLiteralResult(const ScalarType *IntegerType, uint32_t IntegerValue) in IntLiteralResult()
613 const ScalarType *IntegerType;
615 IntCastResult(const ScalarType *IntegerType, Ptr V) in IntCastResult()
970 std::map<std::string, std::unique_ptr<ScalarType>> ScalarTypes;
986 const ScalarType *getScalarType(StringRef Name) { in getScalarType()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPostLegalizer.cpp79 SPIRVType *ScalarType = in processNewInstrs() local
86 ResType = ScalarType; in processNewInstrs()
H A DSPIRVGlobalRegistry.cpp1219 SPIRVType *ScalarType = getSPIRVTypeForVReg(ScalarTypeVReg); in isScalarOrVectorOfType() local
1220 return ScalarType->getOpcode() == TypeOpcode; in isScalarOrVectorOfType()
1264 SPIRVType *ScalarType = getSPIRVTypeForVReg(ScalarReg); in getScalarOrVectorComponentType() local
1266 ScalarType->getOpcode())); in getScalarOrVectorComponentType()
1267 return ScalarType; in getScalarOrVectorComponentType()
H A DSPIRVInstructionSelector.cpp1376 SPIRVType *ScalarType = in selectUnmergeValues() local
1385 ResType = ScalarType; in selectUnmergeValues()
3372 SPIRVType *ScalarType = GR.getScalarOrVectorComponentType(ResType); in extractSubvector() local
3373 const TargetRegisterClass *ScalarRegClass = GR.getRegClass(ScalarType); in extractSubvector()
3380 .addUse(ScalarType->getOperand(0).getReg()) in extractSubvector()
4118 const SPIRVType *ScalarType = GR.getSPIRVTypeForVReg(ScalarTypeReg); in widenTypeToVec4() local
4119 return GR.getOrCreateSPIRVVectorType(ScalarType, 4, MIRBuilder, false); in widenTypeToVec4()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResourceAccess.cpp35 Type *ScalarType = ContainedType->getScalarType(); in calculateGEPOffset() local
36 ScalarSize = DL.getTypeSizeInBits(ScalarType) / 8; in calculateGEPOffset()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1474 QualType ScalarType; in BuildEmptyCXXFoldExpr() local
1481 ScalarType = Context.VoidTy; in BuildEmptyCXXFoldExpr()
1490 ScalarType, Context.getTrivialTypeSourceInfo(ScalarType, EllipsisLoc), in BuildEmptyCXXFoldExpr()
H A DSemaExpr.cpp1379 QualType ScalarType = in handleComplexIntConversion() local
1383 return S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
1388 QualType ScalarType = in handleComplexIntConversion() local
1391 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
1401 QualType ScalarType = in handleComplexIntConversion() local
1404 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp2308 Type *ScalarType = Val->getScalarType(); in getVectorInstrCost() local
2310 Align SclAlign = DL.getPrefTypeAlign(ScalarType); in getVectorInstrCost()
2317 getMemoryOpCost(Instruction::Load, ScalarType, SclAlign, 0, in getVectorInstrCost()
2325 getMemoryOpCost(Instruction::Store, ScalarType, SclAlign, 0, in getVectorInstrCost()
H A DRISCVISelLowering.cpp24132 EVT ScalarType = DataType.getScalarType(); in isLegalStridedLoadStore() local
24133 if (!isLegalElementTypeForRVV(ScalarType)) in isLegalStridedLoadStore()
24137 Alignment < ScalarType.getStoreSize()) in isLegalStridedLoadStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4798 Type *ScalarType = Val->getScalarType(); in getVectorInstrCost() local
4811 Align SclAlign = DL.getPrefTypeAlign(ScalarType); in getVectorInstrCost()
4816 getMemoryOpCost(Instruction::Load, ScalarType, SclAlign, 0, in getVectorInstrCost()
4822 getMemoryOpCost(Instruction::Store, ScalarType, SclAlign, 0, in getVectorInstrCost()
4832 ScalarType->getScalarSizeInBits() == 1 && in getVectorInstrCost()
4878 if (ScalarType->isFloatingPointTy() && in getVectorInstrCost()
4898 if (ScalarType->isIntegerTy() && Opcode == Instruction::ExtractElement) in getVectorInstrCost()
4923 SubTy = FixedVectorType::get(ScalarType, SubNumElts); in getVectorInstrCost()
4927 int IntOrFpCost = ScalarType->isFloatingPointTy() ? 0 : 1; in getVectorInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1597 Type *ScalarType, Value *Idx, in computeAlignmentAfterScalarization() argument
1601 C->getZExtValue() * DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
1602 return commonAlignment(VectorAlignment, DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp5150 MDNode *ScalarType = MDNode::get(Context, Elts); in UpgradeTBAANode() local
5152 Metadata *Elts2[] = {ScalarType, ScalarType, in UpgradeTBAANode()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13413 MVT ScalarType; in PerformVQDMULHCombine() local
13417 ScalarType = MVT::i8; in PerformVQDMULHCombine()
13421 ScalarType = MVT::i16; in PerformVQDMULHCombine()
13425 ScalarType = MVT::i32; in PerformVQDMULHCombine()
13451 VecVT.getScalarType() != ScalarType || in PerformVQDMULHCombine()
13452 VT.getScalarSizeInBits() < ScalarType.getScalarSizeInBits() * 2) in PerformVQDMULHCombine()
13457 EVT LegalVecVT = MVT::getVectorVT(ScalarType, LegalLanes); in PerformVQDMULHCombine()
19343 Type *ScalarType = SVIType->getScalarType(); in shouldConvertSplatType() local
19345 if (ScalarType->isFloatTy()) in shouldConvertSplatType()
19347 if (ScalarType->isHalfTy()) in shouldConvertSplatType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp6050 MVT ScalarType = Scalar.getSimpleValueType(); in PromoteNode() local
6052 if (ScalarType.isInteger()) { in PromoteNode()