| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 243 auto SiteInsertion = CurFn->InlineSites.insert({InlinedAt, InlineSite()}); in getInlineSite() 246 unsigned ParentFuncId = CurFn->FuncId; in getInlineSite() 522 if (!CurFn->HaveLineInfo) in maybeRecordLocation() 523 CurFn->HaveLineInfo = true; in maybeRecordLocation() 526 FileId = CurFn->LastFileId; in maybeRecordLocation() 528 FileId = CurFn->LastFileId = maybeRecordFile(DL->getFile()); in maybeRecordLocation() 531 unsigned FuncId = CurFn->FuncId; in maybeRecordLocation() 550 addLocIfNotPresent(CurFn->ChildSites, Loc); in maybeRecordLocation() 1373 CurFn = Insertion.first->second.get(); in beginFunctionImpl() 1374 CurFn->FuncId = NextFuncId++; in beginFunctionImpl() [all …]
|
| H A D | DwarfDebug.h | 325 const MachineFunction *CurFn = nullptr; variable 812 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
|
| H A D | DwarfDebug.cpp | 1427 assert(CurFn == nullptr); in endModule() 2091 CurFn = MF; in beginFunctionImpl() 2119 CurFn = nullptr; in skippedNonDebugFunction() 2126 assert(CurFn == MF && in endFunctionImpl() 2137 CurFn = nullptr; in endFunctionImpl() 2157 CurFn = nullptr; in endFunctionImpl() 2204 CurFn = nullptr; in endFunctionImpl()
|
| H A D | CodeViewDebug.h | 187 FunctionInfo *CurFn = nullptr; variable
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 87 if (getLangOpts().OpenMP && CurFn) in ~CodeGenFunction() 95 if (CGM.getLangOpts().OpenMPIRBuilder && CurFn) in ~CodeGenFunction() 96 CGM.getOpenMPRuntime().getOMPBuilder().finalize(CurFn); in ~CodeGenFunction() 178 CGF.CurFn->getFnAttribute(Name).getValueAsBool(); in ConstructorHelper() 181 CGF.CurFn->addFnAttr(Name, llvm::toStringRef(NewValue)); in ConstructorHelper() 331 return CGF.CurFn->getBasicBlockList().push_back(BB); in EmitIfUsed() 390 CurFn->addFnAttr("instrument-function-exit", "__cyg_profile_func_exit"); in FinishFunction() 392 CurFn->addFnAttr("instrument-function-exit-inlined", in FinishFunction() 398 DI->EmitFunctionEnd(Builder, CurFn); in FinishFunction() 471 llvm::DominatorTree DT(*CurFn); in FinishFunction() [all …]
|
| H A D | CGAtomic.cpp | 390 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg() 395 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg() 454 auto *MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 455 auto *AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 456 auto *SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 457 auto *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 544 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp() 545 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn); in EmitAtomicOp() 547 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp() 732 BB[S] = CGF.createBasicBlock(getAsString(ScopeModel->map(S)), CGF.CurFn); in EmitAtomicOp() [all …]
|
| H A D | CGException.cpp | 778 if (!CurFn->hasPersonalityFn()) in getInvokeDestImpl() 779 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality)); in getInvokeDestImpl() 1517 if (!CurFn->hasPersonalityFn()) in getTerminateLandingPad() 1518 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality)); in getTerminateLandingPad() 1713 FP = &CGF.CurFn->arg_begin()[1]; in Emit() 1820 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in recoverAddrOfEscapedLocal() 1873 auto AI = CurFn->arg_begin(); in EmitCapturedLocals() 1886 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 1923 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 2046 CGM.SetInternalFunctionAttributes(GlobalDecl(), CurFn, FnInfo); in startOutlinedSEHHelper() [all …]
|
| H A D | CGCUDANV.cpp | 292 EmittedKernels.push_back({CGF.CurFn, CGF.CurFuncDecl}); in emitDeviceStub() 293 if (auto *GV = dyn_cast<llvm::GlobalVariable>(KernelHandles[CGF.CurFn])) { in emitDeviceStub() 294 GV->setLinkage(CGF.CurFn->getLinkage()); in emitDeviceStub() 295 GV->setInitializer(CGF.CurFn); in emitDeviceStub() 376 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn], VoidPtrTy); in emitDeviceStubBodyNew() 432 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn], CharPtrTy); in emitDeviceStubBodyLegacy()
|
| H A D | CodeGenABITypes.cpp | 126 CGF.CurFn = InsertBlock->getParent(); in getCXXDestructorImplicitParam()
|
| H A D | CGStmt.cpp | 536 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock() 538 CurFn->getBasicBlockList().push_back(BB); in EmitBlock() 563 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses() 571 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses() 1362 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange() 2483 llvm::BlockAddress::get(CurFn, Dest.getBlock()); in EmitAsmStmt()
|
| H A D | CGObjCRuntime.cpp | 208 llvm::Function *FinallyFunc = HelperCGF.CurFn; in EmitTryCatchStmt()
|
| H A D | CGOpenMPRuntime.cpp | 1190 auto &Decls = FunctionUDRMap.FindAndConstruct(CGF->CurFn); in emitUserDefinedReduction() 1396 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in setLocThreadIdInsertPt() 1411 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in clearLocThreadIdInsertPt() 1457 assert(CGF.CurFn && "No function in current CodeGenFunction."); in getThreadID() 1472 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in getThreadID() 1497 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 1509 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 1524 assert(CGF.CurFn && "No function in current CodeGenFunction."); in functionFinished() 1525 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) { in functionFinished() 1527 OpenMPLocThreadIDMap.erase(CGF.CurFn); in functionFinished() [all …]
|
| H A D | CGVTables.cpp | 192 CurFn = Fn; in GenerateVarArgsThunk() 400 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1681 auto I = Rt.FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first; in emitTeamsOutlinedFunction() 1717 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in emitGenericVarsProlog() 2006 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in emitGenericVarsEpilog() 4154 assert(FunctionGlobalizedDecls.count(CGF.CurFn) == 0 && in emitFunctionProlog() 4183 auto I = FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first; in emitFunctionProlog() 4274 auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in getAddressOfLocalVariable() 4296 FunctionGlobalizedDecls.erase(CGF.CurFn); in functionFinished()
|
| H A D | CGExprScalar.cpp | 2494 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec() 2725 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec() 3070 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue() 3097 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue() 3320 CGF.createBasicBlock("nooverflow", CGF.CurFn, initialBB->getNextNode()); in EmitOverflowCheckedBinOp() 3321 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
|
| H A D | CGBuiltin.cpp | 1445 BasicBlock *End = createBasicBlock("bitscan_end", this->CurFn); in EmitMSVCBuiltinExpr() 1451 BasicBlock *NotZero = createBasicBlock("bitscan_not_zero", this->CurFn); in EmitMSVCBuiltinExpr() 3174 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn); in EmitBuiltinExpr() 3185 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn); in EmitBuiltinExpr() 3193 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn); in EmitBuiltinExpr() 3204 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn); in EmitBuiltinExpr() 3874 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitBuiltinExpr() 3877 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 3878 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr() 3879 createBasicBlock("release", CurFn), in EmitBuiltinExpr() [all …]
|
| H A D | CGClass.cpp | 1542 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody() 1692 CGF.CurFn->addFnAttr("disable-tail-calls", "true"); in Emit()
|
| H A D | CGObjCMac.cpp | 4400 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I) in FragileHazards() 4458 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) { in emitHazardsInNewBlocks() 4502 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock(); in collectLocals()
|
| H A D | CodeGenFunction.h | 326 llvm::Function *CurFn = nullptr; 1488 !CurFn->hasFnAttribute(llvm::Attribute::NoProfile))
|
| H A D | CGExprConstant.cpp | 2006 functionName = CGF->CurFn->getName(); in VisitBlockExpr()
|
| H A D | CGCall.cpp | 3431 llvm::Function::arg_iterator EI = CurFn->arg_end(); in EmitFunctionEpilog() 3443 auto AI = CurFn->arg_begin(); in EmitFunctionEpilog()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 169 uint64_t CurFn = 0; in loadObj() local 207 if (CurFn == 0) { in loadObj() 208 CurFn = Entry.Function; in loadObj() 212 if (Entry.Function != CurFn) { in loadObj() 214 CurFn = Entry.Function; in loadObj()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | EntryExitInstrumenter.cpp | 24 static void insertCall(Function &CurFn, StringRef Func, in insertCall() argument 55 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 926 auto *CurFn = CodeGenIP.getBlock()->getParent(); in createSections() local 937 "omp_section_loop.body.case", CurFn); in createSections() 2034 Function *CurFn = EntryBB->getParent(); in emitCommonDirectiveEntry() local 2035 CurFn->getBasicBlockList().insertAfter(EntryBB->getIterator(), ThenBB); in emitCommonDirectiveEntry() 2106 Function *CurFn = OMP_Entry->getParent(); in createCopyinClauseBlocks() local 2108 BasicBlock::Create(M.getContext(), "copyin.not.master", CurFn); in createCopyinClauseBlocks() 2119 BasicBlock::Create(M.getContext(), "copyin.not.master.end", CurFn); in createCopyinClauseBlocks()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | AnalysisBasedWarnings.cpp | 1354 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() argument 1365 const WeakObjectUseMap &WeakMap = CurFn->getWeakObjectUses(); in diagnoseRepeatedUseOfWeak() 1439 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1441 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|