|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/CodeGen/CGAtomic.cpp 382 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn);
387 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn);
448 MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn);
451 AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn);
453 SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn);
455 llvm::BasicBlock *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn);
522 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn);
523 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn);
525 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn);
693 BB[S] = CGF.createBasicBlock(getAsString(ScopeModel->map(S)), CGF.CurFn);
696 CGF.createBasicBlock("atomic.scope.continue", CGF.CurFn);
1263 MonotonicBB = createBasicBlock("monotonic", CurFn);
1265 AcquireBB = createBasicBlock("acquire", CurFn);
1267 ReleaseBB = createBasicBlock("release", CurFn);
1269 AcqRelBB = createBasicBlock("acqrel", CurFn);
1270 SeqCstBB = createBasicBlock("seqcst", CurFn);
1271 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn);
tools/clang/lib/CodeGen/CGBlocks.cpp 785 *new CGBlockInfo(block, CGF.CurFn->getName());
909 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName());
tools/clang/lib/CodeGen/CGBuiltin.cpp 928 BasicBlock *End = createBasicBlock("bitscan_end", this->CurFn);
934 BasicBlock *NotZero = createBasicBlock("bitscan_not_zero", this->CurFn);
2303 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn);
2314 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn);
2322 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn);
2333 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn);
2937 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn);
2940 createBasicBlock("monotonic", CurFn),
2941 createBasicBlock("acquire", CurFn),
2942 createBasicBlock("release", CurFn),
2943 createBasicBlock("acqrel", CurFn),
2944 createBasicBlock("seqcst", CurFn)
3005 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn);
3008 createBasicBlock("monotonic", CurFn),
3009 createBasicBlock("release", CurFn),
3010 createBasicBlock("seqcst", CurFn)
3069 AcquireBB = createBasicBlock("acquire", CurFn);
3070 ReleaseBB = createBasicBlock("release", CurFn);
3071 AcqRelBB = createBasicBlock("acqrel", CurFn);
3072 SeqCstBB = createBasicBlock("seqcst", CurFn);
3073 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn);
tools/clang/lib/CodeGen/CGCUDANV.cpp 235 CGF.CurFn->getName());
237 EmittedKernels.push_back({CGF.CurFn, CGF.CurFuncDecl});
316 llvm::Value *Kernel = CGF.Builder.CreatePointerCast(CGF.CurFn, VoidPtrTy);
373 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy);
tools/clang/lib/CodeGen/CGCall.cpp 2825 llvm::Function::arg_iterator EI = CurFn->arg_end();
2835 auto AI = CurFn->arg_begin();
tools/clang/lib/CodeGen/CGClass.cpp 1520 CurFn->addFnAttr(llvm::Attribute::AlwaysInline);
1670 CGF.CurFn->addFnAttr("disable-tail-calls", "true");
tools/clang/lib/CodeGen/CGException.cpp 728 if (!CurFn->hasPersonalityFn())
729 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality));
1470 if (!CurFn->hasPersonalityFn())
1471 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality));
1630 FP = &CGF.CurFn->arg_begin()[1];
1726 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
1779 auto AI = CurFn->arg_begin();
1792 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
1887 CGM.SetLLVMFunctionAttributes(GlobalDecl(), FnInfo, CurFn);
1908 return CurFn;
1922 return CurFn;
1932 SEHInfo = &*CurFn->arg_begin();
1981 auto AI = CurFn->arg_begin();
tools/clang/lib/CodeGen/CGExpr.cpp 2758 StringRef FnName = CurFn->getName();
tools/clang/lib/CodeGen/CGExprConstant.cpp 1978 functionName = CGF->CurFn->getName();
tools/clang/lib/CodeGen/CGExprScalar.cpp 2398 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn);
2561 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn);
2891 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn);
2917 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn);
3111 CGF.createBasicBlock("nooverflow", CGF.CurFn, initialBB->getNextNode());
3112 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn);
tools/clang/lib/CodeGen/CGObjC.cpp 717 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn);
tools/clang/lib/CodeGen/CGObjCMac.cpp 4213 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I)
4213 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I)
4271 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) {
4271 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) {
4315 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock();
tools/clang/lib/CodeGen/CGObjCRuntime.cpp 207 llvm::Function *FinallyFunc = HelperCGF.CurFn;
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1425 auto &Decls = FunctionUDRMap.FindAndConstruct(CGF->CurFn);
1602 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1617 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1634 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1638 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn);
1647 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1688 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1693 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn);
1717 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1729 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1743 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1744 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) {
1746 OpenMPLocThreadIDMap.erase(CGF.CurFn);
1748 if (FunctionUDRMap.count(CGF.CurFn) > 0) {
1749 for(auto *D : FunctionUDRMap[CGF.CurFn])
1751 FunctionUDRMap.erase(CGF.CurFn);
1753 auto I = FunctionUDMMap.find(CGF.CurFn);
9076 auto &Decls = FunctionUDMMap.FindAndConstruct(CGF->CurFn);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2076 auto I = Rt.FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first;
2117 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn);
2397 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn);
4662 assert(FunctionGlobalizedDecls.count(CGF.CurFn) == 0 &&
4691 auto I = FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first;
4792 auto I = FunctionGlobalizedDecls.find(CGF.CurFn);
4814 FunctionGlobalizedDecls.erase(CGF.CurFn);
tools/clang/lib/CodeGen/CGStmt.cpp 479 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB);
481 CurFn->getBasicBlockList().push_back(BB);
506 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(),
514 CurFn->getBasicBlockList().push_back(block);
1223 CurFn->getBasicBlockList().push_back(CaseRangeBlock);
2225 llvm::BlockAddress::get(CurFn, Dest.getBlock());
tools/clang/lib/CodeGen/CGVTables.cpp 191 CurFn = Fn;
397 for (llvm::Argument &A : CurFn->args())
tools/clang/lib/CodeGen/CodeGenFunction.cpp 101 if (getLangOpts().OpenMP && CurFn)
291 return CGF.CurFn->getBasicBlockList().push_back(BB);
344 CurFn->addFnAttr("instrument-function-exit", "__cyg_profile_func_exit");
346 CurFn->addFnAttr("instrument-function-exit-inlined",
352 DI->EmitFunctionEnd(Builder, CurFn);
425 llvm::DominatorTree DT(*CurFn);
432 for (llvm::Argument &A : CurFn->args())
438 if (auto *VT = dyn_cast<llvm::VectorType>(CurFn->getReturnType()))
449 CurFn->addFnAttr("min-legal-vector-width", llvm::utostr(LargestVectorWidth));
645 assert(!CurFn &&
657 CurFn = Fn;
659 assert(CurFn->isDeclaration() && "Function already has body?");
830 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn);
863 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, CurFuncIsThunk,
869 CurFn->addFnAttr("instrument-function-entry", "__cyg_profile_func_enter");
871 CurFn->addFnAttr("instrument-function-entry-inlined",
874 CurFn->addFnAttr("instrument-function-entry-inlined",
905 auto AI = CurFn->arg_begin();
920 llvm::Function::arg_iterator EI = CurFn->arg_end();
946 EmitFunctionProlog(*CurFnInfo, CurFn, Args);
1186 PGO.assignRegionCounters(GD, CurFn);
1243 if (!CurFn->doesNotThrow())
1244 TryMarkNoThrow(CurFn);
1700 return llvm::BlockAddress::get(CurFn, BB);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 2246 CGF.CurFn->setComdat(C);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 2434 llvm::Function *F = CGF.CurFn;