Home
last modified time | relevance | path

Searched refs:FTy (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/libbcc/lib/
DRSX86CallConvPass.cpp113 llvm::FunctionType *FTy = OrigFn->getFunctionType(); in RedefineFn() local
114 std::vector<llvm::Type *> Params(FTy->param_begin(), FTy->param_end()); in RedefineFn()
116 llvm::FunctionType *NewTy = llvm::FunctionType::get(FTy->getReturnType(), in RedefineFn()
118 FTy->isVarArg()); in RedefineFn()
/frameworks/rs/rsov/compiler/
DGlobalMergePass.cpp193 FunctionType *FTy = FunctionType::get(Type::getVoidTy(LLVMCtxt), false); in CreateInitFunction() local
194 Func = Function::Create(FTy, GlobalValue::ExternalLinkage, FName, &M); in CreateInitFunction()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp2262 FunctionType *FTy = in ParseModule() local
2264 if (!FTy) in ParseModule()
2267 Function *Func = Function::Create(FTy, GlobalValue::ExternalLinkage, in ParseModule()
3013 FunctionType *FTy = !CalleeTy ? nullptr : in ParseFunctionBody() local
3017 if (!FTy || !NormalBB || !UnwindBB || in ParseFunctionBody()
3018 Record.size() < OpNum+FTy->getNumParams()) in ParseFunctionBody()
3022 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) { in ParseFunctionBody()
3023 Ops.push_back(getFnValueByID(Record[OpNum], FTy->getParamType(i))); in ParseFunctionBody()
3028 if (!FTy->isVarArg()) { in ParseFunctionBody()
3194 FunctionType *FTy = nullptr; in ParseFunctionBody() local
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp2529 FunctionType *FTy = in ParseModule() local
2531 if (!FTy) in ParseModule()
2534 Function *Func = Function::Create(FTy, GlobalValue::ExternalLinkage, in ParseModule()
3261 FunctionType *FTy = !CalleeTy ? nullptr : in ParseFunctionBody() local
3265 if (!FTy || !NormalBB || !UnwindBB || in ParseFunctionBody()
3266 Record.size() < OpNum+FTy->getNumParams()) in ParseFunctionBody()
3270 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) { in ParseFunctionBody()
3271 Ops.push_back(getFnValueByID(Record[OpNum], FTy->getParamType(i))); in ParseFunctionBody()
3276 if (!FTy->isVarArg()) { in ParseFunctionBody()
3539 FunctionType *FTy = nullptr; in ParseFunctionBody() local
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1200 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1210 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1214 if (FTy->isVarArg()) { in WriteInstruction()
1215 for (unsigned i = FTy->getNumParams(), e = I.getNumOperands()-3; in WriteInstruction()
1263 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1272 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1276 if (FTy->isVarArg()) { in WriteInstruction()
1277 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands(); in WriteInstruction()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp1231 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1241 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1245 if (FTy->isVarArg()) { in WriteInstruction()
1246 for (unsigned i = FTy->getNumParams(), e = I.getNumOperands()-3; in WriteInstruction()
1359 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1368 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1372 if (FTy->isVarArg()) { in WriteInstruction()
1373 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands(); in WriteInstruction()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp1198 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1208 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1212 if (FTy->isVarArg()) { in WriteInstruction()
1213 for (unsigned i = FTy->getNumParams(), e = I.getNumOperands()-3; in WriteInstruction()
1325 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1334 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1338 if (FTy->isVarArg()) { in WriteInstruction()
1339 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands(); in WriteInstruction()