Home
last modified time | relevance | path

Searched refs:SrcSTy (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp179 StructType *SrcSTy = DefinitionsToResolve.pop_back_val(); in linkDefinedTypeBodies() local
180 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()
/external/llvm/lib/Linker/
DIRMover.cpp196 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp199 for (StructType *SrcSTy : SrcDefinitionsToResolve) { in linkDefinedTypeBodies()
200 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies()
204 Elements.resize(SrcSTy->getNumElements()); in linkDefinedTypeBodies()
206 Elements[I] = get(SrcSTy->getElementType(I)); in linkDefinedTypeBodies()
208 DstSTy->setBody(Elements, SrcSTy->isPacked()); in linkDefinedTypeBodies()
/external/clang/lib/CodeGen/
DCGCall.cpp1051 llvm::StructType *SrcSTy, in EnterStructPointerForCoercedAccess() argument
1054 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() local
1074 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess()
1150 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) { in CreateCoercedLoad() local
1151 Src = EnterStructPointerForCoercedAccess(Src, SrcSTy, DstSize, CGF); in CreateCoercedLoad()