Lines Matching refs:FunctionType

155     if (isa<FunctionType>(GA.getType()->getElementType()))
227 FunctionType *DFSanUnionFnTy;
228 FunctionType *DFSanUnionLoadFnTy;
229 FunctionType *DFSanUnimplementedFnTy;
230 FunctionType *DFSanSetLabelFnTy;
231 FunctionType *DFSanNonzeroLabelFnTy;
246 FunctionType *getArgsFunctionType(FunctionType *T);
247 FunctionType *getTrampolineFunctionType(FunctionType *T);
248 FunctionType *getCustomFunctionType(FunctionType *T);
254 FunctionType *NewFT);
255 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
343 FunctionType *DataFlowSanitizer::getArgsFunctionType(FunctionType *T) {
353 return FunctionType::get(RetType, ArgTypes, T->isVarArg());
356 FunctionType *DataFlowSanitizer::getTrampolineFunctionType(FunctionType *T) {
366 return FunctionType::get(T->getReturnType(), ArgTypes, false);
369 FunctionType *DataFlowSanitizer::getCustomFunctionType(FunctionType *T) {
372 for (FunctionType::param_iterator i = T->param_begin(), e = T->param_end();
374 FunctionType *FT;
375 if (isa<PointerType>(*i) && (FT = dyn_cast<FunctionType>(cast<PointerType>(
388 return FunctionType::get(T->getReturnType(), ArgTypes, false);
408 FunctionType::get(ShadowTy, DFSanUnionArgs, /*isVarArg=*/ false);
411 FunctionType::get(ShadowTy, DFSanUnionLoadArgs, /*isVarArg=*/ false);
412 DFSanUnimplementedFnTy = FunctionType::get(
415 DFSanSetLabelFnTy = FunctionType::get(Type::getVoidTy(*Ctx),
417 DFSanNonzeroLabelFnTy = FunctionType::get(
426 FunctionType::get(PointerType::getUnqual(ArgTLSTy),
434 FunctionType::get(PointerType::getUnqual(ShadowTy),
487 FunctionType *NewFT) {
488 FunctionType *FT = F->getFunctionType();
511 Constant *DataFlowSanitizer::getOrBuildTrampolineFunction(FunctionType *FT,
513 FunctionType *FTT = getTrampolineFunctionType(FT);
633 FunctionType *FT = F.getFunctionType();
642 FunctionType *NewFT = getArgsFunctionType(FT);
685 FunctionType *NewFT = getInstrumentedABI() == IA_Args
1285 FunctionType *FT = F->getFunctionType();
1286 FunctionType *CustomFT = DFSF.DFS.getCustomFunctionType(FT);
1306 FunctionType *ParamFT;
1308 (ParamFT = dyn_cast<FunctionType>(
1354 FunctionType *FT = cast<FunctionType>(
1389 FunctionType *NewFT = DFSF.DFS.getArgsFunctionType(FT);