| /src/external/apache2/llvm/dist/libcxx/benchmarks/ |
| function.bench.cpp | 20 enum class FunctionType { 31 struct AllFunctionTypes : EnumValuesAsTuple<AllFunctionTypes, FunctionType, 8> { 84 inline Function MakeFunction(FunctionType type, bool opaque = false) { 86 case FunctionType::Null: 88 case FunctionType::FunctionPointer: 90 case FunctionType::MemberFunctionPointer: 92 case FunctionType::MemberPointer: 94 case FunctionType::SmallTrivialFunctor: 96 case FunctionType::SmallNonTrivialFunctor: 98 case FunctionType::LargeTrivialFunctor [all...] |
| /src/external/apache2/llvm/dist/llvm/examples/ModuleMaker/ |
| ModuleMaker.cpp | 38 FunctionType *FT = 39 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false);
|
| /src/external/apache2/llvm/dist/llvm/tools/vfabi-demangle-fuzzer/ |
| vfabi-demangler-fuzzer.cpp | 33 FunctionType::get(Type::getVoidTy(M->getContext()), false));
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| SanitizerStats.cpp | 57 FunctionType *StatReportTy = 58 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); 94 auto F = Function::Create(FunctionType::get(VoidTy, false), 99 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false);
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CodeGenTypes.h | 23 class FunctionType; 140 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info); 142 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 147 bool isFuncTypeConvertible(const FunctionType *FT); 203 const FunctionType *Ty, 236 const FunctionType *type); 270 FunctionType::ExtInfo info,
|
| CodeGenABITypes.cpp | 66 FunctionType::ExtInfo info, 97 llvm::FunctionType * 102 if (auto FT = dyn_cast<llvm::FunctionType>(T))
|
| CGCUDANV.cpp | 76 llvm::FunctionType *getRegisterGlobalsFnTy() const; 77 llvm::FunctionType *getCallbackFnTy() const; 78 llvm::FunctionType *getRegisterLinkedBinaryFnTy() const; 111 llvm::Function *makeDummyFunction(llvm::FunctionType *FnTy) { 224 llvm::FunctionType::get(IntTy, Params, false), 232 llvm::FunctionType::get(IntTy, CharPtrTy, false), "hipLaunchByPtr"); 236 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); 240 llvm::FunctionType *CGNVCUDARuntime::getRegisterGlobalsFnTy() const { 241 return llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false); 244 llvm::FunctionType *CGNVCUDARuntime::getCallbackFnTy() const [all...] |
| CGDeclCXX.cpp | 234 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); 278 llvm::FunctionType::get(CGM.VoidTy, false), 282 llvm::FunctionType *atexitTy = 283 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); 305 llvm::FunctionType::get(CGM.VoidTy, false), 309 llvm::FunctionType *unatexitTy = 310 llvm::FunctionType::get(IntTy, {dtorStub->getType()}, /*isVarArg=*/false); 372 llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI, 475 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false) [all...] |
| CGOpenMPRuntimeAMDGCN.cpp | 56 llvm::FunctionType::get(CGF.Int32Ty, llvm::None, false),
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPULibFunc.h | 17 class FunctionType; 348 virtual FunctionType *getFunctionType(Module &M) const = 0; 365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT); 392 FunctionType *getFunctionType(Module &M) const { 417 FunctionType *getFunctionType(Module &M) const override; 437 FunctionType *FuncTy; 441 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { 447 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } 456 void setFunctionType(FunctionType *FT) { FuncTy = FT; }
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyFixFunctionBitcasts.cpp | 117 static Function *createWrapper(Function *F, FunctionType *Ty) { 129 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); 130 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); 227 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { 261 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, 277 DenseMap<std::pair<Function *, FunctionType *>, Function *> Wrappers; 283 auto *Ty = dyn_cast<FunctionType>(PTy->getElementType());
|
| WebAssemblyAddMissingPrototypes.cpp | 91 FunctionType *NewType = nullptr; 96 if (auto *DestType = dyn_cast<FunctionType>( 122 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false);
|
| WebAssemblyLowerGlobalDtors.cpp | 119 FunctionType *AtExitFuncTy = 120 FunctionType::get(Type::getVoidTy(C), AtExitFuncArgs, 125 FunctionType::get(Type::getInt32Ty(C), 162 FunctionType *VoidVoid = FunctionType::get(Type::getVoidTy(C),
|
| WebAssemblyLowerEmscriptenEHSjLj.cpp | 322 static std::string getSignature(FunctionType *FTy) { 338 static Function *getEmscriptenFunction(FunctionType *Ty, const Twine &Name, 390 FunctionType *FTy = FunctionType::get(Int8PtrTy, Args, false); 479 FunctionType *CalleeFTy = CI->getFunctionType(); 490 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, 708 FunctionType::get(IRB.getInt32Ty(), false), "getTempRet0", &M); 710 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), 720 FunctionType *ResumeFTy [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| Intrinsics.h | 27 class FunctionType; 72 std::string getName(ID Id, ArrayRef<Type *> Tys, Module *M, FunctionType *FT); 75 FunctionType *getType(LLVMContext &Context, ID id, 227 matchIntrinsicSignature(FunctionType *FTy, ArrayRef<IITDescriptor> &Infos,
|
| InlineAsm.h | 27 class FunctionType; 43 FunctionType *FTy; 49 InlineAsm(FunctionType *Ty, const std::string &AsmString, 63 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 81 FunctionType *getFunctionType() const; 90 static bool Verify(FunctionType *Ty, StringRef Constraints);
|
| DerivedTypes.h | 102 class FunctionType : public Type { 103 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs); 106 FunctionType(const FunctionType &) = delete; 107 FunctionType &operator=(const FunctionType &) = delete; 109 /// This static method is the primary way of constructing a FunctionType. 110 static FunctionType *get(Type *Result, 113 /// Create a FunctionType taking no parameters. 114 static FunctionType *get(Type *Result, bool isVarArg) [all...] |
| /src/external/apache2/llvm/dist/llvm/examples/HowToUseJIT/ |
| HowToUseJIT.cpp | 74 Function::Create(FunctionType::get(Type::getInt32Ty(Context), 105 Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false),
|
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| ExternalFunctions.cpp | 62 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>); 104 FunctionType *FT = F->getFunctionType(); 194 FunctionType *FTy = F->getFunctionType(); 310 static GenericValue lle_X_atexit(FunctionType *FT, 320 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { 326 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { 335 static GenericValue lle_X_sprintf(FunctionType *FT, 417 static GenericValue lle_X_printf(FunctionType *FT, 429 static GenericValue lle_X_sscanf(FunctionType *FT, 444 static GenericValue lle_X_scanf(FunctionType *FT, ArrayRef<GenericValue> args) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/ |
| CodeGenABITypes.h | 38 class FunctionType; 88 FunctionType::ExtInfo info, 103 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
|
| /src/external/apache2/llvm/dist/llvm/examples/Fibonacci/ |
| fibonacci.cpp | 54 FunctionType *FibFTy = FunctionType::get(Type::getInt32Ty(Context),
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| ExtractGV.cpp | 137 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) {
|
| /src/external/apache2/llvm/dist/llvm/examples/HowToUseLLJIT/ |
| HowToUseLLJIT.cpp | 48 Function::Create(FunctionType::get(Type::getInt32Ty(*Context),
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| InlineAsm.cpp | 30 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString, 42 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, 57 FunctionType *InlineAsm::getFunctionType() const { 254 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| CoroInternal.h | 64 FunctionType *const ResumeFnType; 150 FunctionType *AsyncFuncTy; 205 FunctionType *getResumeFunctionType() const { 209 return cast<FunctionType>(FnPtrTy->getPointerElementType());
|