Lines Matching refs:STy
1023 if (llvm::StructType *STy =
1026 CGF.CGM.getDataLayout().getStructLayout(STy);
1028 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
1207 llvm::StructType *STy = dyn_cast<llvm::StructType>(AI.getCoerceToType());
1208 if (AI.isDirect() && AI.getCanBeFlattened() && STy) {
1209 IRArgs.NumberOfArgs = STy->getNumElements();
2051 llvm::StructType *STy = dyn_cast<llvm::StructType>(ArgI.getCoerceToType());
2052 if (ArgI.isDirect() && ArgI.getCanBeFlattened() && STy &&
2053 STy->getNumElements() > 1) {
2054 auto SrcLayout = CGM.getDataLayout().getStructLayout(STy);
2055 uint64_t SrcSize = CGM.getDataLayout().getTypeAllocSize(STy);
2062 Builder.CreateBitCast(Ptr, llvm::PointerType::getUnqual(STy));
2065 CreateTempAlloca(STy, Alloca.getAlignment(), "coerce");
2068 assert(STy->getNumElements() == NumIRArgs);
2069 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {
3366 llvm::StructType *STy =
3368 if (STy && ArgInfo.isDirect() && ArgInfo.getCanBeFlattened()) {
3371 uint64_t DstSize = CGM.getDataLayout().getTypeAllocSize(STy);
3379 = CreateTempAlloca(STy, Src.getAlignment(),
3384 Src = Builder.CreateBitCast(Src, llvm::PointerType::getUnqual(STy));
3387 auto SrcLayout = CGM.getDataLayout().getStructLayout(STy);
3388 assert(NumIRArgs == STy->getNumElements());
3389 for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i) {