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()
463 Function *FStub = Function::Create in createFPFnStub() local
466 FStub->addFnAttr("mips16_fp_stub"); in createFPFnStub()
467 FStub->addFnAttr(llvm::Attribute::Naked); in createFPFnStub()
468 FStub->addFnAttr(llvm::Attribute::NoUnwind); in createFPFnStub()
469 FStub->addFnAttr(llvm::Attribute::NoInline); in createFPFnStub()
470 FStub->addFnAttr("nomips16"); in createFPFnStub()
471 FStub->setSection(SectionName); in createFPFnStub()
472 BasicBlock *BB = BasicBlock::Create(Context, "entry", FStub); in createFPFnStub()
488 new UnreachableInst(FStub->getContext(), BB); in createFPFnStub()