Lines Matching defs:FE
313 RSExportForEach *FE;
317 FE = new RSExportForEach(Context, Name);
319 if (!FE->validateAndConstructParams(Context, FD)) {
325 std::string Id = CreateDummyName("helper_foreach_param", FE->getName());
328 if (FE->mUsrData) {
329 const clang::ParmVarDecl *PVD = FE->mUsrData;
339 FE->mUsrData = nullptr;
374 FE->mParamPacketType = static_cast<RSExportRecordType *>(ET);
383 if (FE->hasIns()) {
384 for (InIter BI = FE->mIns.begin(), EI = FE->mIns.end(); BI != EI; BI++) {
386 ExportKind EK = (FE->mIsKernelStyle ? NotLegacyKernelArgument :
392 if (FE->mIsKernelStyle && !InExportType) {
396 FE->mInTypes.push_back(InExportType);
400 if (FE->mIsKernelStyle && FE->mHasReturnType) {
401 const clang::Type *ReturnType = FE->mResultType.getTypePtr();
402 FE->mOutType = RSExportType::Create(Context, ReturnType,
404 TypeExportError |= !FE->mOutType;
405 } else if (FE->mOut) {
407 FE->mOut->getType().getCanonicalType().getTypePtr();
408 FE->mOutType = RSExportType::Create(Context, OutType, LegacyKernelArgument);
419 return FE;
425 RSExportForEach *FE = new RSExportForEach(Context, Name);
426 FE->mDummyRoot = true;
427 return FE;