HomeSort by: relevance | last modified time | path
    Searched refs:CurFn (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/XRay/
InstrumentationMap.cpp 169 uint64_t CurFn = 0;
207 if (CurFn == 0) {
208 CurFn = Entry.Function;
212 if (Entry.Function != CurFn) {
214 CurFn = Entry.Function;
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenFunction.cpp 87 if (getLangOpts().OpenMP && CurFn)
95 if (CGM.getLangOpts().OpenMPIRBuilder && CurFn)
96 CGM.getOpenMPRuntime().getOMPBuilder().finalize(CurFn);
178 CGF.CurFn->getFnAttribute(Name).getValueAsBool();
181 CGF.CurFn->addFnAttr(Name, llvm::toStringRef(NewValue));
331 return CGF.CurFn->getBasicBlockList().push_back(BB);
390 CurFn->addFnAttr("instrument-function-exit", "__cyg_profile_func_exit");
392 CurFn->addFnAttr("instrument-function-exit-inlined",
398 DI->EmitFunctionEnd(Builder, CurFn);
471 llvm::DominatorTree DT(*CurFn);
    [all...]
CodeGenABITypes.cpp 126 CGF.CurFn = InsertBlock->getParent();
CGAtomic.cpp 390 CGF.createBasicBlock("cmpxchg.store_expected", CGF.CurFn);
395 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn);
454 auto *MonotonicBB = CGF.createBasicBlock("monotonic_fail", CGF.CurFn);
455 auto *AcquireBB = CGF.createBasicBlock("acquire_fail", CGF.CurFn);
456 auto *SeqCstBB = CGF.createBasicBlock("seqcst_fail", CGF.CurFn);
457 auto *ContBB = CGF.createBasicBlock("atomic.continue", CGF.CurFn);
544 CGF.createBasicBlock("cmpxchg.strong", CGF.CurFn);
545 llvm::BasicBlock *WeakBB = CGF.createBasicBlock("cmxchg.weak", CGF.CurFn);
547 CGF.createBasicBlock("cmpxchg.continue", CGF.CurFn);
732 BB[S] = CGF.createBasicBlock(getAsString(ScopeModel->map(S)), CGF.CurFn);
    [all...]
CGException.cpp 778 if (!CurFn->hasPersonalityFn())
779 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality));
1517 if (!CurFn->hasPersonalityFn())
1518 CurFn->setPersonalityFn(getOpaquePersonalityFn(CGM, Personality));
1713 FP = &CGF.CurFn->arg_begin()[1];
1820 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
1873 auto AI = CurFn->arg_begin();
1886 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
1923 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy);
2046 CGM.SetInternalFunctionAttributes(GlobalDecl(), CurFn, FnInfo)
    [all...]
CGCUDANV.cpp 292 EmittedKernels.push_back({CGF.CurFn, CGF.CurFuncDecl});
293 if (auto *GV = dyn_cast<llvm::GlobalVariable>(KernelHandles[CGF.CurFn])) {
294 GV->setLinkage(CGF.CurFn->getLinkage());
295 GV->setInitializer(CGF.CurFn);
376 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn], VoidPtrTy);
432 CGF.Builder.CreatePointerCast(KernelHandles[CGF.CurFn], CharPtrTy);
CGStmt.cpp 536 CurFn->getBasicBlockList().insertAfter(CurBB->getIterator(), BB);
538 CurFn->getBasicBlockList().push_back(BB);
563 CurFn->getBasicBlockList().insertAfter(insn->getParent()->getIterator(),
571 CurFn->getBasicBlockList().push_back(block);
1362 CurFn->getBasicBlockList().push_back(CaseRangeBlock);
2483 llvm::BlockAddress::get(CurFn, Dest.getBlock());
CGObjCRuntime.cpp 208 llvm::Function *FinallyFunc = HelperCGF.CurFn;
CGOpenMPRuntime.cpp 1190 auto &Decls = FunctionUDRMap.FindAndConstruct(CGF->CurFn);
1396 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1411 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1457 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1472 auto I = OpenMPLocThreadIDMap.find(CGF.CurFn);
1497 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1509 auto &Elem = OpenMPLocThreadIDMap.FindAndConstruct(CGF.CurFn);
1524 assert(CGF.CurFn && "No function in current CodeGenFunction.");
1525 if (OpenMPLocThreadIDMap.count(CGF.CurFn)) {
1527 OpenMPLocThreadIDMap.erase(CGF.CurFn);
    [all...]
CGVTables.cpp 192 CurFn = Fn;
400 for (llvm::Argument &A : CurFn->args())
CGOpenMPRuntimeGPU.cpp 1681 auto I = Rt.FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first;
1717 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn);
2006 const auto I = FunctionGlobalizedDecls.find(CGF.CurFn);
4154 assert(FunctionGlobalizedDecls.count(CGF.CurFn) == 0 &&
4183 auto I = FunctionGlobalizedDecls.try_emplace(CGF.CurFn).first;
4274 auto I = FunctionGlobalizedDecls.find(CGF.CurFn);
4296 FunctionGlobalizedDecls.erase(CGF.CurFn);
CGExprScalar.cpp 2494 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn);
2725 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn);
3070 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn);
3097 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn);
3320 CGF.createBasicBlock("nooverflow", CGF.CurFn, initialBB->getNextNode());
3321 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn);
CGBuiltin.cpp 1445 BasicBlock *End = createBasicBlock("bitscan_end", this->CurFn);
1451 BasicBlock *NotZero = createBasicBlock("bitscan_not_zero", this->CurFn);
3174 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn);
3185 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn);
3193 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn);
3204 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn);
3874 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn);
3877 createBasicBlock("monotonic", CurFn),
3878 createBasicBlock("acquire", CurFn),
3879 createBasicBlock("release", CurFn),
    [all...]
