Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp236 auto eltTy = split.first; in addLegalTypedData() local
240 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addLegalTypedData()
242 addLegalTypedData(eltTy, begin, begin + eltSize); in addLegalTypedData()
319 auto eltTy = vecTy->getElementType(); in addEntry() local
321 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addEntry()
323 addEntry(eltTy, begin, begin + eltSize); in addEntry()
384 auto eltTy = split.first; in splitVectorEntry() local
385 CharUnits eltSize = getTypeStoreSize(CGM, eltTy); in splitVectorEntry()
391 Entries[index].Type = eltTy; in splitVectorEntry()
639 llvm::Type *eltTy, unsigned numElts) { in isLegalVectorType() argument
[all …]
DCGCXXABI.cpp234 const CXXDeleteExpr *expr, QualType eltTy, in ReadArrayCookie() argument
241 if (!requiresArrayCookie(expr, eltTy)) { in ReadArrayCookie()
248 cookieSize = getArrayCookieSizeImpl(eltTy); in ReadArrayCookie()
DABIInfo.h142 llvm::Type *eltTy,
DTargetInfo.cpp130 llvm::Type *eltTy, in isLegalVectorTypeForSwift() argument
/external/llvm-project/clang/lib/CodeGen/
DSwiftCallingConv.cpp252 auto eltTy = split.first; in addLegalTypedData() local
256 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addLegalTypedData()
258 addLegalTypedData(eltTy, begin, begin + eltSize); in addLegalTypedData()
335 auto eltTy = vecTy->getElementType(); in addEntry() local
338 assert(eltSize == getTypeStoreSize(CGM, eltTy)); in addEntry()
342 addEntry(eltTy, begin, begin + eltSize); in addEntry()
403 auto eltTy = split.first; in splitVectorEntry() local
404 CharUnits eltSize = getTypeStoreSize(CGM, eltTy); in splitVectorEntry()
410 Entries[index].Type = eltTy; in splitVectorEntry()
699 llvm::Type *eltTy, unsigned numElts) { in isLegalVectorType() argument
[all …]
DConstantInitBuilder.cpp264 llvm::Constant *ConstantAggregateBuilderBase::finishArray(llvm::Type *eltTy) { in finishArray() argument
269 (Begin == buffer.size() && eltTy)) in finishArray()
272 if (!eltTy) eltTy = elts[0]->getType(); in finishArray()
273 auto type = llvm::ArrayType::get(eltTy, elts.size()); in finishArray()
DCGCXXABI.cpp205 const CXXDeleteExpr *expr, QualType eltTy, in ReadArrayCookie() argument
212 if (!requiresArrayCookie(expr, eltTy)) { in ReadArrayCookie()
219 cookieSize = getArrayCookieSizeImpl(eltTy); in ReadArrayCookie()
DABIInfo.h139 llvm::Type *eltTy,
DTargetInfo.cpp147 llvm::Type *eltTy, in isLegalVectorTypeForSwift() argument
5468 bool isLegalVectorTypeForSwift(CharUnits totalSize, llvm::Type *eltTy,
5811 llvm::Type *eltTy, in isLegalVectorTypeForSwift() argument
6223 bool isLegalVectorTypeForSwift(CharUnits totalSize, llvm::Type *eltTy,
6787 llvm::Type *eltTy, in isLegalVectorTypeForSwift() argument
6791 unsigned size = getDataLayout().getTypeStoreSizeInBits(eltTy); in isLegalVectorTypeForSwift()
/external/llvm-project/clang/include/clang/CodeGen/
DConstantInitBuilder.h327 llvm::Constant *finishArray(llvm::Type *eltTy);
362 ArrayBuilder beginArray(llvm::Type *eltTy = nullptr) {
363 return ArrayBuilder(static_cast<InitBuilder&>(this->Builder), this, eltTy);
436 llvm::Type *eltTy) in ConstantArrayBuilderTemplateBase() argument
437 : super(builder, parent), EltTy(eltTy) {} in ConstantArrayBuilderTemplateBase()
514 ArrayBuilder beginArray(llvm::Type *eltTy = nullptr) {
515 return ArrayBuilder(static_cast<InitBuilder&>(*this), nullptr, eltTy);
555 llvm::Type *eltTy) in ConstantArrayBuilder() argument
556 : ConstantArrayBuilderTemplateBase(builder, parent, eltTy) {} in ConstantArrayBuilder()
DSwiftCallingConv.h142 llvm::Type *eltTy, unsigned numElts);
/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp457 ParseResult getIntAttrElements(llvm::SMLoc loc, Type eltTy,
461 ParseResult getFloatAttrElements(llvm::SMLoc loc, FloatType eltTy,
465 DenseElementsAttr getStringAttr(llvm::SMLoc loc, ShapedType type, Type eltTy);
576 TensorLiteralParser::getIntAttrElements(llvm::SMLoc loc, Type eltTy, in getIntAttrElements() argument
579 bool isUintType = eltTy.isUnsignedInteger(); in getIntAttrElements()
599 if (!eltTy.isInteger(1)) { in getIntAttrElements()
610 buildAttributeAPInt(eltTy, isNegative, token.getSpelling()); in getIntAttrElements()
620 TensorLiteralParser::getFloatAttrElements(llvm::SMLoc loc, FloatType eltTy, in getFloatAttrElements() argument
638 Optional<APFloat> apVal = buildHexadecimalFloatLiteral(&p, eltTy, *val); in getFloatAttrElements()
656 if (!eltTy.isF64()) { in getFloatAttrElements()
[all …]
/external/llvm-project/mlir/lib/IR/
DBuiltinAttributes.cpp682 Type eltTy = owner.getType().getElementType(); in operator *() local
683 if (auto intEltTy = eltTy.dyn_cast<IntegerType>()) in operator *()
684 return IntegerAttr::get(eltTy, *IntElementIterator(owner, index)); in operator *()
685 if (eltTy.isa<IndexType>()) in operator *()
686 return IntegerAttr::get(eltTy, *IntElementIterator(owner, index)); in operator *()
687 if (auto floatEltTy = eltTy.dyn_cast<FloatType>()) { in operator *()
690 return FloatAttr::get(eltTy, *floatIt); in operator *()
694 return StringAttr::get(owner.isSplat() ? vals.front() : vals[index], eltTy); in operator *()
1021 Type eltTy = getType().getElementType().cast<ComplexType>().getElementType(); in getComplexIntValues() local
1022 (void)eltTy; in getComplexIntValues()
[all …]
/external/clang/include/clang/CodeGen/
DSwiftCallingConv.h135 llvm::Type *eltTy, unsigned numElts);