/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 93 uint64_t CurFn = 0; in loadELF64() local 118 if (CurFn == 0) { in loadELF64() 119 CurFn = Entry.Function; in loadELF64() 123 if (Entry.Function != CurFn) { in loadELF64() 125 CurFn = Entry.Function; in loadELF64()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 40 : DebugHandlerBase(AP), OS(*Asm->OutStreamer), CurFn(nullptr) { in CodeViewDebug() 120 auto SiteInsertion = CurFn->InlineSites.insert({InlinedAt, InlineSite()}); in getInlineSite() 296 CurFn->Locals.emplace_back(Var); in recordLocalVariable() 310 if (DL == CurFn->LastLoc) in maybeRecordLocation() 327 if (!CurFn->HaveLineInfo) in maybeRecordLocation() 328 CurFn->HaveLineInfo = true; in maybeRecordLocation() 330 if (CurFn->LastLoc.get() && CurFn->LastLoc->getFile() == DL->getFile()) in maybeRecordLocation() 331 FileId = CurFn->LastFileId; in maybeRecordLocation() 333 FileId = CurFn->LastFileId = maybeRecordFile(DL->getFile()); in maybeRecordLocation() 334 CurFn->LastLoc = DL; in maybeRecordLocation() [all …]
|
D | DwarfDebug.h | 222 const MachineFunction *CurFn; variable 557 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
|
D | DwarfDebug.cpp | 217 CurFn = nullptr; in DwarfDebug() 610 assert(CurFn == nullptr); in endModule() 1039 CurFn = MF; in beginFunction() 1092 assert(CurFn == MF && in endFunction() 1102 CurFn = nullptr; in endFunction() 1134 CurFn = nullptr; in endFunction() 1168 CurFn = nullptr; in endFunction()
|
D | CodeViewDebug.h | 103 FunctionInfo *CurFn; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.cpp | 202 auto SiteInsertion = CurFn->InlineSites.insert({InlinedAt, InlineSite()}); in getInlineSite() 205 unsigned ParentFuncId = CurFn->FuncId; in getInlineSite() 417 if (!CurFn->HaveLineInfo) in maybeRecordLocation() 418 CurFn->HaveLineInfo = true; in maybeRecordLocation() 421 FileId = CurFn->LastFileId; in maybeRecordLocation() 423 FileId = CurFn->LastFileId = maybeRecordFile(DL->getFile()); in maybeRecordLocation() 426 unsigned FuncId = CurFn->FuncId; in maybeRecordLocation() 445 addLocIfNotPresent(CurFn->ChildSites, Loc); in maybeRecordLocation() 1234 CurFn = Insertion.first->second.get(); in beginFunctionImpl() 1235 CurFn->FuncId = NextFuncId++; in beginFunctionImpl() [all …]
|
D | DwarfDebug.h | 234 const MachineFunction *CurFn = nullptr; variable 623 const MachineFunction *getCurrentFunction() const { return CurFn; } in getCurrentFunction()
|
D | DwarfDebug.cpp | 850 assert(CurFn == nullptr); in endModule() 1370 CurFn = MF; in beginFunctionImpl() 1403 CurFn = nullptr; in skippedNonDebugFunction() 1410 assert(CurFn == MF && in endFunctionImpl() 1434 CurFn = nullptr; in endFunctionImpl() 1471 CurFn = nullptr; in endFunctionImpl()
|
D | CodeViewDebug.h | 149 FunctionInfo *CurFn = nullptr; variable
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 44 CurFn(nullptr), ReturnValue(Address::invalid()), in CodeGenFunction() 270 return CGF.CurFn->getBasicBlockList().push_back(BB); in EmitIfUsed() 424 llvm::ConstantExpr::getBitCast(CurFn, PointerTy), in EmitFunctionInstrumentation() 660 assert(!CurFn && in StartFunction() 672 CurFn = Fn; in StartFunction() 674 assert(CurFn->isDeclaration() && "Function already has body?"); in StartFunction() 765 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction() 791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction() 811 auto AI = CurFn->arg_begin(); in StartFunction() 819 llvm::Function::arg_iterator EI = CurFn->arg_end(); in StartFunction() [all …]
|
D | CGException.cpp | 708 if (!CurFn->hasPersonalityFn()) in getInvokeDestImpl() 709 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality)); in getInvokeDestImpl() 1299 if (!CurFn->hasPersonalityFn()) in getTerminateLandingPad() 1300 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() 1657 llvm::Function *ParentFn = ParentCGF.CurFn; in startOutlinedSEHHelper() 1681 CGM.SetLLVMFunctionAttributes(nullptr, FnInfo, CurFn); in startOutlinedSEHHelper() 1702 return CurFn; in GenerateSEHFilterFunction() [all …]
|
D | CGAtomic.cpp | 380 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn); in emitAtomicCmpXchg() 385 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in emitAtomicCmpXchg() 445 MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 448 AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 450 SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 452 llvm::BasicBlock *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn); in emitAtomicCmpXchgFailureSet() 515 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn); in EmitAtomicOp() 516 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn); in EmitAtomicOp() 518 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn); in EmitAtomicOp() 1075 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr() [all …]
|
D | CGCUDANV.cpp | 115 EmittedKernels.push_back(CGF.CurFn); in emitDeviceStub() 156 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
|
D | CGStmt.cpp | 411 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB); in EmitBlock() 413 CurFn->getBasicBlockList().push_back(BB); in EmitBlock() 438 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(), in EmitBlockAfterUses() 446 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses() 1151 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
|
D | CGOpenMPRuntime.cpp | 808 auto &Decls = FunctionUDRMap.FindAndConstruct(CGF->CurFn); in emitUserDefinedReduction() 935 assert(CGF.CurFn && "No function in current CodeGenFunction."); in emitUpdateLocation() 938 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in emitUpdateLocation() 948 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in emitUpdateLocation() 986 assert(CGF.CurFn && "No function in current CodeGenFunction."); in getThreadID() 991 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn); in getThreadID() 1006 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 1022 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn); in getThreadID() 1028 assert(CGF.CurFn && "No function in current CodeGenFunction."); in functionFinished() 1029 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) in functionFinished() [all …]
|
D | CGVTables.cpp | 166 CurFn = Fn; in GenerateVarArgsThunk() 349 for (llvm::Argument &A : CurFn->args()) in EmitMustTailThunk()
|
D | CGBuiltin.cpp | 910 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn); in EmitBuiltinExpr() 921 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn); in EmitBuiltinExpr() 929 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn); in EmitBuiltinExpr() 940 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn); in EmitBuiltinExpr() 1441 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitBuiltinExpr() 1444 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr() 1445 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr() 1446 createBasicBlock("release", CurFn), in EmitBuiltinExpr() 1447 createBasicBlock("acqrel", CurFn), in EmitBuiltinExpr() 1448 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr() [all …]
|
D | CGExprScalar.cpp | 1673 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec() 1830 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec() 2159 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue() 2184 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue() 2367 llvm::BasicBlock *continueBB = CGF.createBasicBlock("nooverflow", CGF.CurFn, in EmitOverflowCheckedBinOp() 2369 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
|
D | CGBlocks.cpp | 567 *new CGBlockInfo(block, CGF.CurFn->getName()); in enterBlockScope() 678 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
|
D | CGClass.cpp | 1584 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody() 1711 CGF.CurFn->addFnAttr("disable-tail-calls", "true"); in Emit()
|
D | CGObjCMac.cpp | 3795 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I) in FragileHazards() 3853 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) { in emitHazardsInNewBlocks() 3900 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock(); in collectLocals()
|
D | CGExprConstant.cpp | 1088 FunctionName = CGF->CurFn->getName(); in EmitLValue()
|
D | CGCall.cpp | 2690 llvm::Function::arg_iterator EI = CurFn->arg_end(); in EmitFunctionEpilog() 2700 auto AI = CurFn->arg_begin(); in EmitFunctionEpilog()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
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()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 1204 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak() argument 1215 const WeakObjectUseMap &WeakMap = CurFn->getWeakObjectUses(); in diagnoseRepeatedUseOfWeak() 1289 if (isa<sema::BlockScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak() 1291 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|