/external/llvm/lib/CodeGen/AsmPrinter/ |
D | WinCodeViewLineTables.cpp | 89 assert(CurFn); in maybeRecordLocation() 90 if (!CurFn->Instrs.empty()) { in maybeRecordLocation() 91 const InstrInfoTy &LastInstr = InstrInfo[CurFn->Instrs.back()]; in maybeRecordLocation() 99 CurFn->Instrs.push_back(MCL); in maybeRecordLocation() 104 : Asm(nullptr), CurFn(nullptr) { in WinCodeViewLineTables() 316 assert(!CurFn && "Can't process two functions at once!"); in beginFunction() 324 CurFn = &FnDebugInfo[GV]; in beginFunction() 356 if (!Asm || !CurFn) // We haven't created any debug info for this function. in endFunction() 361 assert(CurFn == &FnDebugInfo[GV]); in endFunction() 363 if (CurFn->Instrs.empty()) { in endFunction() [all …]
|
D | WinCodeViewLineTables.h | 42 } *CurFn; variable 107 assert(CurFn == nullptr); in clear()
|
D | DwarfDebug.h | 244 const MachineFunction *CurFn; variable 606 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
|
D | DwarfDebug.cpp | 208 CurFn = nullptr; in DwarfDebug() 602 assert(CurFn == nullptr); in endModule() 1076 CurFn = MF; in beginFunction() 1170 assert(CurFn == MF && in endFunction() 1179 CurFn = nullptr; in endFunction() 1208 CurFn = nullptr; in endFunction() 1244 CurFn = nullptr; in endFunction()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 40 CurFn(nullptr), CapturedStmtInfo(nullptr), in CodeGenFunction() 212 return CGF.CurFn->getBasicBlockList().push_back(BB); in EmitIfUsed() 358 llvm::ConstantExpr::getBitCast(CurFn, PointerTy), in EmitFunctionInstrumentation() 593 assert(!CurFn && in StartFunction() 602 CurFn = Fn; in StartFunction() 604 assert(CurFn->isDeclaration() && "Function already has body?"); in StartFunction() 645 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction() 670 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction() 690 auto AI = CurFn->arg_begin(); in StartFunction() 698 llvm::Function::arg_iterator EI = CurFn->arg_end(); in StartFunction() [all …]
|
D | CGAtomic.cpp | 363 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg() 368 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg() 424 MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 426 AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 428 SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 430 llvm::BasicBlock *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 494 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp() 495 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn); in EmitAtomicOp() 497 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp() 984 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr() [all …]
|
D | CGException.cpp | 1381 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 1447 llvm::Function *ParentFn = ParentCGF.CurFn; in startOutlinedSEHHelper() 1470 CGM.SetLLVMFunctionAttributes(nullptr, FnInfo, CurFn); in startOutlinedSEHHelper() 1510 CurFn->addFnAttr(llvm::Attribute::NoUnwind); in GenerateSEHFilterFunction() 1511 CurFn->addFnAttr(llvm::Attribute::NoInline); in GenerateSEHFilterFunction() 1523 return CurFn; in GenerateSEHFilterFunction() 1558 return CurFn; in GenerateSEHFinallyFunction() 1604 auto AI = CurFn->arg_begin(); in EmitSEHAbnormalTermination()
|
D | CGOpenMPRuntime.cpp | 341 assert(CGF.CurFn && "No function in current CodeGenFunction."); in emitUpdateLocation() 344 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in emitUpdateLocation() 353 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in emitUpdateLocation() 391 assert(CGF.CurFn && "No function in current CodeGenFunction."); in getThreadID() 396 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in getThreadID() 411 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 427 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 433 assert(CGF.CurFn && "No function in current CodeGenFunction."); in functionFinished() 434 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) in functionFinished() 435 OpenMPLocThreadIDMap.erase(CGF.CurFn); in functionFinished()
|
D | CGCUDANV.cpp | 116 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
|
D | CGStmt.cpp | 353 CurFn->getBasicBlockList().insertAfter(CurBB, BB); in EmitBlock() 355 CurFn->getBasicBlockList().push_back(BB); in EmitBlock() 380 CurFn->getBasicBlockList().insertAfter(insn->getParent(), block); in EmitBlockAfterUses() 387 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses() 1186 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
|
D | CGBuiltin.cpp | 637 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn); in EmitBuiltinExpr() 648 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn); in EmitBuiltinExpr() 656 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn); in EmitBuiltinExpr() 667 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn); in EmitBuiltinExpr() 1216 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitBuiltinExpr() 1219 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 1220 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr() 1221 createBasicBlock("release", CurFn), in EmitBuiltinExpr() 1222 createBasicBlock("acqrel", CurFn), in EmitBuiltinExpr() 1223 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr() [all …]
|
D | CGVTables.cpp | 151 CurFn = Fn; in GenerateVarArgsThunk() 317 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
|
D | CGExprScalar.cpp | 1686 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec() 1846 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec() 2166 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue() 2189 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue() 2372 llvm::BasicBlock *continueBB = CGF.createBasicBlock("nooverflow", CGF.CurFn, in EmitOverflowCheckedBinOp() 2374 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
|
D | CGBlocks.cpp | 577 *new CGBlockInfo(block, CGF.CurFn->getName()); in enterBlockScope() 688 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
|
D | CGObjCMac.cpp | 3517 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I) in FragileHazards() 3575 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) { in emitHazardsInNewBlocks() 3618 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock(); in collectLocals()
|
D | CGExprConstant.cpp | 971 FunctionName = CGF->CurFn->getName(); in EmitLValue()
|
D | CGCall.cpp | 2274 llvm::Function::arg_iterator EI = CurFn->arg_end(); in EmitFunctionEpilog() 2284 auto AI = CurFn->arg_begin(); in EmitFunctionEpilog()
|
D | CGClass.cpp | 1428 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody()
|
D | CodeGenFunction.h | 150 llvm::Function *CurFn; variable
|
D | CGObjC.cpp | 498 PGO.assignRegionCounters(OMD, CurFn); in GenerateObjCMethod()
|
D | ItaniumCXXABI.cpp | 1798 CGF.CurFn->setComdat(C); in EmitGuardedInit()
|
D | CGExpr.cpp | 2110 StringRef FnName = CurFn->getName(); in EmitPredefinedLValue()
|
D | MicrosoftCXXABI.cpp | 2025 llvm::Function *F = CGF.CurFn; in EmitGuardedInit()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1175 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() argument 1186 const WeakObjectUseMap &WeakMap = CurFn->getWeakObjectUses(); in diagnoseRepeatedUseOfWeak() 1260 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1262 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|