Home
last modified time | relevance | path

Searched refs:FieldTy (Results 1 – 9 of 9) sorted by relevance

/NextBSD/contrib/llvm/lib/AsmParser/
HDLLParser.h402 template <class FieldTy>
403 bool ParseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
404 template <class FieldTy> bool ParseMDField(StringRef Name, FieldTy &Result);
HDLLParser.cpp3038 template <class FieldTy> struct MDFieldImpl {
3040 FieldTy Val;
3043 void assign(FieldTy Val) { in assign()
3048 explicit MDFieldImpl(FieldTy Default) in MDFieldImpl()
3371 template <class FieldTy>
3372 bool LLParser::ParseMDField(StringRef Name, FieldTy &Result) { in ParseMDField()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDScalarReplAggregates.cpp2377 Type *FieldTy = EltSTy->getElementType(i); in RewriteStoreUserOfWholeAlloca() local
2381 Shift = AllocaSizeBits - Shift - DL.getTypeAllocSizeInBits(FieldTy); in RewriteStoreUserOfWholeAlloca()
2390 uint64_t FieldSizeBits = DL.getTypeSizeInBits(FieldTy); in RewriteStoreUserOfWholeAlloca()
2399 if (EltVal->getType() == FieldTy) { in RewriteStoreUserOfWholeAlloca()
2401 } else if (FieldTy->isFloatingPointTy() || FieldTy->isVectorTy()) { in RewriteStoreUserOfWholeAlloca()
2403 EltVal = Builder.CreateBitCast(EltVal, FieldTy); in RewriteStoreUserOfWholeAlloca()
2496 Type *FieldTy = in RewriteLoadUserOfWholeAlloca() local
2498 uint64_t FieldSizeBits = DL.getTypeSizeInBits(FieldTy); in RewriteLoadUserOfWholeAlloca()
2505 if (!FieldTy->isIntegerTy() && !FieldTy->isFloatingPointTy() && in RewriteLoadUserOfWholeAlloca()
2506 !FieldTy->isVectorTy()) in RewriteLoadUserOfWholeAlloca()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.cpp1718 llvm::DIType *FieldTy = getOrCreateType(Field->getType(), Unit); in CreateTypeDefinition() local
1719 if (!FieldTy) in CreateTypeDefinition()
1789 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
1791 FieldTy, PropertyNode); in CreateTypeDefinition()
1792 EltTys.push_back(FieldTy); in CreateTypeDefinition()
2273 llvm::DIType *FieldTy = CGDebugInfo::getOrCreateType(FType, Unit); in CreateMemberType() local
2277 FieldAlign, *Offset, 0, FieldTy); in CreateMemberType()
2725 llvm::DIType *FieldTy = getOrCreateType(FType, Unit); in EmitTypeForVarWithBlocksAttr() local
2730 FieldTy = DBuilder.createMemberType(Unit, VD->getName(), Unit, 0, FieldSize, in EmitTypeForVarWithBlocksAttr()
2731 FieldAlign, FieldOffset, 0, FieldTy); in EmitTypeForVarWithBlocksAttr()
[all …]
HDCGOpenMPRuntime.cpp1803 QualType FieldTy) { in addFieldToRecordDecl() argument
1805 C, DC, SourceLocation(), SourceLocation(), /*Id=*/nullptr, FieldTy, in addFieldToRecordDecl()
1806 C.getTrivialTypeSourceInfo(FieldTy, SourceLocation()), in addFieldToRecordDecl()
HDCGObjCMac.cpp6136 llvm::Type *FieldTy = in EmitIvarList() local
6138 unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy); in EmitIvarList()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDGlobalOpt.cpp1291 Type *FieldTy = STy->getElementType(FieldNo); in PerformHeapAllocSRoA() local
1292 PointerType *PFieldTy = PointerType::get(FieldTy, AS); in PerformHeapAllocSRoA()
1302 unsigned TypeSize = DL.getTypeAllocSize(FieldTy); in PerformHeapAllocSRoA()
1303 if (StructType *ST = dyn_cast<StructType>(FieldTy)) in PerformHeapAllocSRoA()
1306 Value *NMI = CallInst::CreateMalloc(CI, IntPtrTy, FieldTy, in PerformHeapAllocSRoA()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDecl.cpp12459 QualType FieldTy, bool IsMsStruct, in VerifyBitField() argument
12467 if (!FieldTy->isDependentType() && !FieldTy->isIntegralOrEnumerationType()) { in VerifyBitField()
12469 if (RequireCompleteType(FieldLoc, FieldTy, diag::err_field_incomplete)) in VerifyBitField()
12473 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
12475 << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
12506 if (!FieldTy->isDependentType()) { in VerifyBitField()
12507 uint64_t TypeSize = Context.getTypeSize(FieldTy); in VerifyBitField()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h8552 QualType FieldTy, bool IsMsStruct,