CGClass.cpp 1542 CurFn->addFnAttr(llvm::Attribute::AlwaysInline);
1692 CGF.CurFn->addFnAttr("disable-tail-calls", "true");
CGObjCMac.cpp 4400 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I)
4458 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) {
4502 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock();
CGExprConstant.cpp 2006 functionName = CGF->CurFn->getName();
CodeGenFunction.h 326 llvm::Function *CurFn = nullptr;
1488 !CurFn->hasFnAttribute(llvm::Attribute::NoProfile))
CGCall.cpp 3431 llvm::Function::arg_iterator EI = CurFn->arg_end();
3443 auto AI = CurFn->arg_begin();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
EntryExitInstrumenter.cpp 24 static void insertCall(Function &CurFn, StringRef Func,
55 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)),
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
CodeViewDebug.cpp 243 auto SiteInsertion = CurFn->InlineSites.insert({InlinedAt, InlineSite()});
246 unsigned ParentFuncId = CurFn->FuncId;
522 if (!CurFn->HaveLineInfo)
523 CurFn->HaveLineInfo = true;
526 FileId = CurFn->LastFileId;
528 FileId = CurFn->LastFileId = maybeRecordFile(DL->getFile());
531 unsigned FuncId = CurFn->FuncId;
550 addLocIfNotPresent(CurFn->ChildSites, Loc);
1373 CurFn = Insertion.first->second.get();
1374 CurFn->FuncId = NextFuncId++
    [all...]
DwarfDebug.h 325 const MachineFunction *CurFn = nullptr;
812 const MachineFunction *getCurrentFunction() const { return CurFn; }
CodeViewDebug.h 187 FunctionInfo *CurFn = nullptr;
DwarfDebug.cpp 1427 assert(CurFn == nullptr);
2091 CurFn = MF;
2119 CurFn = nullptr;
2126 assert(CurFn == MF &&
2137 CurFn = nullptr;
2157 CurFn = nullptr;
2204 CurFn = nullptr;
  /src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
OMPIRBuilder.cpp 926 auto *CurFn = CodeGenIP.getBlock()->getParent();
937 "omp_section_loop.body.case", CurFn);
2034 Function *CurFn = EntryBB->getParent();
2035 CurFn->getBasicBlockList().insertAfter(EntryBB->getIterator(), ThenBB);
2106 Function *CurFn = OMP_Entry->getParent();
2108 BasicBlock::Create(M.getContext(), "copyin.not.master", CurFn);
2119 BasicBlock::Create(M.getContext(), "copyin.not.master.end", CurFn);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
AnalysisBasedWarnings.cpp 1354 const sema::FunctionScopeInfo *CurFn,
1365 const WeakObjectUseMap &WeakMap = CurFn->getWeakObjectUses();
1439 if (isa<sema::BlockScopeInfo>(CurFn))
1441 else if (isa<sema::LambdaScopeInfo>(CurFn))

Completed in 107 milliseconds

1 2