Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CGT

106 isSafeToConvert(QualType T, CodeGenTypes &CGT,
114 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT,
120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr();
123 if (CGT.isRecordLayoutComplete(Key)) return true;
126 if (CGT.isRecordBeingLaidOut(Key))
136 CGT, AlreadyChecked))
143 if (!isSafeToConvert(I->getType(), CGT, AlreadyChecked))
154 isSafeToConvert(QualType T, CodeGenTypes &CGT,
160 return isSafeToConvert(RT->getDecl(), CGT, AlreadyChecked);
164 return isSafeToConvert(AT->getElementType(), CGT, AlreadyChecked);
176 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) {
178 if (CGT.noRecordsBeingLaidOut()) return true;
181 return isSafeToConvert(RD, CGT, AlreadyChecked);