Home | History | Annotate | Download | only in src

Lines Matching refs:Func

514       for (Ice::FunctionDeclaration *Func : FunctionDeclarations) {
515 installDeclarationName(Func, FunctionPrefix, "function", NameIndex);
546 for (const Ice::FunctionDeclaration *Func : FunctionDeclarations) {
547 if (!Func->verifyLinkageCorrect(Ctx))
548 reportLinkageError("Function", *Func);
549 Ice::Constant *C = getConstantSym(Func->getName(), Func->isProto());
1361 Func(nullptr), FuncDecl(Context->getFunctionByID(FcnId)),
1369 Func(nullptr), FuncDecl(Context->getFunctionByID(FcnId)),
1381 Func = Ice::Cfg::create(Ctx, SeqNumber);
1383 Ice::CfgLocalAllocatorScope _(Func.get());
1388 Func->setFunctionName(FuncDecl->getName());
1389 Func->setReturnType(Signature.getReturnType());
1390 Func->setInternal(FuncDecl->getLinkage() == GlobalValue::InternalLinkage);
1392 Func->setEntryNode(CurrentNode);
1394 Func->addArg(getNextInstVar(ArgType));
1401 Func->setError("Unable to parse function");
1403 return std::move(Func);
1410 Ice::Cfg *getFunc() const { return Func.get(); }
1443 std::unique_ptr<Ice::Cfg> Func;
1478 Ice::CfgNode *Node = Func->makeNode();
1484 if (Index >= Func->getNumNodes()) {
1488 << " not found. Must be less than " << Func->getNumNodes();
1492 return Func->getNodes()[Index];
1512 return Func->makeVariable(Ty);
2091 CurrentNode->appendInst(Ice::InstAssign::create(Func.get(), Var, Var));
2128 CurrentNode->appendInst(Ice::InstUnreachable::create(Func.get()));
2141 for (Ice::CfgNode *Node : Func->getNodes()) {
2147 Node->appendInst(Ice::InstUnreachable::create(Func.get()));
2151 Func->computeInOutEdges();
2238 Func.get(), Opcode, getNextInstVar(Type1), Op1, Op2));
2253 Func.get(), CastKind, getNextInstVar(CastType), Src));
2297 Func.get(), getNextInstVar(ThenType), CondVal, ThenVal, ElseVal));
2319 Func.get(), getNextInstVar(typeElementType(VecType)), Vec, Index));
2353 Func.get(), getNextInstVar(VecType), Vec, Elt, Index));
2393 Ice::InstIcmp::create(Func.get(), Cond, Dest, Op1, Op2));
2405 Ice::InstFcmp::create(Func.get(), Cond, Dest, Op1, Op2));
2423 CurrentNode->appendInst(Ice::InstRet::create(Func.get()));
2426 CurrentNode->appendInst(Ice::InstRet::create(Func.get(), RetVal));
2437 CurrentNode->appendInst(Ice::InstBr::create(Func.get(), Block));
2456 Ice::InstBr::create(Func.get(), Cond, ThenBlock, ElseBlock));
2508 Ice::InstSwitch::create(Func.get(), NumCases, Cond, DefaultLabel));
2535 CurrentNode->appendInst(Ice::InstUnreachable::create(Func.get()));
2558 Ice::InstPhi::create(Func.get(), Values.size() >> 1, Dest);
2592 Func.get(), getNextInstVar(PtrTy), ByteCount, Alignment));
2611 Func.get(), getNextInstVar(Ty), Address, Alignment));
2626 Ice::InstStore::create(Func.get(), Value, Address, Alignment));
2762 Func.get(), Params.size(), Dest, Callee, IntrinsicInfo->Info));
2764 Instr.reset(Ice::InstCall::create(Func.get(), Params.size(), Dest, Callee,
3183 std::unique_ptr<Ice::Cfg> Func = Parser.parseFunction(SeqNumber);
3184 bool Failed = Func->hasError();
3185 getTranslator().translateFcn(std::move(Func));
3233 auto *Func = Ice::FunctionDeclaration::create(
3236 Context->setNextFunctionID(Func);