Home
last modified time | relevance | path

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

/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/llvm-project/llvm/lib/Linker/
DIRMover.cpp201 for (StructType *SrcSTy : SrcDefinitionsToResolve) { in linkDefinedTypeBodies()
202 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies()
206 Elements.resize(SrcSTy->getNumElements()); in linkDefinedTypeBodies()
208 Elements[I] = get(SrcSTy->getElementType(I)); in linkDefinedTypeBodies()
210 DstSTy->setBody(Elements, SrcSTy->isPacked()); in linkDefinedTypeBodies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp198 for (StructType *SrcSTy : SrcDefinitionsToResolve) { in linkDefinedTypeBodies()
199 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies()
203 Elements.resize(SrcSTy->getNumElements()); in linkDefinedTypeBodies()
205 Elements[I] = get(SrcSTy->getElementType(I)); in linkDefinedTypeBodies()
207 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()
/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp1137 llvm::StructType *SrcSTy, in EnterStructPointerForCoercedAccess() argument
1140 if (SrcSTy->getNumElements() == 0) return SrcPtr; in EnterStructPointerForCoercedAccess()
1142 llvm::Type *FirstElt = SrcSTy->getElementType(0); in EnterStructPointerForCoercedAccess()
1151 FirstEltSize < CGF.CGM.getDataLayout().getTypeStoreSize(SrcSTy)) in EnterStructPointerForCoercedAccess()
1159 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) in EnterStructPointerForCoercedAccess() local
1160 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess()
1236 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) { in CreateCoercedLoad() local
1237 Src = EnterStructPointerForCoercedAccess(Src, SrcSTy, in CreateCoercedLoad()