| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 522 if (!CurFn->HaveLineInfo) in maybeRecordLocation() 523 CurFn->HaveLineInfo = true; in maybeRecordLocation() 526 FileId = CurFn->LastFileId; in maybeRecordLocation() 531 unsigned FuncId = CurFn->FuncId; in maybeRecordLocation() 1374 CurFn->FuncId = NextFuncId++; in beginFunctionImpl() 1389 if (CurFn->FrameSize > 0) { in beginFunctionImpl() 1439 CurFn->FrameProcOpts = FPO; in beginFunctionImpl() 2171 assert(CurFn == nullptr); in clear() 2917 CurFn = nullptr; in endFunctionImpl() 2934 CurFn->End = Asm->getFunctionEnd(); in endFunctionImpl() [all …]
|
| H A D | DwarfDebug.h | 325 const MachineFunction *CurFn = nullptr; variable 809 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
|
| H A D | CodeViewDebug.h | 187 FunctionInfo *CurFn = nullptr; variable
|
| H A D | DwarfDebug.cpp | 1415 assert(CurFn == nullptr); in endModule() 2141 CurFn = MF; in beginFunctionImpl() 2169 CurFn = nullptr; in skippedNonDebugFunction() 2176 assert(CurFn == MF && in endFunctionImpl() 2187 CurFn = nullptr; in endFunctionImpl() 2207 CurFn = nullptr; in endFunctionImpl() 2254 CurFn = nullptr; in endFunctionImpl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 87 if (getLangOpts().OpenMP && CurFn) in ~CodeGenFunction() 398 DI->EmitFunctionEnd(Builder, CurFn); in FinishFunction() 471 llvm::DominatorTree DT(*CurFn); in FinishFunction() 478 for (llvm::Argument &A : CurFn->args()) in FinishFunction() 706 assert(!CurFn && in StartFunction() 718 CurFn = Fn; in StartFunction() 850 CurFn->getName().bytes_begin(), CurFn->getName().bytes_end()); in StartFunction() 1061 auto AI = CurFn->arg_begin(); in StartFunction() 1352 PGO.assignRegionCounters(GD, CurFn); in GenerateCode() 1409 if (!CurFn->doesNotThrow()) in GenerateCode() [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() 456 auto *SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 544 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp() 547 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp() 735 CGF.createBasicBlock("atomic.scope.continue", CGF.CurFn); in EmitAtomicOp() 1346 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr() 1348 AcquireBB = createBasicBlock("acquire", CurFn); in EmitAtomicExpr() 1350 ReleaseBB = createBasicBlock("release", CurFn); in EmitAtomicExpr() 1352 AcqRelBB = createBasicBlock("acqrel", CurFn); in EmitAtomicExpr() [all …]
|
| H A D | CGException.cpp | 778 if (!CurFn->hasPersonalityFn()) in getInvokeDestImpl() 1517 if (!CurFn->hasPersonalityFn()) 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() 2046 CGM.SetInternalFunctionAttributes(GlobalDecl(), CurFn, FnInfo); in startOutlinedSEHHelper() 2067 return CurFn; in GenerateSEHFilterFunction() 2081 return CurFn; in GenerateSEHFinallyFunction() 2091 SEHInfo = &*CurFn->arg_begin(); in EmitSEHExceptionCodeSave() [all …]
|
| H A D | CGCUDANV.cpp | 299 EmittedKernels.push_back({CGF.CurFn, CGF.CurFuncDecl}); in emitDeviceStub() 300 if (auto *GV = dyn_cast<llvm::GlobalVariable>(KernelHandles[CGF.CurFn])) { in emitDeviceStub() 301 GV->setLinkage(CGF.CurFn->getLinkage()); in emitDeviceStub() 302 GV->setInitializer(CGF.CurFn); in emitDeviceStub() 384 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn], VoidPtrTy); in emitDeviceStubBodyNew() 440 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 | 539 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock() 541 CurFn->getBasicBlockList().push_back(BB); in EmitBlock() 566 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses() 574 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses() 1400 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange() 2527 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 | 1476 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in getThreadID() 1529 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) { in functionFinished() 1531 OpenMPLocThreadIDMap.erase(CGF.CurFn); in functionFinished() 1533 if (FunctionUDRMap.count(CGF.CurFn) > 0) { in functionFinished() 1536 FunctionUDRMap.erase(CGF.CurFn); in functionFinished() 1538 auto I = FunctionUDMMap.find(CGF.CurFn); in functionFinished() 1544 LastprivateConditionalToTypes.erase(CGF.CurFn); in functionFinished() 1545 FunctionToUntiedTaskStackMap.erase(CGF.CurFn); in functionFinished() 12401 Data.Fn = CGF.CurFn; 12418 Data.Fn = CGF.CurFn; in LastprivateConditionalRAII() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1347 auto I = Rt.FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first; in emitTeamsOutlinedFunction() 1380 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in emitGenericVarsProlog() 1458 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in emitGenericVarsEpilog() 3564 assert(FunctionGlobalizedDecls.count(CGF.CurFn) == 0 && in emitFunctionProlog() 3593 auto I = FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first; in emitFunctionProlog() 3678 auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in getAddressOfLocalVariable() 3700 FunctionGlobalizedDecls.erase(CGF.CurFn); in functionFinished()
|
| H A D | CGVTables.cpp | 192 CurFn = Fn; in GenerateVarArgsThunk() 400 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
|
| H A D | CGBuiltin.cpp | 3958 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 3959 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr() 3960 createBasicBlock("release", CurFn), in EmitBuiltinExpr() 3961 createBasicBlock("acqrel", CurFn), in EmitBuiltinExpr() 3962 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr() 4026 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 4027 createBasicBlock("release", CurFn), in EmitBuiltinExpr() 4028 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr() 4087 AcquireBB = createBasicBlock("acquire", CurFn); in EmitBuiltinExpr() 4089 AcqRelBB = createBasicBlock("acqrel", CurFn); in EmitBuiltinExpr() [all …]
|
| H A D | CGExprScalar.cpp | 2502 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec() 2735 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec() 3080 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue() 3107 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue() 3330 CGF.createBasicBlock("nooverflow", CGF.CurFn, initialBB->getNextNode()); in EmitOverflowCheckedBinOp() 3331 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
|
| H A D | CGClass.cpp | 1539 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody() 1689 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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_interface.cpp | 181 int32_t CurFn = 0; in findFunctionSleds() local 185 for (std::size_t I = 0; I < InstrMap.Entries && CurFn <= FuncId; I++) { in findFunctionSleds() 189 CurFn++; in findFunctionSleds() 193 if (CurFn == FuncId) { in findFunctionSleds()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 939 auto *CurFn = CodeGenIP.getBlock()->getParent(); in createSections() local 950 "omp_section_loop.body.case", CurFn); in createSections() 2045 Function *CurFn = EntryBB->getParent(); in emitCommonDirectiveEntry() local 2046 CurFn->getBasicBlockList().insertAfter(EntryBB->getIterator(), ThenBB); in emitCommonDirectiveEntry() 2117 Function *CurFn = OMP_Entry->getParent(); in createCopyinClauseBlocks() local 2119 BasicBlock::Create(M.getContext(), "copyin.not.master", CurFn); in createCopyinClauseBlocks() 2130 BasicBlock::Create(M.getContext(), "copyin.not.master.end", CurFn); in createCopyinClauseBlocks()
|
| /freebsd-13.1/contrib/llvm-project/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()
|