Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/AST/Interp/
DEvalEmitter.cpp124 QualType FieldTy = F.Decl->getType(); in emitRetValue() local
126 if (llvm::Optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue()
129 Ok &= Composite(FieldTy, FP, Value); in emitRetValue()
144 QualType FieldTy = FD->Decl->getType(); in emitRetValue() local
148 if (llvm::Optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue()
151 Ok &= Composite(FieldTy, FP, Value); in emitRetValue()
/external/llvm-project/llvm/include/llvm/Bitcode/
DBitcodeConvenience.h165 template <typename FieldTy> static void emitOps(llvm::BitCodeAbbrev &abbrev) { in emitOps()
166 FieldTy::emitOp(abbrev); in emitOps()
174 template <typename FieldTy, typename Next, typename... Rest>
176 static_assert(!FieldTy::IsCompound, in emitOps()
178 FieldTy::emitOp(abbrev); in emitOps()
/external/llvm/lib/AsmParser/
DLLParser.h429 template <class FieldTy>
430 bool ParseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
431 template <class FieldTy> bool ParseMDField(StringRef Name, FieldTy &Result);
DLLParser.cpp3337 template <class FieldTy> struct MDFieldImpl {
3339 FieldTy Val;
3342 void assign(FieldTy Val) { in assign()
3347 explicit MDFieldImpl(FieldTy Default) in MDFieldImpl()
3737 template <class FieldTy>
3738 bool LLParser::ParseMDField(StringRef Name, FieldTy &Result) { in ParseMDField()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.h529 template <class FieldTy>
530 bool ParseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
531 template <class FieldTy> bool ParseMDField(StringRef Name, FieldTy &Result);
DLLParser.cpp3761 template <class FieldTy> struct MDFieldImpl {
3763 FieldTy Val;
3766 void assign(FieldTy Val) { in assign()
3771 explicit MDFieldImpl(FieldTy Default) in MDFieldImpl()
4369 template <class FieldTy>
4370 bool LLParser::ParseMDField(StringRef Name, FieldTy &Result) { in ParseMDField()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.h528 template <class FieldTy>
529 bool parseMDField(LocTy Loc, StringRef Name, FieldTy &Result);
530 template <class FieldTy> bool parseMDField(StringRef Name, FieldTy &Result);
DLLParser.cpp3964 template <class FieldTy> struct MDFieldImpl {
3966 FieldTy Val;
3969 void assign(FieldTy Val) { in assign()
3974 explicit MDFieldImpl(FieldTy Default) in MDFieldImpl()
4565 template <class FieldTy>
4566 bool LLParser::parseMDField(StringRef Name, FieldTy &Result) { in parseMDField()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1964 llvm::DIType *FieldTy = getOrCreateType(Field->getType(), Unit); in CreateTypeDefinition() local
1965 if (!FieldTy) in CreateTypeDefinition()
2035 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
2037 FieldTy, PropertyNode); in CreateTypeDefinition()
2038 EltTys.push_back(FieldTy); in CreateTypeDefinition()
2595 llvm::DIType *FieldTy = CGDebugInfo::getOrCreateType(FType, Unit); in CreateMemberType() local
2599 FieldAlign, *Offset, 0, FieldTy); in CreateMemberType()
3101 llvm::DIType *FieldTy = getOrCreateType(FType, Unit); in EmitTypeForVarWithBlocksAttr() local
3106 FieldTy = DBuilder.createMemberType(Unit, VD->getName(), Unit, 0, FieldSize, in EmitTypeForVarWithBlocksAttr()
3107 FieldAlign, FieldOffset, 0, FieldTy); in EmitTypeForVarWithBlocksAttr()
[all …]
DCGOpenMPRuntime.cpp3066 QualType FieldTy) { in addFieldToRecordDecl() argument
3068 C, DC, SourceLocation(), SourceLocation(), /*Id=*/nullptr, FieldTy, in addFieldToRecordDecl()
3069 C.getTrivialTypeSourceInfo(FieldTy, SourceLocation()), in addFieldToRecordDecl()
DCGObjCMac.cpp6394 llvm::Type *FieldTy = in EmitIvarList() local
6396 unsigned Size = CGM.getDataLayout().getTypeAllocSize(FieldTy); in EmitIvarList()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp2697 llvm::DIType *FieldTy = getOrCreateType(Field->getType(), Unit); in CreateTypeDefinition() local
2698 if (!FieldTy) in CreateTypeDefinition()
2770 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
2772 FieldTy, PropertyNode); in CreateTypeDefinition()
2773 EltTys.push_back(FieldTy); in CreateTypeDefinition()
3444 llvm::DIType *FieldTy = CGDebugInfo::getOrCreateType(FType, Unit); in CreateMemberType() local
3449 *Offset, llvm::DINode::FlagZero, FieldTy); in CreateMemberType()
4150 llvm::DIType *FieldTy = DBuilder.createMemberType( in EmitTypeForVarWithBlocksAttr() local
4153 EltTys.push_back(FieldTy); in EmitTypeForVarWithBlocksAttr()
4249 llvm::DIType *FieldTy = getOrCreateType(Field->getType(), Unit); in EmitDeclare() local
[all …]
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1252 Type *FieldTy = STy->getElementType(FieldNo); in PerformHeapAllocSRoA() local
1253 PointerType *PFieldTy = PointerType::get(FieldTy, AS); in PerformHeapAllocSRoA()
1262 unsigned TypeSize = DL.getTypeAllocSize(FieldTy); in PerformHeapAllocSRoA()
1263 if (StructType *ST = dyn_cast<StructType>(FieldTy)) in PerformHeapAllocSRoA()
1266 Value *NMI = CallInst::CreateMalloc(CI, IntPtrTy, FieldTy, in PerformHeapAllocSRoA()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1329 Type *FieldTy = STy->getElementType(FieldNo); in PerformHeapAllocSRoA() local
1330 PointerType *PFieldTy = PointerType::get(FieldTy, AS); in PerformHeapAllocSRoA()
1339 unsigned TypeSize = DL.getTypeAllocSize(FieldTy); in PerformHeapAllocSRoA()
1340 if (StructType *ST = dyn_cast<StructType>(FieldTy)) in PerformHeapAllocSRoA()
1343 Value *NMI = CallInst::CreateMalloc(CI, IntPtrTy, FieldTy, in PerformHeapAllocSRoA()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1313 Type *FieldTy = STy->getElementType(FieldNo); in PerformHeapAllocSRoA() local
1314 PointerType *PFieldTy = PointerType::get(FieldTy, AS); in PerformHeapAllocSRoA()
1323 unsigned TypeSize = DL.getTypeAllocSize(FieldTy); in PerformHeapAllocSRoA()
1324 if (StructType *ST = dyn_cast<StructType>(FieldTy)) in PerformHeapAllocSRoA()
1327 Value *NMI = CallInst::CreateMalloc(CI, IntPtrTy, FieldTy, in PerformHeapAllocSRoA()
/external/llvm-project/clang/lib/AST/
DType.cpp3490 QualType FieldTy = FD->getType(); in hasConstFields() local
3491 if (FieldTy.isConstQualified()) in hasConstFields()
3493 FieldTy = FieldTy.getCanonicalType(); in hasConstFields()
3494 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) { in hasConstFields()
DExprConstant.cpp6866 QualType FieldTy = FD->getType(); in visitRecord() local
6867 if (!visit(Val.getStructField(FieldIdx), FieldTy, FieldOffset)) in visitRecord()
7074 QualType FieldTy = FD->getType(); in visit() local
7075 Optional<APValue> SubObj = visitType(FieldTy, FieldOffset); in visit()
/external/llvm-project/mlir/lib/Rewrite/
DByteCode.cpp332 template <typename FieldTy, typename Field2Ty, typename... FieldTys>
333 void append(FieldTy field, Field2Ty field2, FieldTys... fields) { in append()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc2865 using FieldTy = protobuf::MapPair<std::string, StructuredValue>; in RecursivelyFindLeaves() typedef
2866 llvm::SmallVector<const FieldTy*, 4> fields; in RecursivelyFindLeaves()
2870 llvm::sort(fields, [](const FieldTy* a, const FieldTy* b) { in RecursivelyFindLeaves()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp8768 QualType FieldTy = Field->getType(); in checkIsValidOpenCLKernelParameter() local
8771 assert((FieldTy->isArrayType() || FieldTy->isRecordType()) && in checkIsValidOpenCLKernelParameter()
8773 const Type *FieldRecTy = FieldTy->getPointeeOrArrayElementType(); in checkIsValidOpenCLKernelParameter()
16420 QualType FieldTy, bool IsMsStruct, in VerifyBitField() argument
16432 if (!FieldTy->isDependentType() && !FieldTy->isIntegralOrEnumerationType()) { in VerifyBitField()
16434 if (RequireCompleteSizedType(FieldLoc, FieldTy, in VerifyBitField()
16439 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
16441 << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
16479 if (!FieldTy->isDependentType()) { in VerifyBitField()
16480 uint64_t TypeStorageSize = Context.getTypeSize(FieldTy); in VerifyBitField()
[all …]
DSemaExpr.cpp12661 QualType FieldTy = Field->getType(); in DiagnoseRecursiveConstFields() local
12662 if (FieldTy.isConstQualified()) { in DiagnoseRecursiveConstFields()
12671 << FieldTy << Field->getSourceRange(); in DiagnoseRecursiveConstFields()
12675 FieldTy = FieldTy.getCanonicalType(); in DiagnoseRecursiveConstFields()
12676 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) { in DiagnoseRecursiveConstFields()
/external/clang/lib/Sema/
DSemaDecl.cpp13240 QualType FieldTy, bool IsMsStruct, in VerifyBitField() argument
13248 if (!FieldTy->isDependentType() && !FieldTy->isIntegralOrEnumerationType()) { in VerifyBitField()
13250 if (RequireCompleteType(FieldLoc, FieldTy, diag::err_field_incomplete)) in VerifyBitField()
13254 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
13256 << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
13287 if (!FieldTy->isDependentType()) { in VerifyBitField()
13288 uint64_t TypeStorageSize = Context.getTypeSize(FieldTy); in VerifyBitField()
13289 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField()
13315 if (BitfieldIsOverwide && !FieldTy->isBooleanType()) { in VerifyBitField()
/external/llvm-project/llvm/docs/TableGen/
DBackGuide.rst165 name for this class might be ``FieldTy``.)
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DVerifier.cpp5263 const MDOperand &FieldTy = BaseNode->getOperand(Idx); in verifyTBAABaseNodeImpl() local
5265 if (!isa<MDNode>(FieldTy)) { in verifyTBAABaseNodeImpl()
/external/llvm-project/llvm/lib/IR/
DVerifier.cpp5683 const MDOperand &FieldTy = BaseNode->getOperand(Idx); in verifyTBAABaseNodeImpl() local
5685 if (!isa<MDNode>(FieldTy)) { in verifyTBAABaseNodeImpl()

12