Home
last modified time | relevance | path

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

/freebsd/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()
371 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
375 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
379 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
383 ScalarType = ScalarTypeKind::SignedInteger; in applyBasicType()
387 ScalarType = ScalarTypeKind::Float; in applyBasicType()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DMveEmitter.cpp238 class ScalarType : public CRegularNamedType { class
244 ScalarType(const Record *Record) : CRegularNamedType(TypeKind::Scalar) { in ScalarType() function in __anon819a2c470111::ScalarType
290 const ScalarType *Element;
294 VectorType(const ScalarType *Element, unsigned Lanes) in VectorType()
594 const ScalarType *IntegerType;
596 IntLiteralResult(const ScalarType *IntegerType, uint32_t IntegerValue) in IntLiteralResult()
615 const ScalarType *IntegerType;
617 IntCastResult(const ScalarType *IntegerType, Ptr V) in IntCastResult()
972 std::map<std::string, std::unique_ptr<ScalarType>> ScalarTypes;
988 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.cpp97 SPIRVType *ScalarType = in processNewInstrs() local
104 ResType = ScalarType; in processNewInstrs()
H A DSPIRVGlobalRegistry.cpp1012 SPIRVType *ScalarType = getSPIRVTypeForVReg(ScalarTypeVReg); in isScalarOrVectorOfType() local
1013 return ScalarType->getOpcode() == TypeOpcode; in isScalarOrVectorOfType()
H A DSPIRVInstructionSelector.cpp937 SPIRVType *ScalarType = in selectUnmergeValues() local
946 ResType = ScalarType; in selectUnmergeValues()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1358 QualType ScalarType; in BuildEmptyCXXFoldExpr() local
1365 ScalarType = Context.VoidTy; in BuildEmptyCXXFoldExpr()
1374 ScalarType, Context.getTrivialTypeSourceInfo(ScalarType, EllipsisLoc), in BuildEmptyCXXFoldExpr()
H A DSemaExpr.cpp1352 QualType ScalarType = in handleComplexIntConversion() local
1356 return S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
1361 QualType ScalarType = in handleComplexIntConversion() local
1364 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
1374 QualType ScalarType = in handleComplexIntConversion() local
1377 QualType ComplexType = S.Context.getComplexType(ScalarType); in handleComplexIntConversion()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1238 Type *ScalarType, Value *Idx, in computeAlignmentAfterScalarization() argument
1242 C->getZExtValue() * DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
1243 return commonAlignment(VectorAlignment, DL.getTypeStoreSize(ScalarType)); in computeAlignmentAfterScalarization()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp4488 Type *ScalarType = Val->getScalarType(); in getVectorInstrCost() local
4501 Align SclAlign = DL.getPrefTypeAlign(ScalarType); in getVectorInstrCost()
4506 getMemoryOpCost(Instruction::Load, ScalarType, SclAlign, 0, in getVectorInstrCost()
4512 getMemoryOpCost(Instruction::Store, ScalarType, SclAlign, 0, in getVectorInstrCost()
4522 ScalarType->getScalarSizeInBits() == 1 && in getVectorInstrCost()
4565 if (ScalarType->isFloatingPointTy() && in getVectorInstrCost()
4585 if (ScalarType->isIntegerTy() && Opcode == Instruction::ExtractElement) in getVectorInstrCost()
4610 SubTy = FixedVectorType::get(ScalarType, SubNumElts); in getVectorInstrCost()
4614 int IntOrFpCost = ScalarType->isFloatingPointTy() ? 0 : 1; in getVectorInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp4827 MDNode *ScalarType = MDNode::get(Context, Elts); in UpgradeTBAANode() local
4829 Metadata *Elts2[] = {ScalarType, ScalarType, in UpgradeTBAANode()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp13346 MVT ScalarType; in PerformVQDMULHCombine() local
13350 ScalarType = MVT::i8; in PerformVQDMULHCombine()
13354 ScalarType = MVT::i16; in PerformVQDMULHCombine()
13358 ScalarType = MVT::i32; in PerformVQDMULHCombine()
13384 VecVT.getScalarType() != ScalarType || in PerformVQDMULHCombine()
13385 VT.getScalarSizeInBits() < ScalarType.getScalarSizeInBits() * 2) in PerformVQDMULHCombine()
13390 EVT LegalVecVT = MVT::getVectorVT(ScalarType, LegalLanes); in PerformVQDMULHCombine()
19411 Type *ScalarType = SVIType->getScalarType(); in shouldConvertSplatType() local
19413 if (ScalarType->isFloatTy()) in shouldConvertSplatType()
19415 if (ScalarType->isHalfTy()) in shouldConvertSplatType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp5790 MVT ScalarType = Scalar.getSimpleValueType(); in PromoteNode() local
5792 if (ScalarType.isInteger()) { in PromoteNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp21666 EVT ScalarType = DataType.getScalarType(); in isLegalStridedLoadStore()
21667 if (!isLegalElementTypeForRVV(ScalarType)) in isLegalStridedLoadStore()
21671 Alignment < ScalarType.getStoreSize()) in isLegalStridedLoadStore()
21663 EVT ScalarType = DataType.getScalarType(); isLegalStridedLoadStore() local