Home
last modified time | relevance | path

Searched refs:CurFn (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp476 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 DDwarfDebug.h311 const MachineFunction *CurFn = nullptr; variable
708 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
H A DDwarfDebug.cpp941 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 DCodeViewDebug.h185 FunctionInfo *CurFn = nullptr; variable
/freebsd-12.1/contrib/llvm/lib/XRay/
H A DInstrumentationMap.cpp132 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 DCodeGenFunction.cpp105 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 DCGAtomic.cpp384 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 DCGException.cpp731 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 DCGCUDANV.cpp191 EmittedKernels.push_back(CGF.CurFn); in emitDeviceStub()
223 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
H A DCGStmt.cpp457 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 DCGObjCRuntime.cpp210 llvm::Function *FinallyFunc = HelperCGF.CurFn; in EmitTryCatchStmt()
H A DCGVTables.cpp183 CurFn = Fn; in GenerateVarArgsThunk()
385 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
H A DCGOpenMPRuntime.cpp1329 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 DCGOpenMPRuntimeNVPTX.cpp2050 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 DCGBuiltin.cpp2775 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 DCGExprScalar.cpp2368 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 DCGClass.cpp1503 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody()
1653 CGF.CurFn->addFnAttr("disable-tail-calls", "true"); in Emit()
H A DCGObjCMac.cpp4150 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 DCGBlocks.cpp785 *new CGBlockInfo(block, CGF.CurFn->getName()); in enterBlockScope()
910 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
H A DCGExprConstant.cpp1834 functionName = CGF->CurFn->getName(); in VisitBlockExpr()
H A DCGCall.cpp2841 llvm::Function::arg_iterator EI = CurFn->arg_end(); in EmitFunctionEpilog()
2851 auto AI = CurFn->arg_begin(); in EmitFunctionEpilog()
H A DCGObjC.cpp656 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn); in GenerateObjCMethod()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DEntryExitInstrumenter.cpp21 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 DSemaCUDA.cpp903 FunctionDecl *CurFn = dyn_cast<FunctionDecl>(CurContext); in CUDASetLambdaAttrs() local
904 if (!CurFn) in CUDASetLambdaAttrs()
906 CUDAFunctionTarget Target = IdentifyCUDATarget(CurFn); in CUDASetLambdaAttrs()
H A DAnalysisBasedWarnings.cpp1331 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()

12