Searched refs:CurFn (Results 1 – 17 of 17) sorted by relevance
151 return CGF.CurFn->getBasicBlockList().push_back(BB); in EmitIfUsed()242 llvm::ConstantExpr::getBitCast(CurFn, PointerTy), in EmitFunctionInstrumentation()264 CurFn = Fn; in StartFunction()266 assert(CurFn->isDeclaration() && "Function already has body?"); in StartFunction()292 llvm::BasicBlock *EntryBB = createBasicBlock("entry", CurFn); in StartFunction()322 DI->EmitFunctionStart(GD, FnType, CurFn, Builder); in StartFunction()338 ReturnValue = CurFn->arg_begin(); in StartFunction()354 EmitFunctionProlog(*CurFnInfo, CurFn, Args); in StartFunction()474 if (!CurFn->doesNotThrow()) in GenerateCode()475 TryMarkNoThrow(CurFn); in GenerateCode()[all …]
117 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
482 BasicBlock *End = createBasicBlock("fpclassify_end", this->CurFn); in EmitBuiltinExpr()493 BasicBlock *NotZero = createBasicBlock("fpclassify_not_zero", this->CurFn); in EmitBuiltinExpr()501 BasicBlock *NotNan = createBasicBlock("fpclassify_not_nan", this->CurFn); in EmitBuiltinExpr()512 BasicBlock *NotInf = createBasicBlock("fpclassify_not_inf", this->CurFn); in EmitBuiltinExpr()1042 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitBuiltinExpr()1045 createBasicBlock("monotonic", CurFn), in EmitBuiltinExpr()1046 createBasicBlock("acquire", CurFn), in EmitBuiltinExpr()1047 createBasicBlock("release", CurFn), in EmitBuiltinExpr()1048 createBasicBlock("acqrel", CurFn), in EmitBuiltinExpr()1049 createBasicBlock("seqcst", CurFn) in EmitBuiltinExpr()[all …]
258 CurFn->getBasicBlockList().insertAfter(CurBB, BB); in EmitBlock()260 CurFn->getBasicBlockList().push_back(BB); in EmitBlock()286 CurFn->getBasicBlockList().insertAfter(insn->getParent(), block); in EmitBlockAfterUses()293 CurFn->getBasicBlockList().push_back(block); in EmitBlockAfterUses()863 CurFn->getBasicBlockList().push_back(CaseRangeBlock); in EmitCaseStmtRange()
1280 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitScalarPrePostIncDec()1411 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitScalarPrePostIncDec()1693 llvm::BasicBlock *opBB = CGF.createBasicBlock("atomic_op", CGF.CurFn); in EmitCompoundAssignLValue()1710 llvm::BasicBlock *contBB = CGF.createBasicBlock("atomic_cont", CGF.CurFn); in EmitCompoundAssignLValue()1759 CGF.createBasicBlock(isDiv ? "div.cont" : "rem.cont", CGF.CurFn, in EmitUndefinedBehaviorIntegerDivAndRemCheck()1761 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitUndefinedBehaviorIntegerDivAndRemCheck()1792 llvm::BasicBlock *DivCont = CGF.createBasicBlock("div.cont", CGF.CurFn, in EmitDiv()1795 CGF.CurFn); in EmitDiv()1872 llvm::BasicBlock *continueBB = CGF.createBasicBlock("nooverflow", CGF.CurFn, in EmitOverflowCheckedBinOp()1874 llvm::BasicBlock *overflowBB = CGF.createBasicBlock("overflow", CGF.CurFn); in EmitOverflowCheckedBinOp()
125 if (llvm::GlobalValue::isWeakForLinker(CurFn->getLinkage())) in EmitVarDecl()126 Linkage = CurFn->getLinkage(); in EmitVarDecl()165 ContextName = CGF.CurFn->getName(); in GetStaticDeclName()195 GV->setVisibility(CurFn->getVisibility()); in CreateStaticVarDecl()
1711 StringRef FnName = CurFn->getName(); in EmitPredefinedLValue()3107 MonotonicBB = createBasicBlock("monotonic", CurFn); in EmitAtomicExpr()3109 AcquireBB = createBasicBlock("acquire", CurFn); in EmitAtomicExpr()3111 ReleaseBB = createBasicBlock("release", CurFn); in EmitAtomicExpr()3113 AcqRelBB = createBasicBlock("acqrel", CurFn); in EmitAtomicExpr()3114 SeqCstBB = createBasicBlock("seqcst", CurFn); in EmitAtomicExpr()3115 llvm::BasicBlock *ContBB = createBasicBlock("atomic.continue", CurFn); in EmitAtomicExpr()
259 CurFn = Fn; in GenerateVarArgsThunk()
498 *new CGBlockInfo(block, CGF.CurFn->getName()); in enterBlockScope()610 CGBlockInfo blockInfo(blockExpr->getBlockDecl(), CurFn->getName()); in EmitBlockLiteral()
2895 I = CGF.CurFn->begin(), E = CGF.CurFn->end(); I != E; ++I) in FragileHazards()2951 FI = CGF.CurFn->begin(), FE = CGF.CurFn->end(); FI != FE; ++FI) { in emitHazardsInNewBlocks()2994 llvm::BasicBlock &Entry = CGF.CurFn->getEntryBlock(); in collectLocals()
1465 StoreComplexToAddr(RT, CurFn->arg_begin(), false); in EmitFunctionEpilog()1469 EmitStoreOfScalar(Builder.CreateLoad(ReturnValue), CurFn->arg_begin(), in EmitFunctionEpilog()
986 FunctionName = CGF->CurFn->getName(); in EmitLValue()
945 CurFn->addFnAttr(llvm::Attribute::AlwaysInline); in EmitDestructorBody()
574 llvm::Function *CurFn;
335 const Function *CurFn; member in __anonc80982e60111::JITEmitter365 : SizeEstimate(0), Resolver(jit, *this), MMI(0), CurFn(0), in JITEmitter()833 CurFn = F.getFunction(); in finishFunction()885 CurFn = 0; in finishFunction()
535 bool DIVariable::isInlinedFnArgument(const Function *CurFn) { in isInlinedFnArgument() argument536 assert(CurFn && "Invalid function"); in isInlinedFnArgument()541 return !(DISubprogram(getContext()).describes(CurFn)); in isInlinedFnArgument()
707 bool isInlinedFnArgument(const Function *CurFn);