Searched refs:SrcSTy (Results 1 – 3 of 3) sorted by relevance
179 StructType *SrcSTy = DefinitionsToResolve.pop_back_val(); in linkDefinedTypeBodies() local180 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies()186 assert(!SrcSTy->isOpaque() && "Not resolving a definition?"); in linkDefinedTypeBodies()189 Elements.resize(SrcSTy->getNumElements()); in linkDefinedTypeBodies()191 Elements[i] = getImpl(SrcSTy->getElementType(i)); in linkDefinedTypeBodies()193 DstSTy->setBody(Elements, SrcSTy->isPacked()); in linkDefinedTypeBodies()197 if (!SrcSTy->hasName()) continue; in linkDefinedTypeBodies()198 StringRef SrcName = SrcSTy->getName(); in linkDefinedTypeBodies()202 SrcSTy->setName(""); in linkDefinedTypeBodies()
196 for (StructType *SrcSTy : SrcDefinitionsToResolve) { in linkDefinedTypeBodies()197 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies()201 Elements.resize(SrcSTy->getNumElements()); in linkDefinedTypeBodies()203 Elements[I] = get(SrcSTy->getElementType(I)); in linkDefinedTypeBodies()205 DstSTy->setBody(Elements, SrcSTy->isPacked()); in linkDefinedTypeBodies()
1051 llvm::StructType *SrcSTy, in EnterStructPointerForCoercedAccess() argument1054 if (SrcSTy->getNumElements() == 0) return SrcPtr; in EnterStructPointerForCoercedAccess()1056 llvm::Type *FirstElt = SrcSTy->getElementType(0); in EnterStructPointerForCoercedAccess()1065 FirstEltSize < CGF.CGM.getDataLayout().getTypeStoreSize(SrcSTy)) in EnterStructPointerForCoercedAccess()1073 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) in EnterStructPointerForCoercedAccess() local1074 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess()1150 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) { in CreateCoercedLoad() local1151 Src = EnterStructPointerForCoercedAccess(Src, SrcSTy, DstSize, CGF); in CreateCoercedLoad()