Lines Matching refs:FStub
274 Function *FStub = M->getFunction(StubName); in assureFPCallStub() local
275 if (FStub && !FStub->isDeclaration()) return; in assureFPCallStub()
276 FStub = Function::Create(F.getFunctionType(), in assureFPCallStub()
278 FStub->addFnAttr("mips16_fp_stub"); in assureFPCallStub()
279 FStub->addFnAttr(llvm::Attribute::Naked); in assureFPCallStub()
280 FStub->addFnAttr(llvm::Attribute::NoInline); in assureFPCallStub()
281 FStub->addFnAttr(llvm::Attribute::NoUnwind); in assureFPCallStub()
282 FStub->addFnAttr("nomips16"); in assureFPCallStub()
283 FStub->setSection(SectionName); in assureFPCallStub()
284 BasicBlock *BB = BasicBlock::Create(Context, "entry", FStub); in assureFPCallStub()
285 FPReturnVariant RV = whichFPReturnVariant(FStub->getReturnType()); in assureFPCallStub()
471 Function *FStub = Function::Create in createFPFnStub() local
474 FStub->addFnAttr("mips16_fp_stub"); in createFPFnStub()
475 FStub->addFnAttr(llvm::Attribute::Naked); in createFPFnStub()
476 FStub->addFnAttr(llvm::Attribute::NoUnwind); in createFPFnStub()
477 FStub->addFnAttr(llvm::Attribute::NoInline); in createFPFnStub()
478 FStub->addFnAttr("nomips16"); in createFPFnStub()
479 FStub->setSection(SectionName); in createFPFnStub()
480 BasicBlock *BB = BasicBlock::Create(Context, "entry", FStub); in createFPFnStub()
496 new UnreachableInst(FStub->getContext(), BB); in createFPFnStub()