Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Renderscript/
DRSX86CallConvPass.cpp110 llvm::FunctionType *FTy = OrigFn->getFunctionType(); in RedefineFn() local
111 std::vector<llvm::Type *> Params(FTy->param_begin(), FTy->param_end()); in RedefineFn()
113 llvm::FunctionType *NewTy = llvm::FunctionType::get(FTy->getReturnType(), in RedefineFn()
115 FTy->isVarArg()); in RedefineFn()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp2250 FunctionType *FTy = in ParseModule() local
2252 if (!FTy) in ParseModule()
2255 Function *Func = Function::Create(FTy, GlobalValue::ExternalLinkage, in ParseModule()
3001 FunctionType *FTy = !CalleeTy ? nullptr : in ParseFunctionBody() local
3005 if (!FTy || !NormalBB || !UnwindBB || in ParseFunctionBody()
3006 Record.size() < OpNum+FTy->getNumParams()) in ParseFunctionBody()
3010 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) { in ParseFunctionBody()
3011 Ops.push_back(getFnValueByID(Record[OpNum], FTy->getParamType(i))); in ParseFunctionBody()
3016 if (!FTy->isVarArg()) { in ParseFunctionBody()
3186 FunctionType *FTy = nullptr; in ParseFunctionBody() local
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp2518 FunctionType *FTy = in ParseModule() local
2520 if (!FTy) in ParseModule()
2523 Function *Func = Function::Create(FTy, GlobalValue::ExternalLinkage, in ParseModule()
3250 FunctionType *FTy = !CalleeTy ? nullptr : in ParseFunctionBody() local
3254 if (!FTy || !NormalBB || !UnwindBB || in ParseFunctionBody()
3255 Record.size() < OpNum+FTy->getNumParams()) in ParseFunctionBody()
3259 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i, ++OpNum) { in ParseFunctionBody()
3260 Ops.push_back(getFnValueByID(Record[OpNum], FTy->getParamType(i))); in ParseFunctionBody()
3265 if (!FTy->isVarArg()) { in ParseFunctionBody()
3527 FunctionType *FTy = nullptr; in ParseFunctionBody() local
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp1199 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1209 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1213 if (FTy->isVarArg()) { in WriteInstruction()
1214 for (unsigned i = FTy->getNumParams(), e = I.getNumOperands()-3; in WriteInstruction()
1262 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1271 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1275 if (FTy->isVarArg()) { in WriteInstruction()
1276 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()
1324 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1333 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1337 if (FTy->isVarArg()) { in WriteInstruction()
1338 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands(); in WriteInstruction()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp1239 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1249 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1253 if (FTy->isVarArg()) { in WriteInstruction()
1254 for (unsigned i = FTy->getNumParams(), e = I.getNumOperands()-3; in WriteInstruction()
1366 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction() local
1375 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) in WriteInstruction()
1379 if (FTy->isVarArg()) { in WriteInstruction()
1380 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands(); in WriteInstruction()