| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 476 if (!CurFn->HaveLineInfo) in maybeRecordLocation() 477 CurFn->HaveLineInfo = true; in maybeRecordLocation() 480 FileId = CurFn->LastFileId; in maybeRecordLocation() 485 unsigned FuncId = CurFn->FuncId; in maybeRecordLocation() 1286 CurFn->FuncId = NextFuncId++; in beginFunctionImpl() 1301 if (CurFn->FrameSize > 0) { in beginFunctionImpl() 1347 CurFn->FrameProcOpts = FPO; in beginFunctionImpl() 2057 assert(CurFn == nullptr); in clear() 2800 CurFn = nullptr; in endFunctionImpl() 2806 CurFn->End = Asm->getFunctionEnd(); in endFunctionImpl() [all …]
|
| H A D | DwarfDebug.h | 311 const MachineFunction *CurFn = nullptr; variable 708 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
|
| H A D | DwarfDebug.cpp | 941 assert(CurFn == nullptr); in endModule() 1527 CurFn = MF; in beginFunctionImpl() 1560 CurFn = nullptr; in skippedNonDebugFunction() 1567 assert(CurFn == MF && in endFunctionImpl() 1578 CurFn = nullptr; in endFunctionImpl() 1596 CurFn = nullptr; in endFunctionImpl() 1643 CurFn = nullptr; in endFunctionImpl()
|
| H A D | CodeViewDebug.h | 185 FunctionInfo *CurFn = nullptr; variable
|
| /freebsd-12.1/contrib/llvm/lib/XRay/ |
| H A D | InstrumentationMap.cpp | 132 uint64_t CurFn = 0; in loadObj() local 159 if (CurFn == 0) { in loadObj() 160 CurFn = Entry.Function; in loadObj() 164 if (Entry.Function != CurFn) { in loadObj() 166 CurFn = Entry.Function; in loadObj()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 105 if (getLangOpts().OpenMP && CurFn) in ~CodeGenFunction() 354 DI->EmitFunctionEnd(Builder, CurFn); in FinishFunction() 427 llvm::DominatorTree DT(*CurFn); in FinishFunction() 434 for (llvm::Argument &A : CurFn->args()) in FinishFunction() 833 assert(!CurFn && in StartFunction() 845 CurFn = Fn; in StartFunction() 1079 auto AI = CurFn->arg_begin(); in StartFunction() 1352 PGO.assignRegionCounters(GD, CurFn); in GenerateCode() 1409 if (!CurFn->doesNotThrow()) in GenerateCode() 1410 TryMarkNoThrow(CurFn); in GenerateCode() [all …]
|
| H A D | CGAtomic.cpp | 384 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg() 389 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg() 455 SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 524 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp() 527 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp() 697 CGF.createBasicBlock("atomic.scope.continue", CGF.CurFn); in EmitAtomicOp() 1262 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr() 1264 AcquireBB = createBasicBlock("acquire", CurFn); in EmitAtomicExpr() 1266 ReleaseBB = createBasicBlock("release", CurFn); in EmitAtomicExpr() 1268 AcqRelBB = createBasicBlock("acqrel", CurFn); in EmitAtomicExpr() [all …]
|
| H A D | CGException.cpp | 731 if (!CurFn->hasPersonalityFn()) in getInvokeDestImpl() 1473 if (!CurFn->hasPersonalityFn()) in getTerminateLandingPad() 1633 FP = &CGF.CurFn->arg_begin()[1]; in Emit() 1729 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in recoverAddrOfEscapedLocal() 1781 auto AI = CurFn->arg_begin(); in EmitCapturedLocals() 1794 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 1889 CGM.SetLLVMFunctionAttributes(GlobalDecl(), FnInfo, CurFn); in startOutlinedSEHHelper() 1910 return CurFn; in GenerateSEHFilterFunction() 1924 return CurFn; in GenerateSEHFinallyFunction() 1934 SEHInfo = &*CurFn->arg_begin(); in EmitSEHExceptionCodeSave() [all …]
|
| H A D | CGCUDANV.cpp | 191 EmittedKernels.push_back(CGF.CurFn); in emitDeviceStub() 223 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
|
| H A D | CGStmt.cpp | 457 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock() 459 CurFn->getBasicBlockList().push_back(BB); in EmitBlock() 484 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses() 492 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses() 1191 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
|
| H A D | CGObjCRuntime.cpp | 210 llvm::Function *FinallyFunc = HelperCGF.CurFn; in EmitTryCatchStmt()
|
| H A D | CGVTables.cpp | 183 CurFn = Fn; in GenerateVarArgsThunk() 385 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
|
| H A D | CGOpenMPRuntime.cpp | 1329 auto &Decls = FunctionUDRMap.FindAndConstruct(CGF->CurFn); in emitUserDefinedReduction() 1506 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in setLocThreadIdInsertPt() 1521 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in clearLocThreadIdInsertPt() 1542 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in emitUpdateLocation() 1597 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in getThreadID() 1628 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 1643 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) { in functionFinished() 1645 OpenMPLocThreadIDMap.erase(CGF.CurFn); in functionFinished() 1647 if (FunctionUDRMap.count(CGF.CurFn) > 0) { in functionFinished() 1648 for(auto *D : FunctionUDRMap[CGF.CurFn]) in functionFinished() [all …]
|
| H A D | CGOpenMPRuntimeNVPTX.cpp | 2050 auto I = Rt.FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first; in emitTeamsOutlinedFunction() 2090 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in emitGenericVarsProlog() 2371 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in emitGenericVarsEpilog() 4195 assert(FunctionGlobalizedDecls.count(CGF.CurFn) == 0 && in emitFunctionProlog() 4224 auto I = FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first; in emitFunctionProlog() 4273 auto I = FunctionGlobalizedDecls.find(CGF.CurFn); in getAddressOfLocalVariable() 4294 FunctionGlobalizedDecls.erase(CGF.CurFn); in functionFinished()
|
| H A D | CGBuiltin.cpp | 2775 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 2776 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr() 2777 createBasicBlock("release", CurFn), in EmitBuiltinExpr() 2778 createBasicBlock("acqrel", CurFn), in EmitBuiltinExpr() 2779 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr() 2843 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 2844 createBasicBlock("release", CurFn), in EmitBuiltinExpr() 2845 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr() 2904 AcquireBB = createBasicBlock("acquire", CurFn); in EmitBuiltinExpr() 2906 AcqRelBB = createBasicBlock("acqrel", CurFn); in EmitBuiltinExpr() [all …]
|
| H A D | CGExprScalar.cpp | 2368 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec() 2531 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec() 2859 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue() 2885 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue() 3079 CGF.createBasicBlock("nooverflow", CGF.CurFn, initialBB->getNextNode()); in EmitOverflowCheckedBinOp() 3080 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
|
| H A D | CGClass.cpp | 1503 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody() 1653 CGF.CurFn->addFnAttr("disable-tail-calls", "true"); in Emit()
|
| H A D | CGObjCMac.cpp | 4150 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I) in FragileHazards() 4208 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) { in emitHazardsInNewBlocks() 4251 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock(); in collectLocals()
|
| H A D | CGBlocks.cpp | 785 *new CGBlockInfo(block, CGF.CurFn->getName()); in enterBlockScope() 910 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
|
| H A D | CGExprConstant.cpp | 1834 functionName = CGF->CurFn->getName(); in VisitBlockExpr()
|
| H A D | CGCall.cpp | 2841 llvm::Function::arg_iterator EI = CurFn->arg_end(); in EmitFunctionEpilog() 2851 auto AI = CurFn->arg_begin(); in EmitFunctionEpilog()
|
| H A D | CGObjC.cpp | 656 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn); in GenerateObjCMethod()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | EntryExitInstrumenter.cpp | 21 static void insertCall(Function &CurFn, StringRef Func, in insertCall() argument 52 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 903 FunctionDecl *CurFn = dyn_cast<FunctionDecl>(CurContext); in CUDASetLambdaAttrs() local 904 if (!CurFn) in CUDASetLambdaAttrs() 906 CUDAFunctionTarget Target = IdentifyCUDATarget(CurFn); in CUDASetLambdaAttrs()
|
| H A D | AnalysisBasedWarnings.cpp | 1331 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() argument 1342 const WeakObjectUseMap &WeakMap = CurFn->getWeakObjectUses(); in diagnoseRepeatedUseOfWeak() 1416 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1418 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|