/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNoexceptCheck.cpp | 55 const FunctionProtoType *FnTy = nullptr; in check() local 61 FnTy = FuncDecl->getType()->getAs<FunctionProtoType>(); in check() 67 FnTy = ParmDecl->getType() in check() 80 assert(FnTy && "FunctionProtoType is null."); in check() 81 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in check() 90 bool IsNoThrow = FnTy->isNothrow(); in check()
|
/external/llvm-project/llvm/unittests/Support/ |
D | KnownBitsTest.h | 22 template <typename FnTy> void ForeachKnownBits(unsigned Bits, FnTy Fn) { in ForeachKnownBits() 37 template <typename FnTy> 38 void ForeachNumInKnownBits(const KnownBits &Known, FnTy Fn) { in ForeachNumInKnownBits()
|
/external/llvm-project/clang/test/Sema/ |
D | warn-cast-align.c | 64 typedef int (*FnTy)(void); typedef 67 FnTy test5(void) { in test5() 68 return (FnTy)&func5; in test5()
|
/external/clang/test/SemaCXX/ |
D | unaddressable-functions.cpp | 105 using FnTy = void (*)(); typedef 114 FnTy Fn; in test() 125 FnTy Fn; in testUnavailable() 140 FnTy Fn; in testAccess()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | unaddressable-functions.cpp | 105 using FnTy = void (*)(); typedef 114 FnTy Fn; in test() 125 FnTy Fn; in testUnavailable() 140 FnTy Fn; in testAccess()
|
D | compare-cxx2a.cpp | 214 using FnTy = void(int); typedef 220 void test_nullptr(int *x, FnTy *fp, MemFnTy memp, MemDataTy memdp) { in test_nullptr() 235 void test_compatible_pointer(FnTy *f1, FnTy2 *f2, FnTy3 *f3) { in test_compatible_pointer()
|
/external/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.cpp | 754 auto *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in emitCombinerOrInitializer() local 756 FnTy, llvm::GlobalValue::InternalLinkage, in emitCombinerOrInitializer() 1064 llvm::FunctionType *FnTy = in createRuntimeFunction() local 1066 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_fork_call"); in createRuntimeFunction() 1072 llvm::FunctionType *FnTy = in createRuntimeFunction() local 1074 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_global_thread_num"); in createRuntimeFunction() 1083 llvm::FunctionType *FnTy = in createRuntimeFunction() local 1085 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_threadprivate_cached"); in createRuntimeFunction() 1094 llvm::FunctionType *FnTy = in createRuntimeFunction() local 1096 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_critical"); in createRuntimeFunction() [all …]
|
D | ObjectFilePCHContainerOperations.cpp | 111 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() local 113 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl() 114 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitFunctionDecl() 130 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl() local 132 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl() 133 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitObjCMethodDecl()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | ObjectFilePCHContainerOperations.cpp | 108 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() local 110 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl() 111 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitFunctionDecl() 127 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl() local 129 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl() 130 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitObjCMethodDecl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 176 : FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {} in FunctionCallee() 178 FunctionCallee(FunctionType *FnTy, Value *Callee) in FunctionCallee() argument 179 : FnTy(FnTy), Callee(Callee) { in FunctionCallee() 180 assert((FnTy == nullptr) == (Callee == nullptr)); in FunctionCallee() 187 FunctionType *getFunctionType() { return FnTy; } in getFunctionType() 194 FunctionType *FnTy = nullptr;
|
/external/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() local 37 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray() 57 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 176 : FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {} in FunctionCallee() 178 FunctionCallee(FunctionType *FnTy, Value *Callee) in FunctionCallee() argument 179 : FnTy(FnTy), Callee(Callee) { in FunctionCallee() 180 assert((FnTy == nullptr) == (Callee == nullptr)); in FunctionCallee() 187 FunctionType *getFunctionType() { return FnTy; } in getFunctionType() 194 FunctionType *FnTy = nullptr;
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_activity_listener.cc | 41 template <typename FnTy> 42 Status ForEachListener(FnTy fn) { in ForEachListener()
|
D | device_util.h | 71 template <typename FnTy> 72 void ForEach(FnTy func) const { in ForEach()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroEarly.cpp | 116 auto *FnTy = FunctionType::get(Type::getVoidTy(C), FramePtrTy, in lowerCoroNoop() local 118 auto *FnPtrTy = FnTy->getPointerTo(); in lowerCoroNoop() 123 Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage, in lowerCoroNoop()
|
D | CoroFrame.cpp | 409 auto *FnTy = FunctionType::get(Type::getVoidTy(C), FramePtrTy, in buildFrameType() local 411 auto *FnPtrTy = FnTy->getPointerTo(); in buildFrameType() 1166 auto FnTy = FunctionType::get(ValueTy, {}, false); in emitGetSwiftErrorValue() local 1167 auto Fn = ConstantPointerNull::get(FnTy->getPointerTo()); in emitGetSwiftErrorValue() 1181 auto FnTy = FunctionType::get(V->getType()->getPointerTo(), in emitSetSwiftErrorValue() local 1183 auto Fn = ConstantPointerNull::get(FnTy->getPointerTo()); in emitSetSwiftErrorValue()
|
/external/llvm-project/llvm/lib/Transforms/Coroutines/ |
D | CoroEarly.cpp | 111 auto *FnTy = FunctionType::get(Type::getVoidTy(C), FramePtrTy, in lowerCoroNoop() local 113 auto *FnPtrTy = FnTy->getPointerTo(); in lowerCoroNoop() 118 Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage, in lowerCoroNoop()
|
D | CoroSplit.cpp | 410 auto *FnTy = Shape.getResumeFunctionType(); in createCloneDeclaration() local 413 Function::Create(FnTy, GlobalValue::LinkageTypes::InternalLinkage, in createCloneDeclaration() 1373 static void coerceArguments(IRBuilder<> &Builder, FunctionType *FnTy, in coerceArguments() argument 1377 for (auto paramTy : FnTy->params()) { in coerceArguments() 1449 auto FnTy = cast<FunctionType>(Fn->getType()->getPointerElementType()); in splitAsyncCoroutine() local 1453 coerceArguments(Builder, FnTy, FnArgs, CallArgs); in splitAsyncCoroutine() 1454 auto *TailCall = Builder.CreateCall(FnTy, Fn, CallArgs); in splitAsyncCoroutine() 1739 FunctionType *FnTy = FunctionType::get(Type::getVoidTy(Context), in prepareForSplit() local 1741 auto *IndirectCall = CallInst::Create(FnTy, DevirtFnAddr, Null, "", InsertPt); in prepareForSplit() 1757 auto *FnTy = FunctionType::get(Type::getVoidTy(C), Type::getInt8PtrTy(C), in createDevirtTriggerFunc() local [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | IgnoreExpr.h | 24 template <typename FnTy, typename... FnTys> 25 Expr *IgnoreExprNodesImpl(Expr *E, FnTy &&Fn, FnTys &&... Fns) { in IgnoreExprNodesImpl()
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 496 Type *FnTy = FunctionType::get(Int32Ty, ArgTys, /*isVarArg=*/false); in TEST() local 497 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST() 528 Type *FnTy = FunctionType::get(Int32Ty, Int32Ty, /*isVarArg=*/false); in TEST() local 529 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST() 555 Type *FnTy = FunctionType::get(Int32Ty, Int32Ty, /*isVarArg=*/false); in TEST() local 556 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | MachOPlatform.cpp | 46 template <typename FnTy> 47 static Error setUpObjCRegAPIFunc(FnTy &Target, sys::DynamicLibrary &LibObjC, in setUpObjCRegAPIFunc() 50 Target = reinterpret_cast<FnTy>(Addr); in setUpObjCRegAPIFunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() local 32 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy()); in appendToGlobalArray()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 28 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() local 34 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy()); in appendToGlobalArray()
|
/external/llvm-project/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 589 FunctionType *FnTy = FunctionType::get(Int32Ty, ArgTys, /*isVarArg=*/false); in TEST() local 590 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST() 597 CallInst::Create(FnTy, Callee, Args, "result")); in TEST() 623 FunctionType *FnTy = FunctionType::get(Int32Ty, Int32Ty, /*isVarArg=*/false); in TEST() local 624 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST() 628 CallInst::Create(FnTy, Callee, Args, OldBundle, "result")); in TEST() 650 FunctionType *FnTy = FunctionType::get(Int32Ty, Int32Ty, /*isVarArg=*/false); in TEST() local 651 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST() 657 InvokeInst::Create(FnTy, Callee, NormalDest.get(), UnwindDest.get(), Args, in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | shape_util.h | 728 template <typename FnTy> 731 FnTy&& function) { in ForEachIndexWithStatus() 734 iteration_space.index_incr, std::forward<FnTy>(function)); in ForEachIndexWithStatus()
|