Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1157 const ValueDecl *InitVar = in checkRangeFor() local
1159 QualType VarType = InitVar->getType().getNonReferenceType(); in checkRangeFor()
1168 const ValueDecl *InitVar = cast<ValueDecl>(RangeStmt->getSingleDecl()); in checkRangeFor() local
1169 QualType VarType = InitVar->getType().getNonReferenceType(); in checkRangeFor()
1172 SemaRef.Diag(InitVar->getBeginLoc(), diag::err_acc_loop_variable_type) in checkRangeFor()
1182 const ValueDecl *&InitVar, in checkForInit() argument
1211 InitVar = nullptr; in checkForInit()
1220 InitVar = DRE->getDecl(); in checkForInit()
1225 InitVar = dyn_cast<ValueDecl>(DS->getSingleDecl()); in checkForInit()
1228 if (InitVar) { in checkForInit()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h171 bool checkForInit(const Stmt *InitStmt, const ValueDecl *&InitVar,
173 bool checkForCond(const Stmt *CondStmt, const ValueDecl *InitVar,
175 bool checkForInc(const Stmt *IncStmt, const ValueDecl *InitVar, bool Diag);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1578 auto *InitVar = new llvm::GlobalVariable(TheModule, LoadFunction->getType(), in ModuleInitFunction() local
1583 assert(InitVar->getName() == ".objc_ctor"); in ModuleInitFunction()
1590 InitVar->setSection(".CRT$XCLz"); in ModuleInitFunction()
1594 InitVar->setSection(".init_array"); in ModuleInitFunction()
1596 InitVar->setSection(".ctors"); in ModuleInitFunction()
1598 InitVar->setVisibility(llvm::GlobalValue::HiddenVisibility); in ModuleInitFunction()
1599 InitVar->setComdat(TheModule.getOrInsertComdat(".objc_ctor")); in ModuleInitFunction()
1600 CGM.addUsedGlobal(InitVar); in ModuleInitFunction()
1680 auto *InitVar = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), in ModuleInitFunction() local
1683 InitVar->setSection(".CRT$XCLb"); in ModuleInitFunction()
[all …]
H A DCGBlocks.cpp1395 auto *InitVar = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), in buildGlobalBlock() local
1398 InitVar->setSection(".CRT$XCLa"); in buildGlobalBlock()
1399 CGM.addUsedGlobal(InitVar); in buildGlobalBlock()