Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DWinCodeViewLineTables.cpp88 assert(CurFn); in maybeRecordLocation()
89 if (!CurFn->Instrs.empty()) { in maybeRecordLocation()
90 const InstrInfoTy &LastInstr = InstrInfo[CurFn->Instrs.back()]; in maybeRecordLocation()
98 CurFn->Instrs.push_back(MCL); in maybeRecordLocation()
103 : Asm(nullptr), CurFn(nullptr) { in WinCodeViewLineTables()
331 assert(!CurFn && "Can't process two functions at once!"); in beginFunction()
339 CurFn = &FnDebugInfo[GV]; in beginFunction()
371 if (!Asm || !CurFn) // We haven't created any debug info for this function. in endFunction()
376 assert(CurFn == &FnDebugInfo[GV]); in endFunction()
378 if (CurFn->Instrs.empty()) { in endFunction()
[all …]
DWinCodeViewLineTables.h42 } *CurFn; variable
109 assert(CurFn == nullptr); in clear()
DDwarfDebug.h251 const MachineFunction *CurFn; variable
597 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
DDwarfDebug.cpp216 CurFn = nullptr; in DwarfDebug()
626 assert(CurFn == nullptr); in endModule()
1097 CurFn = MF; in beginFunction()
1191 assert(CurFn == MF && in endFunction()
1200 CurFn = nullptr; in endFunction()
1229 CurFn = nullptr; in endFunction()
1265 CurFn = nullptr; in endFunction()
/external/clang/lib/CodeGen/
DCGException.cpp706 if (!CurFn->hasPersonalityFn()) in getInvokeDestImpl()
707 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality)); in getInvokeDestImpl()
1297 if (!CurFn->hasPersonalityFn()) in getTerminateLandingPad()
1298 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality)); in getTerminateLandingPad()
1511 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in recoverAddrOfEscapedLocal()
1563 auto AI = CurFn->arg_begin(); in EmitCapturedLocals()
1576 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals()
1658 llvm::Function *ParentFn = ParentCGF.CurFn; in startOutlinedSEHHelper()
1681 CGM.SetLLVMFunctionAttributes(nullptr, FnInfo, CurFn); in startOutlinedSEHHelper()
1702 return CurFn; in GenerateSEHFilterFunction()
[all …]
DCodeGenFunction.cpp44 CurFn(nullptr), ReturnValue(Address::invalid()), in CodeGenFunction()
269 return CGF.CurFn->getBasicBlockList().push_back(BB); in EmitIfUsed()
416 llvm::ConstantExpr::getBitCast(CurFn, PointerTy), in EmitFunctionInstrumentation()
651 assert(!CurFn && in StartFunction()
660 CurFn = Fn; in StartFunction()
662 assert(CurFn->isDeclaration() && "Function already has body?"); in StartFunction()
727 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction()
752 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
772 auto AI = CurFn->arg_begin(); in StartFunction()
780 llvm::Function::arg_iterator EI = CurFn->arg_end(); in StartFunction()
[all …]
DCGAtomic.cpp399 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg()
404 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg()
458 MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
460 AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
462 SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
464 llvm::BasicBlock *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn); in emitAtomicCmpXchgFailureSet()
527 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp()
528 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn); in EmitAtomicOp()
530 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp()
1088 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr()
[all …]
DCGCUDANV.cpp113 EmittedKernels.push_back(CGF.CurFn); in emitDeviceStub()
154 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
DCGStmt.cpp381 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock()
383 CurFn->getBasicBlockList().push_back(BB); in EmitBlock()
408 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses()
416 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses()
1098 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
DCGOpenMPRuntime.cpp412 assert(CGF.CurFn && "No function in current CodeGenFunction."); in emitUpdateLocation()
415 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in emitUpdateLocation()
425 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in emitUpdateLocation()
463 assert(CGF.CurFn && "No function in current CodeGenFunction."); in getThreadID()
468 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in getThreadID()
483 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID()
499 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID()
505 assert(CGF.CurFn && "No function in current CodeGenFunction."); in functionFinished()
506 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) in functionFinished()
507 OpenMPLocThreadIDMap.erase(CGF.CurFn); in functionFinished()
DCGBuiltin.cpp817 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn); in EmitBuiltinExpr()
828 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn); in EmitBuiltinExpr()
836 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn); in EmitBuiltinExpr()
847 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn); in EmitBuiltinExpr()
1353 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitBuiltinExpr()
1356 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr()
1357 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr()
1358 createBasicBlock("release", CurFn), in EmitBuiltinExpr()
1359 createBasicBlock("acqrel", CurFn), in EmitBuiltinExpr()
1360 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr()
[all …]
DCGVTables.cpp168 CurFn = Fn; in GenerateVarArgsThunk()
352 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
DCGExprScalar.cpp1690 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec()
1843 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec()
2172 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue()
2197 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue()
2380 llvm::BasicBlock *continueBB = CGF.createBasicBlock("nooverflow", CGF.CurFn, in EmitOverflowCheckedBinOp()
2382 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
DCGBlocks.cpp562 *new CGBlockInfo(block, CGF.CurFn->getName()); in enterBlockScope()
673 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
DCGClass.cpp1588 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody()
1713 CGF.CurFn->addFnAttr("disable-tail-calls", "true"); in Emit()
DCGObjCMac.cpp3728 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I) in FragileHazards()
3786 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) { in emitHazardsInNewBlocks()
3833 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock(); in collectLocals()
DCGExprConstant.cpp1075 FunctionName = CGF->CurFn->getName(); in EmitLValue()
DCGCall.cpp2390 llvm::Function::arg_iterator EI = CurFn->arg_end(); in EmitFunctionEpilog()
2400 auto AI = CurFn->arg_begin(); in EmitFunctionEpilog()
DCodeGenFunction.h153 llvm::Function *CurFn; variable
DCGObjC.cpp560 PGO.assignRegionCounters(GlobalDecl(OMD), CurFn); in GenerateObjCMethod()
DItaniumCXXABI.cpp1973 CGF.CurFn->setComdat(C); in EmitGuardedInit()
DCGExpr.cpp2248 StringRef FnName = CurFn->getName(); in EmitPredefinedLValue()
DMicrosoftCXXABI.cpp2328 llvm::Function *F = CGF.CurFn; in EmitGuardedInit()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1184 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() argument
1195 const WeakObjectUseMap &WeakMap = CurFn->getWeakObjectUses(); in diagnoseRepeatedUseOfWeak()
1269 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
1271 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()