How to use parameters method in ng-mocks

Best JavaScript code snippet using ng-mocks

symbols.ts

Source:symbols.ts Github

copy

Full Screen

1export const LLVM_SYMBOLS = {2 VerifyModule: {3 name: "LLVMVerifyModule",4 parameters: ["pointer", "i32", "pointer"],5 result: "i32"6 },7 VerifyFunction: {8 name: "LLVMVerifyFunction",9 parameters: ["pointer", "i32"],10 result: "i32"11 },12 ViewFunctionCFG: {13 name: "LLVMViewFunctionCFG",14 parameters: ["pointer"],15 result: "void"16 },17 ViewFunctionCFGOnly: {18 name: "LLVMViewFunctionCFGOnly",19 parameters: ["pointer"],20 result: "void"21 },22 ParseBitcode: {23 name: "LLVMParseBitcode",24 parameters: ["pointer", "pointer", "pointer"],25 result: "i32"26 },27 ParseBitcode2: {28 name: "LLVMParseBitcode2",29 parameters: ["pointer", "pointer"],30 result: "i32"31 },32 ParseBitcodeInContext: {33 name: "LLVMParseBitcodeInContext",34 parameters: ["pointer", "pointer", "pointer", "pointer"],35 result: "i32"36 },37 ParseBitcodeInContext2: {38 name: "LLVMParseBitcodeInContext2",39 parameters: ["pointer", "pointer", "pointer"],40 result: "i32"41 },42 GetBitcodeModuleInContext: {43 name: "LLVMGetBitcodeModuleInContext",44 parameters: ["pointer", "pointer", "pointer", "pointer"],45 result: "i32"46 },47 GetBitcodeModuleInContext2: {48 name: "LLVMGetBitcodeModuleInContext2",49 parameters: ["pointer", "pointer", "pointer"],50 result: "i32"51 },52 GetBitcodeModule: {53 name: "LLVMGetBitcodeModule",54 parameters: ["pointer", "pointer", "pointer"],55 result: "i32"56 },57 GetBitcodeModule2: {58 name: "LLVMGetBitcodeModule2",59 parameters: ["pointer", "pointer"],60 result: "i32"61 },62 WriteBitcodeToFile: {63 name: "LLVMWriteBitcodeToFile",64 parameters: ["pointer", "pointer"],65 result: "i32"66 },67 WriteBitcodeToFD: {68 name: "LLVMWriteBitcodeToFD",69 parameters: ["pointer", "i32", "i32", "i32"],70 result: "i32"71 },72 WriteBitcodeToFileHandle: {73 name: "LLVMWriteBitcodeToFileHandle",74 parameters: ["pointer", "i32"],75 result: "i32"76 },77 WriteBitcodeToMemoryBuffer: {78 name: "LLVMWriteBitcodeToMemoryBuffer",79 parameters: ["pointer"],80 result: "pointer"81 },82 GetOrInsertComdat: {83 name: "LLVMGetOrInsertComdat",84 parameters: ["pointer", "pointer"],85 result: "pointer"86 },87 GetComdat: {88 name: "LLVMGetComdat",89 parameters: ["pointer"],90 result: "pointer"91 },92 SetComdat: {93 name: "LLVMSetComdat",94 parameters: ["pointer", "pointer"],95 result: "void"96 },97 GetComdatSelectionKind: {98 name: "LLVMGetComdatSelectionKind",99 parameters: ["pointer"],100 result: "i32"101 },102 SetComdatSelectionKind: {103 name: "LLVMSetComdatSelectionKind",104 parameters: ["pointer", "i32"],105 result: "void"106 },107 InstallFatalErrorHandler: {108 name: "LLVMInstallFatalErrorHandler",109 parameters: ["function"],110 result: "void"111 },112 ResetFatalErrorHandler: {113 name: "LLVMResetFatalErrorHandler",114 parameters: [],115 result: "void"116 },117 EnablePrettyStackTrace: {118 name: "LLVMEnablePrettyStackTrace",119 parameters: [],120 result: "void"121 },122 InitializeCore: {123 name: "LLVMInitializeCore",124 parameters: ["pointer"],125 result: "void"126 },127 Shutdown: {128 name: "LLVMShutdown",129 parameters: [],130 result: "void"131 },132 CreateMessage: {133 name: "LLVMCreateMessage",134 parameters: ["pointer"],135 result: "pointer"136 },137 DisposeMessage: {138 name: "LLVMDisposeMessage",139 parameters: ["pointer"],140 result: "void"141 },142 ContextCreate: {143 name: "LLVMContextCreate",144 parameters: [],145 result: "pointer"146 },147 GetGlobalContext: {148 name: "LLVMGetGlobalContext",149 parameters: [],150 result: "pointer"151 },152 ContextSetDiagnosticHandler: {153 name: "LLVMContextSetDiagnosticHandler",154 parameters: ["pointer", "function", "pointer"],155 result: "void"156 },157 ContextGetDiagnosticHandler: {158 name: "LLVMContextGetDiagnosticHandler",159 parameters: ["pointer"],160 result: "function"161 },162 ContextGetDiagnosticContext: {163 name: "LLVMContextGetDiagnosticContext",164 parameters: ["pointer"],165 result: "pointer"166 },167 ContextSetYieldCallback: {168 name: "LLVMContextSetYieldCallback",169 parameters: ["pointer", "function", "pointer"],170 result: "void"171 },172 ContextShouldDiscardValueNames: {173 name: "LLVMContextShouldDiscardValueNames",174 parameters: ["pointer"],175 result: "i32"176 },177 ContextSetDiscardValueNames: {178 name: "LLVMContextSetDiscardValueNames",179 parameters: ["pointer", "i32"],180 result: "void"181 },182 ContextDispose: {183 name: "LLVMContextDispose",184 parameters: ["pointer"],185 result: "void"186 },187 GetDiagInfoDescription: {188 name: "LLVMGetDiagInfoDescription",189 parameters: ["pointer"],190 result: "pointer"191 },192 GetDiagInfoSeverity: {193 name: "LLVMGetDiagInfoSeverity",194 parameters: ["pointer"],195 result: "i32"196 },197 GetMDKindIDInContext: {198 name: "LLVMGetMDKindIDInContext",199 parameters: ["pointer", "pointer", "u32"],200 result: "u32"201 },202 GetMDKindID: {203 name: "LLVMGetMDKindID",204 parameters: ["pointer", "u32"],205 result: "u32"206 },207 GetEnumAttributeKindForName: {208 name: "LLVMGetEnumAttributeKindForName",209 parameters: ["pointer", "u64"],210 result: "u32"211 },212 GetLastEnumAttributeKind: {213 name: "LLVMGetLastEnumAttributeKind",214 parameters: [],215 result: "u32"216 },217 CreateEnumAttribute: {218 name: "LLVMCreateEnumAttribute",219 parameters: ["pointer", "u32", "u64"],220 result: "pointer"221 },222 GetEnumAttributeKind: {223 name: "LLVMGetEnumAttributeKind",224 parameters: ["pointer"],225 result: "u32"226 },227 GetEnumAttributeValue: {228 name: "LLVMGetEnumAttributeValue",229 parameters: ["pointer"],230 result: "u64"231 },232 CreateTypeAttribute: {233 name: "LLVMCreateTypeAttribute",234 parameters: ["pointer", "u32", "pointer"],235 result: "pointer"236 },237 GetTypeAttributeValue: {238 name: "LLVMGetTypeAttributeValue",239 parameters: ["pointer"],240 result: "pointer"241 },242 CreateStringAttribute: {243 name: "LLVMCreateStringAttribute",244 parameters: ["pointer", "pointer", "u32", "pointer", "u32"],245 result: "pointer"246 },247 GetStringAttributeKind: {248 name: "LLVMGetStringAttributeKind",249 parameters: ["pointer", "pointer"],250 result: "pointer"251 },252 GetStringAttributeValue: {253 name: "LLVMGetStringAttributeValue",254 parameters: ["pointer", "pointer"],255 result: "pointer"256 },257 IsEnumAttribute: {258 name: "LLVMIsEnumAttribute",259 parameters: ["pointer"],260 result: "i32"261 },262 IsStringAttribute: {263 name: "LLVMIsStringAttribute",264 parameters: ["pointer"],265 result: "i32"266 },267 IsTypeAttribute: {268 name: "LLVMIsTypeAttribute",269 parameters: ["pointer"],270 result: "i32"271 },272 GetTypeByName2: {273 name: "LLVMGetTypeByName2",274 parameters: ["pointer", "pointer"],275 result: "pointer"276 },277 ModuleCreateWithName: {278 name: "LLVMModuleCreateWithName",279 parameters: ["pointer"],280 result: "pointer"281 },282 ModuleCreateWithNameInContext: {283 name: "LLVMModuleCreateWithNameInContext",284 parameters: ["pointer", "pointer"],285 result: "pointer"286 },287 CloneModule: {288 name: "LLVMCloneModule",289 parameters: ["pointer"],290 result: "pointer"291 },292 DisposeModule: {293 name: "LLVMDisposeModule",294 parameters: ["pointer"],295 result: "void"296 },297 GetModuleIdentifier: {298 name: "LLVMGetModuleIdentifier",299 parameters: ["pointer", "pointer"],300 result: "pointer"301 },302 SetModuleIdentifier: {303 name: "LLVMSetModuleIdentifier",304 parameters: ["pointer", "pointer", "u64"],305 result: "void"306 },307 GetSourceFileName: {308 name: "LLVMGetSourceFileName",309 parameters: ["pointer", "pointer"],310 result: "pointer"311 },312 SetSourceFileName: {313 name: "LLVMSetSourceFileName",314 parameters: ["pointer", "pointer", "u64"],315 result: "void"316 },317 GetDataLayoutStr: {318 name: "LLVMGetDataLayoutStr",319 parameters: ["pointer"],320 result: "pointer"321 },322 GetDataLayout: {323 name: "LLVMGetDataLayout",324 parameters: ["pointer"],325 result: "pointer"326 },327 SetDataLayout: {328 name: "LLVMSetDataLayout",329 parameters: ["pointer", "pointer"],330 result: "void"331 },332 GetTarget: {333 name: "LLVMGetTarget",334 parameters: ["pointer"],335 result: "pointer"336 },337 SetTarget: {338 name: "LLVMSetTarget",339 parameters: ["pointer", "pointer"],340 result: "void"341 },342 CopyModuleFlagsMetadata: {343 name: "LLVMCopyModuleFlagsMetadata",344 parameters: ["pointer", "pointer"],345 result: "pointer"346 },347 DisposeModuleFlagsMetadata: {348 name: "LLVMDisposeModuleFlagsMetadata",349 parameters: ["pointer"],350 result: "void"351 },352 ModuleFlagEntriesGetFlagBehavior: {353 name: "LLVMModuleFlagEntriesGetFlagBehavior",354 parameters: ["pointer", "u32"],355 result: "i32"356 },357 ModuleFlagEntriesGetKey: {358 name: "LLVMModuleFlagEntriesGetKey",359 parameters: ["pointer", "u32", "pointer"],360 result: "pointer"361 },362 ModuleFlagEntriesGetMetadata: {363 name: "LLVMModuleFlagEntriesGetMetadata",364 parameters: ["pointer", "u32"],365 result: "pointer"366 },367 GetModuleFlag: {368 name: "LLVMGetModuleFlag",369 parameters: ["pointer", "pointer", "u64"],370 result: "pointer"371 },372 AddModuleFlag: {373 name: "LLVMAddModuleFlag",374 parameters: ["pointer", "i32", "pointer", "u64", "pointer"],375 result: "void"376 },377 DumpModule: {378 name: "LLVMDumpModule",379 parameters: ["pointer"],380 result: "void"381 },382 PrintModuleToFile: {383 name: "LLVMPrintModuleToFile",384 parameters: ["pointer", "pointer", "pointer"],385 result: "i32"386 },387 PrintModuleToString: {388 name: "LLVMPrintModuleToString",389 parameters: ["pointer"],390 result: "pointer"391 },392 GetModuleInlineAsm: {393 name: "LLVMGetModuleInlineAsm",394 parameters: ["pointer", "pointer"],395 result: "pointer"396 },397 SetModuleInlineAsm2: {398 name: "LLVMSetModuleInlineAsm2",399 parameters: ["pointer", "pointer", "u64"],400 result: "void"401 },402 AppendModuleInlineAsm: {403 name: "LLVMAppendModuleInlineAsm",404 parameters: ["pointer", "pointer", "u64"],405 result: "void"406 },407 GetInlineAsm: {408 name: "LLVMGetInlineAsm",409 parameters: ["pointer", "pointer", "u64", "pointer", "u64", "i32", "i32", "i32", "i32"],410 result: "pointer"411 },412 GetModuleContext: {413 name: "LLVMGetModuleContext",414 parameters: ["pointer"],415 result: "pointer"416 },417 GetTypeByName: {418 name: "LLVMGetTypeByName",419 parameters: ["pointer", "pointer"],420 result: "pointer"421 },422 GetFirstNamedMetadata: {423 name: "LLVMGetFirstNamedMetadata",424 parameters: ["pointer"],425 result: "pointer"426 },427 GetLastNamedMetadata: {428 name: "LLVMGetLastNamedMetadata",429 parameters: ["pointer"],430 result: "pointer"431 },432 GetNextNamedMetadata: {433 name: "LLVMGetNextNamedMetadata",434 parameters: ["pointer"],435 result: "pointer"436 },437 GetPreviousNamedMetadata: {438 name: "LLVMGetPreviousNamedMetadata",439 parameters: ["pointer"],440 result: "pointer"441 },442 GetNamedMetadata: {443 name: "LLVMGetNamedMetadata",444 parameters: ["pointer", "pointer", "u64"],445 result: "pointer"446 },447 GetOrInsertNamedMetadata: {448 name: "LLVMGetOrInsertNamedMetadata",449 parameters: ["pointer", "pointer", "u64"],450 result: "pointer"451 },452 GetNamedMetadataName: {453 name: "LLVMGetNamedMetadataName",454 parameters: ["pointer", "pointer"],455 result: "pointer"456 },457 GetNamedMetadataNumOperands: {458 name: "LLVMGetNamedMetadataNumOperands",459 parameters: ["pointer", "pointer"],460 result: "u32"461 },462 GetNamedMetadataOperands: {463 name: "LLVMGetNamedMetadataOperands",464 parameters: ["pointer", "pointer", "pointer"],465 result: "void"466 },467 AddNamedMetadataOperand: {468 name: "LLVMAddNamedMetadataOperand",469 parameters: ["pointer", "pointer", "pointer"],470 result: "void"471 },472 GetDebugLocDirectory: {473 name: "LLVMGetDebugLocDirectory",474 parameters: ["pointer", "pointer"],475 result: "pointer"476 },477 GetDebugLocFilename: {478 name: "LLVMGetDebugLocFilename",479 parameters: ["pointer", "pointer"],480 result: "pointer"481 },482 GetDebugLocLine: {483 name: "LLVMGetDebugLocLine",484 parameters: ["pointer"],485 result: "u32"486 },487 GetDebugLocColumn: {488 name: "LLVMGetDebugLocColumn",489 parameters: ["pointer"],490 result: "u32"491 },492 AddFunction: {493 name: "LLVMAddFunction",494 parameters: ["pointer", "pointer", "pointer"],495 result: "pointer"496 },497 GetNamedFunction: {498 name: "LLVMGetNamedFunction",499 parameters: ["pointer", "pointer"],500 result: "pointer"501 },502 GetFirstFunction: {503 name: "LLVMGetFirstFunction",504 parameters: ["pointer"],505 result: "pointer"506 },507 GetLastFunction: {508 name: "LLVMGetLastFunction",509 parameters: ["pointer"],510 result: "pointer"511 },512 GetNextFunction: {513 name: "LLVMGetNextFunction",514 parameters: ["pointer"],515 result: "pointer"516 },517 GetPreviousFunction: {518 name: "LLVMGetPreviousFunction",519 parameters: ["pointer"],520 result: "pointer"521 },522 SetModuleInlineAsm: {523 name: "LLVMSetModuleInlineAsm",524 parameters: ["pointer", "pointer"],525 result: "void"526 },527 GetTypeKind: {528 name: "LLVMGetTypeKind",529 parameters: ["pointer"],530 result: "i32"531 },532 TypeIsSized: {533 name: "LLVMTypeIsSized",534 parameters: ["pointer"],535 result: "i32"536 },537 GetTypeContext: {538 name: "LLVMGetTypeContext",539 parameters: ["pointer"],540 result: "pointer"541 },542 DumpType: {543 name: "LLVMDumpType",544 parameters: ["pointer"],545 result: "void"546 },547 PrintTypeToString: {548 name: "LLVMPrintTypeToString",549 parameters: ["pointer"],550 result: "pointer"551 },552 Int1TypeInContext: {553 name: "LLVMInt1TypeInContext",554 parameters: ["pointer"],555 result: "pointer"556 },557 Int8TypeInContext: {558 name: "LLVMInt8TypeInContext",559 parameters: ["pointer"],560 result: "pointer"561 },562 Int16TypeInContext: {563 name: "LLVMInt16TypeInContext",564 parameters: ["pointer"],565 result: "pointer"566 },567 Int32TypeInContext: {568 name: "LLVMInt32TypeInContext",569 parameters: ["pointer"],570 result: "pointer"571 },572 Int64TypeInContext: {573 name: "LLVMInt64TypeInContext",574 parameters: ["pointer"],575 result: "pointer"576 },577 Int128TypeInContext: {578 name: "LLVMInt128TypeInContext",579 parameters: ["pointer"],580 result: "pointer"581 },582 IntTypeInContext: {583 name: "LLVMIntTypeInContext",584 parameters: ["pointer", "u32"],585 result: "pointer"586 },587 Int1Type: {588 name: "LLVMInt1Type",589 parameters: [],590 result: "pointer"591 },592 Int8Type: {593 name: "LLVMInt8Type",594 parameters: [],595 result: "pointer"596 },597 Int16Type: {598 name: "LLVMInt16Type",599 parameters: [],600 result: "pointer"601 },602 Int32Type: {603 name: "LLVMInt32Type",604 parameters: [],605 result: "pointer"606 },607 Int64Type: {608 name: "LLVMInt64Type",609 parameters: [],610 result: "pointer"611 },612 Int128Type: {613 name: "LLVMInt128Type",614 parameters: [],615 result: "pointer"616 },617 IntType: {618 name: "LLVMIntType",619 parameters: ["u32"],620 result: "pointer"621 },622 GetIntTypeWidth: {623 name: "LLVMGetIntTypeWidth",624 parameters: ["pointer"],625 result: "u32"626 },627 HalfTypeInContext: {628 name: "LLVMHalfTypeInContext",629 parameters: ["pointer"],630 result: "pointer"631 },632 BFloatTypeInContext: {633 name: "LLVMBFloatTypeInContext",634 parameters: ["pointer"],635 result: "pointer"636 },637 FloatTypeInContext: {638 name: "LLVMFloatTypeInContext",639 parameters: ["pointer"],640 result: "pointer"641 },642 DoubleTypeInContext: {643 name: "LLVMDoubleTypeInContext",644 parameters: ["pointer"],645 result: "pointer"646 },647 X86FP80TypeInContext: {648 name: "LLVMX86FP80TypeInContext",649 parameters: ["pointer"],650 result: "pointer"651 },652 FP128TypeInContext: {653 name: "LLVMFP128TypeInContext",654 parameters: ["pointer"],655 result: "pointer"656 },657 PPCFP128TypeInContext: {658 name: "LLVMPPCFP128TypeInContext",659 parameters: ["pointer"],660 result: "pointer"661 },662 HalfType: {663 name: "LLVMHalfType",664 parameters: [],665 result: "pointer"666 },667 BFloatType: {668 name: "LLVMBFloatType",669 parameters: [],670 result: "pointer"671 },672 FloatType: {673 name: "LLVMFloatType",674 parameters: [],675 result: "pointer"676 },677 DoubleType: {678 name: "LLVMDoubleType",679 parameters: [],680 result: "pointer"681 },682 X86FP80Type: {683 name: "LLVMX86FP80Type",684 parameters: [],685 result: "pointer"686 },687 FP128Type: {688 name: "LLVMFP128Type",689 parameters: [],690 result: "pointer"691 },692 PPCFP128Type: {693 name: "LLVMPPCFP128Type",694 parameters: [],695 result: "pointer"696 },697 FunctionType: {698 name: "LLVMFunctionType",699 parameters: ["pointer", "pointer", "u32", "i32"],700 result: "pointer"701 },702 IsFunctionVarArg: {703 name: "LLVMIsFunctionVarArg",704 parameters: ["pointer"],705 result: "i32"706 },707 GetReturnType: {708 name: "LLVMGetReturnType",709 parameters: ["pointer"],710 result: "pointer"711 },712 CountParamTypes: {713 name: "LLVMCountParamTypes",714 parameters: ["pointer"],715 result: "u32"716 },717 GetParamTypes: {718 name: "LLVMGetParamTypes",719 parameters: ["pointer", "pointer"],720 result: "void"721 },722 StructTypeInContext: {723 name: "LLVMStructTypeInContext",724 parameters: ["pointer", "pointer", "u32", "i32"],725 result: "pointer"726 },727 StructType: {728 name: "LLVMStructType",729 parameters: ["pointer", "u32", "i32"],730 result: "pointer"731 },732 StructCreateNamed: {733 name: "LLVMStructCreateNamed",734 parameters: ["pointer", "pointer"],735 result: "pointer"736 },737 GetStructName: {738 name: "LLVMGetStructName",739 parameters: ["pointer"],740 result: "pointer"741 },742 StructSetBody: {743 name: "LLVMStructSetBody",744 parameters: ["pointer", "pointer", "u32", "i32"],745 result: "void"746 },747 CountStructElementTypes: {748 name: "LLVMCountStructElementTypes",749 parameters: ["pointer"],750 result: "u32"751 },752 GetStructElementTypes: {753 name: "LLVMGetStructElementTypes",754 parameters: ["pointer", "pointer"],755 result: "void"756 },757 StructGetTypeAtIndex: {758 name: "LLVMStructGetTypeAtIndex",759 parameters: ["pointer", "u32"],760 result: "pointer"761 },762 IsPackedStruct: {763 name: "LLVMIsPackedStruct",764 parameters: ["pointer"],765 result: "i32"766 },767 IsOpaqueStruct: {768 name: "LLVMIsOpaqueStruct",769 parameters: ["pointer"],770 result: "i32"771 },772 IsLiteralStruct: {773 name: "LLVMIsLiteralStruct",774 parameters: ["pointer"],775 result: "i32"776 },777 GetElementType: {778 name: "LLVMGetElementType",779 parameters: ["pointer"],780 result: "pointer"781 },782 GetSubtypes: {783 name: "LLVMGetSubtypes",784 parameters: ["pointer", "pointer"],785 result: "void"786 },787 GetNumContainedTypes: {788 name: "LLVMGetNumContainedTypes",789 parameters: ["pointer"],790 result: "u32"791 },792 ArrayType: {793 name: "LLVMArrayType",794 parameters: ["pointer", "u32"],795 result: "pointer"796 },797 GetArrayLength: {798 name: "LLVMGetArrayLength",799 parameters: ["pointer"],800 result: "u32"801 },802 PointerType: {803 name: "LLVMPointerType",804 parameters: ["pointer", "u32"],805 result: "pointer"806 },807 GetPointerAddressSpace: {808 name: "LLVMGetPointerAddressSpace",809 parameters: ["pointer"],810 result: "u32"811 },812 VectorType: {813 name: "LLVMVectorType",814 parameters: ["pointer", "u32"],815 result: "pointer"816 },817 ScalableVectorType: {818 name: "LLVMScalableVectorType",819 parameters: ["pointer", "u32"],820 result: "pointer"821 },822 GetVectorSize: {823 name: "LLVMGetVectorSize",824 parameters: ["pointer"],825 result: "u32"826 },827 VoidTypeInContext: {828 name: "LLVMVoidTypeInContext",829 parameters: ["pointer"],830 result: "pointer"831 },832 LabelTypeInContext: {833 name: "LLVMLabelTypeInContext",834 parameters: ["pointer"],835 result: "pointer"836 },837 X86MMXTypeInContext: {838 name: "LLVMX86MMXTypeInContext",839 parameters: ["pointer"],840 result: "pointer"841 },842 X86AMXTypeInContext: {843 name: "LLVMX86AMXTypeInContext",844 parameters: ["pointer"],845 result: "pointer"846 },847 TokenTypeInContext: {848 name: "LLVMTokenTypeInContext",849 parameters: ["pointer"],850 result: "pointer"851 },852 MetadataTypeInContext: {853 name: "LLVMMetadataTypeInContext",854 parameters: ["pointer"],855 result: "pointer"856 },857 VoidType: {858 name: "LLVMVoidType",859 parameters: [],860 result: "pointer"861 },862 LabelType: {863 name: "LLVMLabelType",864 parameters: [],865 result: "pointer"866 },867 X86MMXType: {868 name: "LLVMX86MMXType",869 parameters: [],870 result: "pointer"871 },872 X86AMXType: {873 name: "LLVMX86AMXType",874 parameters: [],875 result: "pointer"876 },877 TypeOf: {878 name: "LLVMTypeOf",879 parameters: ["pointer"],880 result: "pointer"881 },882 GetValueKind: {883 name: "LLVMGetValueKind",884 parameters: ["pointer"],885 result: "i32"886 },887 GetValueName2: {888 name: "LLVMGetValueName2",889 parameters: ["pointer", "pointer"],890 result: "pointer"891 },892 SetValueName2: {893 name: "LLVMSetValueName2",894 parameters: ["pointer", "pointer", "u64"],895 result: "void"896 },897 DumpValue: {898 name: "LLVMDumpValue",899 parameters: ["pointer"],900 result: "void"901 },902 PrintValueToString: {903 name: "LLVMPrintValueToString",904 parameters: ["pointer"],905 result: "pointer"906 },907 ReplaceAllUsesWith: {908 name: "LLVMReplaceAllUsesWith",909 parameters: ["pointer", "pointer"],910 result: "void"911 },912 IsConstant: {913 name: "LLVMIsConstant",914 parameters: ["pointer"],915 result: "i32"916 },917 IsUndef: {918 name: "LLVMIsUndef",919 parameters: ["pointer"],920 result: "i32"921 },922 IsPoison: {923 name: "LLVMIsPoison",924 parameters: ["pointer"],925 result: "i32"926 },927 IsAArgument: {928 name: "LLVMIsAArgument",929 parameters: ["pointer"],930 result: "pointer"931 },932 IsABasicBlock: {933 name: "LLVMIsABasicBlock",934 parameters: ["pointer"],935 result: "pointer"936 },937 IsAInlineAsm: {938 name: "LLVMIsAInlineAsm",939 parameters: ["pointer"],940 result: "pointer"941 },942 IsAUser: {943 name: "LLVMIsAUser",944 parameters: ["pointer"],945 result: "pointer"946 },947 IsAConstant: {948 name: "LLVMIsAConstant",949 parameters: ["pointer"],950 result: "pointer"951 },952 IsABlockAddress: {953 name: "LLVMIsABlockAddress",954 parameters: ["pointer"],955 result: "pointer"956 },957 IsAConstantAggregateZero: {958 name: "LLVMIsAConstantAggregateZero",959 parameters: ["pointer"],960 result: "pointer"961 },962 IsAConstantArray: {963 name: "LLVMIsAConstantArray",964 parameters: ["pointer"],965 result: "pointer"966 },967 IsAConstantDataSequential: {968 name: "LLVMIsAConstantDataSequential",969 parameters: ["pointer"],970 result: "pointer"971 },972 IsAConstantDataArray: {973 name: "LLVMIsAConstantDataArray",974 parameters: ["pointer"],975 result: "pointer"976 },977 IsAConstantDataVector: {978 name: "LLVMIsAConstantDataVector",979 parameters: ["pointer"],980 result: "pointer"981 },982 IsAConstantExpr: {983 name: "LLVMIsAConstantExpr",984 parameters: ["pointer"],985 result: "pointer"986 },987 IsAConstantFP: {988 name: "LLVMIsAConstantFP",989 parameters: ["pointer"],990 result: "pointer"991 },992 IsAConstantInt: {993 name: "LLVMIsAConstantInt",994 parameters: ["pointer"],995 result: "pointer"996 },997 IsAConstantPointerNull: {998 name: "LLVMIsAConstantPointerNull",999 parameters: ["pointer"],1000 result: "pointer"1001 },1002 IsAConstantStruct: {1003 name: "LLVMIsAConstantStruct",1004 parameters: ["pointer"],1005 result: "pointer"1006 },1007 IsAConstantTokenNone: {1008 name: "LLVMIsAConstantTokenNone",1009 parameters: ["pointer"],1010 result: "pointer"1011 },1012 IsAConstantVector: {1013 name: "LLVMIsAConstantVector",1014 parameters: ["pointer"],1015 result: "pointer"1016 },1017 IsAGlobalValue: {1018 name: "LLVMIsAGlobalValue",1019 parameters: ["pointer"],1020 result: "pointer"1021 },1022 IsAGlobalAlias: {1023 name: "LLVMIsAGlobalAlias",1024 parameters: ["pointer"],1025 result: "pointer"1026 },1027 IsAGlobalObject: {1028 name: "LLVMIsAGlobalObject",1029 parameters: ["pointer"],1030 result: "pointer"1031 },1032 IsAFunction: {1033 name: "LLVMIsAFunction",1034 parameters: ["pointer"],1035 result: "pointer"1036 },1037 IsAGlobalVariable: {1038 name: "LLVMIsAGlobalVariable",1039 parameters: ["pointer"],1040 result: "pointer"1041 },1042 IsAGlobalIFunc: {1043 name: "LLVMIsAGlobalIFunc",1044 parameters: ["pointer"],1045 result: "pointer"1046 },1047 IsAUndefValue: {1048 name: "LLVMIsAUndefValue",1049 parameters: ["pointer"],1050 result: "pointer"1051 },1052 IsAPoisonValue: {1053 name: "LLVMIsAPoisonValue",1054 parameters: ["pointer"],1055 result: "pointer"1056 },1057 IsAInstruction: {1058 name: "LLVMIsAInstruction",1059 parameters: ["pointer"],1060 result: "pointer"1061 },1062 IsAUnaryOperator: {1063 name: "LLVMIsAUnaryOperator",1064 parameters: ["pointer"],1065 result: "pointer"1066 },1067 IsABinaryOperator: {1068 name: "LLVMIsABinaryOperator",1069 parameters: ["pointer"],1070 result: "pointer"1071 },1072 IsACallInst: {1073 name: "LLVMIsACallInst",1074 parameters: ["pointer"],1075 result: "pointer"1076 },1077 IsAIntrinsicInst: {1078 name: "LLVMIsAIntrinsicInst",1079 parameters: ["pointer"],1080 result: "pointer"1081 },1082 IsADbgInfoIntrinsic: {1083 name: "LLVMIsADbgInfoIntrinsic",1084 parameters: ["pointer"],1085 result: "pointer"1086 },1087 IsADbgVariableIntrinsic: {1088 name: "LLVMIsADbgVariableIntrinsic",1089 parameters: ["pointer"],1090 result: "pointer"1091 },1092 IsADbgDeclareInst: {1093 name: "LLVMIsADbgDeclareInst",1094 parameters: ["pointer"],1095 result: "pointer"1096 },1097 IsADbgLabelInst: {1098 name: "LLVMIsADbgLabelInst",1099 parameters: ["pointer"],1100 result: "pointer"1101 },1102 IsAMemIntrinsic: {1103 name: "LLVMIsAMemIntrinsic",1104 parameters: ["pointer"],1105 result: "pointer"1106 },1107 IsAMemCpyInst: {1108 name: "LLVMIsAMemCpyInst",1109 parameters: ["pointer"],1110 result: "pointer"1111 },1112 IsAMemMoveInst: {1113 name: "LLVMIsAMemMoveInst",1114 parameters: ["pointer"],1115 result: "pointer"1116 },1117 IsAMemSetInst: {1118 name: "LLVMIsAMemSetInst",1119 parameters: ["pointer"],1120 result: "pointer"1121 },1122 IsACmpInst: {1123 name: "LLVMIsACmpInst",1124 parameters: ["pointer"],1125 result: "pointer"1126 },1127 IsAFCmpInst: {1128 name: "LLVMIsAFCmpInst",1129 parameters: ["pointer"],1130 result: "pointer"1131 },1132 IsAICmpInst: {1133 name: "LLVMIsAICmpInst",1134 parameters: ["pointer"],1135 result: "pointer"1136 },1137 IsAExtractElementInst: {1138 name: "LLVMIsAExtractElementInst",1139 parameters: ["pointer"],1140 result: "pointer"1141 },1142 IsAGetElementPtrInst: {1143 name: "LLVMIsAGetElementPtrInst",1144 parameters: ["pointer"],1145 result: "pointer"1146 },1147 IsAInsertElementInst: {1148 name: "LLVMIsAInsertElementInst",1149 parameters: ["pointer"],1150 result: "pointer"1151 },1152 IsAInsertValueInst: {1153 name: "LLVMIsAInsertValueInst",1154 parameters: ["pointer"],1155 result: "pointer"1156 },1157 IsALandingPadInst: {1158 name: "LLVMIsALandingPadInst",1159 parameters: ["pointer"],1160 result: "pointer"1161 },1162 IsAPHINode: {1163 name: "LLVMIsAPHINode",1164 parameters: ["pointer"],1165 result: "pointer"1166 },1167 IsASelectInst: {1168 name: "LLVMIsASelectInst",1169 parameters: ["pointer"],1170 result: "pointer"1171 },1172 IsAShuffleVectorInst: {1173 name: "LLVMIsAShuffleVectorInst",1174 parameters: ["pointer"],1175 result: "pointer"1176 },1177 IsAStoreInst: {1178 name: "LLVMIsAStoreInst",1179 parameters: ["pointer"],1180 result: "pointer"1181 },1182 IsABranchInst: {1183 name: "LLVMIsABranchInst",1184 parameters: ["pointer"],1185 result: "pointer"1186 },1187 IsAIndirectBrInst: {1188 name: "LLVMIsAIndirectBrInst",1189 parameters: ["pointer"],1190 result: "pointer"1191 },1192 IsAInvokeInst: {1193 name: "LLVMIsAInvokeInst",1194 parameters: ["pointer"],1195 result: "pointer"1196 },1197 IsAReturnInst: {1198 name: "LLVMIsAReturnInst",1199 parameters: ["pointer"],1200 result: "pointer"1201 },1202 IsASwitchInst: {1203 name: "LLVMIsASwitchInst",1204 parameters: ["pointer"],1205 result: "pointer"1206 },1207 IsAUnreachableInst: {1208 name: "LLVMIsAUnreachableInst",1209 parameters: ["pointer"],1210 result: "pointer"1211 },1212 IsAResumeInst: {1213 name: "LLVMIsAResumeInst",1214 parameters: ["pointer"],1215 result: "pointer"1216 },1217 IsACleanupReturnInst: {1218 name: "LLVMIsACleanupReturnInst",1219 parameters: ["pointer"],1220 result: "pointer"1221 },1222 IsACatchReturnInst: {1223 name: "LLVMIsACatchReturnInst",1224 parameters: ["pointer"],1225 result: "pointer"1226 },1227 IsACatchSwitchInst: {1228 name: "LLVMIsACatchSwitchInst",1229 parameters: ["pointer"],1230 result: "pointer"1231 },1232 IsACallBrInst: {1233 name: "LLVMIsACallBrInst",1234 parameters: ["pointer"],1235 result: "pointer"1236 },1237 IsAFuncletPadInst: {1238 name: "LLVMIsAFuncletPadInst",1239 parameters: ["pointer"],1240 result: "pointer"1241 },1242 IsACatchPadInst: {1243 name: "LLVMIsACatchPadInst",1244 parameters: ["pointer"],1245 result: "pointer"1246 },1247 IsACleanupPadInst: {1248 name: "LLVMIsACleanupPadInst",1249 parameters: ["pointer"],1250 result: "pointer"1251 },1252 IsAUnaryInstruction: {1253 name: "LLVMIsAUnaryInstruction",1254 parameters: ["pointer"],1255 result: "pointer"1256 },1257 IsAAllocaInst: {1258 name: "LLVMIsAAllocaInst",1259 parameters: ["pointer"],1260 result: "pointer"1261 },1262 IsACastInst: {1263 name: "LLVMIsACastInst",1264 parameters: ["pointer"],1265 result: "pointer"1266 },1267 IsAAddrSpaceCastInst: {1268 name: "LLVMIsAAddrSpaceCastInst",1269 parameters: ["pointer"],1270 result: "pointer"1271 },1272 IsABitCastInst: {1273 name: "LLVMIsABitCastInst",1274 parameters: ["pointer"],1275 result: "pointer"1276 },1277 IsAFPExtInst: {1278 name: "LLVMIsAFPExtInst",1279 parameters: ["pointer"],1280 result: "pointer"1281 },1282 IsAFPToSIInst: {1283 name: "LLVMIsAFPToSIInst",1284 parameters: ["pointer"],1285 result: "pointer"1286 },1287 IsAFPToUIInst: {1288 name: "LLVMIsAFPToUIInst",1289 parameters: ["pointer"],1290 result: "pointer"1291 },1292 IsAFPTruncInst: {1293 name: "LLVMIsAFPTruncInst",1294 parameters: ["pointer"],1295 result: "pointer"1296 },1297 IsAIntToPtrInst: {1298 name: "LLVMIsAIntToPtrInst",1299 parameters: ["pointer"],1300 result: "pointer"1301 },1302 IsAPtrToIntInst: {1303 name: "LLVMIsAPtrToIntInst",1304 parameters: ["pointer"],1305 result: "pointer"1306 },1307 IsASExtInst: {1308 name: "LLVMIsASExtInst",1309 parameters: ["pointer"],1310 result: "pointer"1311 },1312 IsASIToFPInst: {1313 name: "LLVMIsASIToFPInst",1314 parameters: ["pointer"],1315 result: "pointer"1316 },1317 IsATruncInst: {1318 name: "LLVMIsATruncInst",1319 parameters: ["pointer"],1320 result: "pointer"1321 },1322 IsAUIToFPInst: {1323 name: "LLVMIsAUIToFPInst",1324 parameters: ["pointer"],1325 result: "pointer"1326 },1327 IsAZExtInst: {1328 name: "LLVMIsAZExtInst",1329 parameters: ["pointer"],1330 result: "pointer"1331 },1332 IsAExtractValueInst: {1333 name: "LLVMIsAExtractValueInst",1334 parameters: ["pointer"],1335 result: "pointer"1336 },1337 IsALoadInst: {1338 name: "LLVMIsALoadInst",1339 parameters: ["pointer"],1340 result: "pointer"1341 },1342 IsAVAArgInst: {1343 name: "LLVMIsAVAArgInst",1344 parameters: ["pointer"],1345 result: "pointer"1346 },1347 IsAFreezeInst: {1348 name: "LLVMIsAFreezeInst",1349 parameters: ["pointer"],1350 result: "pointer"1351 },1352 IsAAtomicCmpXchgInst: {1353 name: "LLVMIsAAtomicCmpXchgInst",1354 parameters: ["pointer"],1355 result: "pointer"1356 },1357 IsAAtomicRMWInst: {1358 name: "LLVMIsAAtomicRMWInst",1359 parameters: ["pointer"],1360 result: "pointer"1361 },1362 IsAFenceInst: {1363 name: "LLVMIsAFenceInst",1364 parameters: ["pointer"],1365 result: "pointer"1366 },1367 IsAMDNode: {1368 name: "LLVMIsAMDNode",1369 parameters: ["pointer"],1370 result: "pointer"1371 },1372 IsAMDString: {1373 name: "LLVMIsAMDString",1374 parameters: ["pointer"],1375 result: "pointer"1376 },1377 GetValueName: {1378 name: "LLVMGetValueName",1379 parameters: ["pointer"],1380 result: "pointer"1381 },1382 SetValueName: {1383 name: "LLVMSetValueName",1384 parameters: ["pointer", "pointer"],1385 result: "void"1386 },1387 GetFirstUse: {1388 name: "LLVMGetFirstUse",1389 parameters: ["pointer"],1390 result: "pointer"1391 },1392 GetNextUse: {1393 name: "LLVMGetNextUse",1394 parameters: ["pointer"],1395 result: "pointer"1396 },1397 GetUser: {1398 name: "LLVMGetUser",1399 parameters: ["pointer"],1400 result: "pointer"1401 },1402 GetUsedValue: {1403 name: "LLVMGetUsedValue",1404 parameters: ["pointer"],1405 result: "pointer"1406 },1407 GetOperand: {1408 name: "LLVMGetOperand",1409 parameters: ["pointer", "u32"],1410 result: "pointer"1411 },1412 GetOperandUse: {1413 name: "LLVMGetOperandUse",1414 parameters: ["pointer", "u32"],1415 result: "pointer"1416 },1417 SetOperand: {1418 name: "LLVMSetOperand",1419 parameters: ["pointer", "u32", "pointer"],1420 result: "void"1421 },1422 GetNumOperands: {1423 name: "LLVMGetNumOperands",1424 parameters: ["pointer"],1425 result: "i32"1426 },1427 ConstNull: {1428 name: "LLVMConstNull",1429 parameters: ["pointer"],1430 result: "pointer"1431 },1432 ConstAllOnes: {1433 name: "LLVMConstAllOnes",1434 parameters: ["pointer"],1435 result: "pointer"1436 },1437 GetUndef: {1438 name: "LLVMGetUndef",1439 parameters: ["pointer"],1440 result: "pointer"1441 },1442 GetPoison: {1443 name: "LLVMGetPoison",1444 parameters: ["pointer"],1445 result: "pointer"1446 },1447 IsNull: {1448 name: "LLVMIsNull",1449 parameters: ["pointer"],1450 result: "i32"1451 },1452 ConstPointerNull: {1453 name: "LLVMConstPointerNull",1454 parameters: ["pointer"],1455 result: "pointer"1456 },1457 ConstInt: {1458 name: "LLVMConstInt",1459 parameters: ["pointer", "u64", "i32"],1460 result: "pointer"1461 },1462 ConstIntOfArbitraryPrecision: {1463 name: "LLVMConstIntOfArbitraryPrecision",1464 parameters: ["pointer", "u32", "pointer"],1465 result: "pointer"1466 },1467 ConstIntOfString: {1468 name: "LLVMConstIntOfString",1469 parameters: ["pointer", "pointer", "u8"],1470 result: "pointer"1471 },1472 ConstIntOfStringAndSize: {1473 name: "LLVMConstIntOfStringAndSize",1474 parameters: ["pointer", "pointer", "u32", "u8"],1475 result: "pointer"1476 },1477 ConstReal: {1478 name: "LLVMConstReal",1479 parameters: ["pointer", "f64"],1480 result: "pointer"1481 },1482 ConstRealOfString: {1483 name: "LLVMConstRealOfString",1484 parameters: ["pointer", "pointer"],1485 result: "pointer"1486 },1487 ConstRealOfStringAndSize: {1488 name: "LLVMConstRealOfStringAndSize",1489 parameters: ["pointer", "pointer", "u32"],1490 result: "pointer"1491 },1492 ConstIntGetZExtValue: {1493 name: "LLVMConstIntGetZExtValue",1494 parameters: ["pointer"],1495 result: "u64"1496 },1497 ConstIntGetSExtValue: {1498 name: "LLVMConstIntGetSExtValue",1499 parameters: ["pointer"],1500 result: "i64"1501 },1502 ConstRealGetDouble: {1503 name: "LLVMConstRealGetDouble",1504 parameters: ["pointer", "pointer"],1505 result: "f64"1506 },1507 ConstStringInContext: {1508 name: "LLVMConstStringInContext",1509 parameters: ["pointer", "pointer", "u32", "i32"],1510 result: "pointer"1511 },1512 ConstString: {1513 name: "LLVMConstString",1514 parameters: ["pointer", "u32", "i32"],1515 result: "pointer"1516 },1517 IsConstantString: {1518 name: "LLVMIsConstantString",1519 parameters: ["pointer"],1520 result: "i32"1521 },1522 GetAsString: {1523 name: "LLVMGetAsString",1524 parameters: ["pointer", "pointer"],1525 result: "pointer"1526 },1527 ConstStructInContext: {1528 name: "LLVMConstStructInContext",1529 parameters: ["pointer", "pointer", "u32", "i32"],1530 result: "pointer"1531 },1532 ConstStruct: {1533 name: "LLVMConstStruct",1534 parameters: ["pointer", "u32", "i32"],1535 result: "pointer"1536 },1537 ConstArray: {1538 name: "LLVMConstArray",1539 parameters: ["pointer", "pointer", "u32"],1540 result: "pointer"1541 },1542 ConstNamedStruct: {1543 name: "LLVMConstNamedStruct",1544 parameters: ["pointer", "pointer", "u32"],1545 result: "pointer"1546 },1547 GetElementAsConstant: {1548 name: "LLVMGetElementAsConstant",1549 parameters: ["pointer", "u32"],1550 result: "pointer"1551 },1552 ConstVector: {1553 name: "LLVMConstVector",1554 parameters: ["pointer", "u32"],1555 result: "pointer"1556 },1557 GetConstOpcode: {1558 name: "LLVMGetConstOpcode",1559 parameters: ["pointer"],1560 result: "i32"1561 },1562 AlignOf: {1563 name: "LLVMAlignOf",1564 parameters: ["pointer"],1565 result: "pointer"1566 },1567 SizeOf: {1568 name: "LLVMSizeOf",1569 parameters: ["pointer"],1570 result: "pointer"1571 },1572 ConstNeg: {1573 name: "LLVMConstNeg",1574 parameters: ["pointer"],1575 result: "pointer"1576 },1577 ConstNSWNeg: {1578 name: "LLVMConstNSWNeg",1579 parameters: ["pointer"],1580 result: "pointer"1581 },1582 ConstNUWNeg: {1583 name: "LLVMConstNUWNeg",1584 parameters: ["pointer"],1585 result: "pointer"1586 },1587 ConstFNeg: {1588 name: "LLVMConstFNeg",1589 parameters: ["pointer"],1590 result: "pointer"1591 },1592 ConstNot: {1593 name: "LLVMConstNot",1594 parameters: ["pointer"],1595 result: "pointer"1596 },1597 ConstAdd: {1598 name: "LLVMConstAdd",1599 parameters: ["pointer", "pointer"],1600 result: "pointer"1601 },1602 ConstNSWAdd: {1603 name: "LLVMConstNSWAdd",1604 parameters: ["pointer", "pointer"],1605 result: "pointer"1606 },1607 ConstNUWAdd: {1608 name: "LLVMConstNUWAdd",1609 parameters: ["pointer", "pointer"],1610 result: "pointer"1611 },1612 ConstFAdd: {1613 name: "LLVMConstFAdd",1614 parameters: ["pointer", "pointer"],1615 result: "pointer"1616 },1617 ConstSub: {1618 name: "LLVMConstSub",1619 parameters: ["pointer", "pointer"],1620 result: "pointer"1621 },1622 ConstNSWSub: {1623 name: "LLVMConstNSWSub",1624 parameters: ["pointer", "pointer"],1625 result: "pointer"1626 },1627 ConstNUWSub: {1628 name: "LLVMConstNUWSub",1629 parameters: ["pointer", "pointer"],1630 result: "pointer"1631 },1632 ConstFSub: {1633 name: "LLVMConstFSub",1634 parameters: ["pointer", "pointer"],1635 result: "pointer"1636 },1637 ConstMul: {1638 name: "LLVMConstMul",1639 parameters: ["pointer", "pointer"],1640 result: "pointer"1641 },1642 ConstNSWMul: {1643 name: "LLVMConstNSWMul",1644 parameters: ["pointer", "pointer"],1645 result: "pointer"1646 },1647 ConstNUWMul: {1648 name: "LLVMConstNUWMul",1649 parameters: ["pointer", "pointer"],1650 result: "pointer"1651 },1652 ConstFMul: {1653 name: "LLVMConstFMul",1654 parameters: ["pointer", "pointer"],1655 result: "pointer"1656 },1657 ConstUDiv: {1658 name: "LLVMConstUDiv",1659 parameters: ["pointer", "pointer"],1660 result: "pointer"1661 },1662 ConstExactUDiv: {1663 name: "LLVMConstExactUDiv",1664 parameters: ["pointer", "pointer"],1665 result: "pointer"1666 },1667 ConstSDiv: {1668 name: "LLVMConstSDiv",1669 parameters: ["pointer", "pointer"],1670 result: "pointer"1671 },1672 ConstExactSDiv: {1673 name: "LLVMConstExactSDiv",1674 parameters: ["pointer", "pointer"],1675 result: "pointer"1676 },1677 ConstFDiv: {1678 name: "LLVMConstFDiv",1679 parameters: ["pointer", "pointer"],1680 result: "pointer"1681 },1682 ConstURem: {1683 name: "LLVMConstURem",1684 parameters: ["pointer", "pointer"],1685 result: "pointer"1686 },1687 ConstSRem: {1688 name: "LLVMConstSRem",1689 parameters: ["pointer", "pointer"],1690 result: "pointer"1691 },1692 ConstFRem: {1693 name: "LLVMConstFRem",1694 parameters: ["pointer", "pointer"],1695 result: "pointer"1696 },1697 ConstAnd: {1698 name: "LLVMConstAnd",1699 parameters: ["pointer", "pointer"],1700 result: "pointer"1701 },1702 ConstOr: {1703 name: "LLVMConstOr",1704 parameters: ["pointer", "pointer"],1705 result: "pointer"1706 },1707 ConstXor: {1708 name: "LLVMConstXor",1709 parameters: ["pointer", "pointer"],1710 result: "pointer"1711 },1712 ConstICmp: {1713 name: "LLVMConstICmp",1714 parameters: ["i32", "pointer", "pointer"],1715 result: "pointer"1716 },1717 ConstFCmp: {1718 name: "LLVMConstFCmp",1719 parameters: ["i32", "pointer", "pointer"],1720 result: "pointer"1721 },1722 ConstShl: {1723 name: "LLVMConstShl",1724 parameters: ["pointer", "pointer"],1725 result: "pointer"1726 },1727 ConstLShr: {1728 name: "LLVMConstLShr",1729 parameters: ["pointer", "pointer"],1730 result: "pointer"1731 },1732 ConstAShr: {1733 name: "LLVMConstAShr",1734 parameters: ["pointer", "pointer"],1735 result: "pointer"1736 },1737 ConstGEP: {1738 name: "LLVMConstGEP",1739 parameters: ["pointer", "pointer", "u32"],1740 result: "pointer"1741 },1742 ConstGEP2: {1743 name: "LLVMConstGEP2",1744 parameters: ["pointer", "pointer", "pointer", "u32"],1745 result: "pointer"1746 },1747 ConstInBoundsGEP: {1748 name: "LLVMConstInBoundsGEP",1749 parameters: ["pointer", "pointer", "u32"],1750 result: "pointer"1751 },1752 ConstInBoundsGEP2: {1753 name: "LLVMConstInBoundsGEP2",1754 parameters: ["pointer", "pointer", "pointer", "u32"],1755 result: "pointer"1756 },1757 ConstTrunc: {1758 name: "LLVMConstTrunc",1759 parameters: ["pointer", "pointer"],1760 result: "pointer"1761 },1762 ConstSExt: {1763 name: "LLVMConstSExt",1764 parameters: ["pointer", "pointer"],1765 result: "pointer"1766 },1767 ConstZExt: {1768 name: "LLVMConstZExt",1769 parameters: ["pointer", "pointer"],1770 result: "pointer"1771 },1772 ConstFPTrunc: {1773 name: "LLVMConstFPTrunc",1774 parameters: ["pointer", "pointer"],1775 result: "pointer"1776 },1777 ConstFPExt: {1778 name: "LLVMConstFPExt",1779 parameters: ["pointer", "pointer"],1780 result: "pointer"1781 },1782 ConstUIToFP: {1783 name: "LLVMConstUIToFP",1784 parameters: ["pointer", "pointer"],1785 result: "pointer"1786 },1787 ConstSIToFP: {1788 name: "LLVMConstSIToFP",1789 parameters: ["pointer", "pointer"],1790 result: "pointer"1791 },1792 ConstFPToUI: {1793 name: "LLVMConstFPToUI",1794 parameters: ["pointer", "pointer"],1795 result: "pointer"1796 },1797 ConstFPToSI: {1798 name: "LLVMConstFPToSI",1799 parameters: ["pointer", "pointer"],1800 result: "pointer"1801 },1802 ConstPtrToInt: {1803 name: "LLVMConstPtrToInt",1804 parameters: ["pointer", "pointer"],1805 result: "pointer"1806 },1807 ConstIntToPtr: {1808 name: "LLVMConstIntToPtr",1809 parameters: ["pointer", "pointer"],1810 result: "pointer"1811 },1812 ConstBitCast: {1813 name: "LLVMConstBitCast",1814 parameters: ["pointer", "pointer"],1815 result: "pointer"1816 },1817 ConstAddrSpaceCast: {1818 name: "LLVMConstAddrSpaceCast",1819 parameters: ["pointer", "pointer"],1820 result: "pointer"1821 },1822 ConstZExtOrBitCast: {1823 name: "LLVMConstZExtOrBitCast",1824 parameters: ["pointer", "pointer"],1825 result: "pointer"1826 },1827 ConstSExtOrBitCast: {1828 name: "LLVMConstSExtOrBitCast",1829 parameters: ["pointer", "pointer"],1830 result: "pointer"1831 },1832 ConstTruncOrBitCast: {1833 name: "LLVMConstTruncOrBitCast",1834 parameters: ["pointer", "pointer"],1835 result: "pointer"1836 },1837 ConstPointerCast: {1838 name: "LLVMConstPointerCast",1839 parameters: ["pointer", "pointer"],1840 result: "pointer"1841 },1842 ConstIntCast: {1843 name: "LLVMConstIntCast",1844 parameters: ["pointer", "pointer", "i32"],1845 result: "pointer"1846 },1847 ConstFPCast: {1848 name: "LLVMConstFPCast",1849 parameters: ["pointer", "pointer"],1850 result: "pointer"1851 },1852 ConstSelect: {1853 name: "LLVMConstSelect",1854 parameters: ["pointer", "pointer", "pointer"],1855 result: "pointer"1856 },1857 ConstExtractElement: {1858 name: "LLVMConstExtractElement",1859 parameters: ["pointer", "pointer"],1860 result: "pointer"1861 },1862 ConstInsertElement: {1863 name: "LLVMConstInsertElement",1864 parameters: ["pointer", "pointer", "pointer"],1865 result: "pointer"1866 },1867 ConstShuffleVector: {1868 name: "LLVMConstShuffleVector",1869 parameters: ["pointer", "pointer", "pointer"],1870 result: "pointer"1871 },1872 ConstExtractValue: {1873 name: "LLVMConstExtractValue",1874 parameters: ["pointer", "pointer", "u32"],1875 result: "pointer"1876 },1877 ConstInsertValue: {1878 name: "LLVMConstInsertValue",1879 parameters: ["pointer", "pointer", "pointer", "u32"],1880 result: "pointer"1881 },1882 BlockAddress: {1883 name: "LLVMBlockAddress",1884 parameters: ["pointer", "pointer"],1885 result: "pointer"1886 },1887 ConstInlineAsm: {1888 name: "LLVMConstInlineAsm",1889 parameters: ["pointer", "pointer", "pointer", "i32", "i32"],1890 result: "pointer"1891 },1892 GetGlobalParent: {1893 name: "LLVMGetGlobalParent",1894 parameters: ["pointer"],1895 result: "pointer"1896 },1897 IsDeclaration: {1898 name: "LLVMIsDeclaration",1899 parameters: ["pointer"],1900 result: "i32"1901 },1902 GetLinkage: {1903 name: "LLVMGetLinkage",1904 parameters: ["pointer"],1905 result: "i32"1906 },1907 SetLinkage: {1908 name: "LLVMSetLinkage",1909 parameters: ["pointer", "i32"],1910 result: "void"1911 },1912 GetSection: {1913 name: "LLVMGetSection",1914 parameters: ["pointer"],1915 result: "pointer"1916 },1917 SetSection: {1918 name: "LLVMSetSection",1919 parameters: ["pointer", "pointer"],1920 result: "void"1921 },1922 GetVisibility: {1923 name: "LLVMGetVisibility",1924 parameters: ["pointer"],1925 result: "i32"1926 },1927 SetVisibility: {1928 name: "LLVMSetVisibility",1929 parameters: ["pointer", "i32"],1930 result: "void"1931 },1932 GetDLLStorageClass: {1933 name: "LLVMGetDLLStorageClass",1934 parameters: ["pointer"],1935 result: "i32"1936 },1937 SetDLLStorageClass: {1938 name: "LLVMSetDLLStorageClass",1939 parameters: ["pointer", "i32"],1940 result: "void"1941 },1942 GetUnnamedAddress: {1943 name: "LLVMGetUnnamedAddress",1944 parameters: ["pointer"],1945 result: "i32"1946 },1947 SetUnnamedAddress: {1948 name: "LLVMSetUnnamedAddress",1949 parameters: ["pointer", "i32"],1950 result: "void"1951 },1952 GlobalGetValueType: {1953 name: "LLVMGlobalGetValueType",1954 parameters: ["pointer"],1955 result: "pointer"1956 },1957 HasUnnamedAddr: {1958 name: "LLVMHasUnnamedAddr",1959 parameters: ["pointer"],1960 result: "i32"1961 },1962 SetUnnamedAddr: {1963 name: "LLVMSetUnnamedAddr",1964 parameters: ["pointer", "i32"],1965 result: "void"1966 },1967 GetAlignment: {1968 name: "LLVMGetAlignment",1969 parameters: ["pointer"],1970 result: "u32"1971 },1972 SetAlignment: {1973 name: "LLVMSetAlignment",1974 parameters: ["pointer", "u32"],1975 result: "void"1976 },1977 GlobalSetMetadata: {1978 name: "LLVMGlobalSetMetadata",1979 parameters: ["pointer", "u32", "pointer"],1980 result: "void"1981 },1982 GlobalEraseMetadata: {1983 name: "LLVMGlobalEraseMetadata",1984 parameters: ["pointer", "u32"],1985 result: "void"1986 },1987 GlobalClearMetadata: {1988 name: "LLVMGlobalClearMetadata",1989 parameters: ["pointer"],1990 result: "void"1991 },1992 GlobalCopyAllMetadata: {1993 name: "LLVMGlobalCopyAllMetadata",1994 parameters: ["pointer", "pointer"],1995 result: "pointer"1996 },1997 DisposeValueMetadataEntries: {1998 name: "LLVMDisposeValueMetadataEntries",1999 parameters: ["pointer"],2000 result: "void"2001 },2002 ValueMetadataEntriesGetKind: {2003 name: "LLVMValueMetadataEntriesGetKind",2004 parameters: ["pointer", "u32"],2005 result: "u32"2006 },2007 ValueMetadataEntriesGetMetadata: {2008 name: "LLVMValueMetadataEntriesGetMetadata",2009 parameters: ["pointer", "u32"],2010 result: "pointer"2011 },2012 AddGlobal: {2013 name: "LLVMAddGlobal",2014 parameters: ["pointer", "pointer", "pointer"],2015 result: "pointer"2016 },2017 AddGlobalInAddressSpace: {2018 name: "LLVMAddGlobalInAddressSpace",2019 parameters: ["pointer", "pointer", "pointer", "u32"],2020 result: "pointer"2021 },2022 GetNamedGlobal: {2023 name: "LLVMGetNamedGlobal",2024 parameters: ["pointer", "pointer"],2025 result: "pointer"2026 },2027 GetFirstGlobal: {2028 name: "LLVMGetFirstGlobal",2029 parameters: ["pointer"],2030 result: "pointer"2031 },2032 GetLastGlobal: {2033 name: "LLVMGetLastGlobal",2034 parameters: ["pointer"],2035 result: "pointer"2036 },2037 GetNextGlobal: {2038 name: "LLVMGetNextGlobal",2039 parameters: ["pointer"],2040 result: "pointer"2041 },2042 GetPreviousGlobal: {2043 name: "LLVMGetPreviousGlobal",2044 parameters: ["pointer"],2045 result: "pointer"2046 },2047 DeleteGlobal: {2048 name: "LLVMDeleteGlobal",2049 parameters: ["pointer"],2050 result: "void"2051 },2052 GetInitializer: {2053 name: "LLVMGetInitializer",2054 parameters: ["pointer"],2055 result: "pointer"2056 },2057 SetInitializer: {2058 name: "LLVMSetInitializer",2059 parameters: ["pointer", "pointer"],2060 result: "void"2061 },2062 IsThreadLocal: {2063 name: "LLVMIsThreadLocal",2064 parameters: ["pointer"],2065 result: "i32"2066 },2067 SetThreadLocal: {2068 name: "LLVMSetThreadLocal",2069 parameters: ["pointer", "i32"],2070 result: "void"2071 },2072 IsGlobalConstant: {2073 name: "LLVMIsGlobalConstant",2074 parameters: ["pointer"],2075 result: "i32"2076 },2077 SetGlobalConstant: {2078 name: "LLVMSetGlobalConstant",2079 parameters: ["pointer", "i32"],2080 result: "void"2081 },2082 GetThreadLocalMode: {2083 name: "LLVMGetThreadLocalMode",2084 parameters: ["pointer"],2085 result: "i32"2086 },2087 SetThreadLocalMode: {2088 name: "LLVMSetThreadLocalMode",2089 parameters: ["pointer", "i32"],2090 result: "void"2091 },2092 IsExternallyInitialized: {2093 name: "LLVMIsExternallyInitialized",2094 parameters: ["pointer"],2095 result: "i32"2096 },2097 SetExternallyInitialized: {2098 name: "LLVMSetExternallyInitialized",2099 parameters: ["pointer", "i32"],2100 result: "void"2101 },2102 AddAlias: {2103 name: "LLVMAddAlias",2104 parameters: ["pointer", "pointer", "pointer", "pointer"],2105 result: "pointer"2106 },2107 AddAlias2: {2108 name: "LLVMAddAlias2",2109 parameters: ["pointer", "pointer", "u32", "pointer", "pointer"],2110 result: "pointer"2111 },2112 GetNamedGlobalAlias: {2113 name: "LLVMGetNamedGlobalAlias",2114 parameters: ["pointer", "pointer", "u64"],2115 result: "pointer"2116 },2117 GetFirstGlobalAlias: {2118 name: "LLVMGetFirstGlobalAlias",2119 parameters: ["pointer"],2120 result: "pointer"2121 },2122 GetLastGlobalAlias: {2123 name: "LLVMGetLastGlobalAlias",2124 parameters: ["pointer"],2125 result: "pointer"2126 },2127 GetNextGlobalAlias: {2128 name: "LLVMGetNextGlobalAlias",2129 parameters: ["pointer"],2130 result: "pointer"2131 },2132 GetPreviousGlobalAlias: {2133 name: "LLVMGetPreviousGlobalAlias",2134 parameters: ["pointer"],2135 result: "pointer"2136 },2137 AliasGetAliasee: {2138 name: "LLVMAliasGetAliasee",2139 parameters: ["pointer"],2140 result: "pointer"2141 },2142 AliasSetAliasee: {2143 name: "LLVMAliasSetAliasee",2144 parameters: ["pointer", "pointer"],2145 result: "void"2146 },2147 DeleteFunction: {2148 name: "LLVMDeleteFunction",2149 parameters: ["pointer"],2150 result: "void"2151 },2152 HasPersonalityFn: {2153 name: "LLVMHasPersonalityFn",2154 parameters: ["pointer"],2155 result: "i32"2156 },2157 GetPersonalityFn: {2158 name: "LLVMGetPersonalityFn",2159 parameters: ["pointer"],2160 result: "pointer"2161 },2162 SetPersonalityFn: {2163 name: "LLVMSetPersonalityFn",2164 parameters: ["pointer", "pointer"],2165 result: "void"2166 },2167 LookupIntrinsicID: {2168 name: "LLVMLookupIntrinsicID",2169 parameters: ["pointer", "u64"],2170 result: "u32"2171 },2172 GetIntrinsicID: {2173 name: "LLVMGetIntrinsicID",2174 parameters: ["pointer"],2175 result: "u32"2176 },2177 GetIntrinsicDeclaration: {2178 name: "LLVMGetIntrinsicDeclaration",2179 parameters: ["pointer", "u32", "pointer", "u64"],2180 result: "pointer"2181 },2182 IntrinsicGetType: {2183 name: "LLVMIntrinsicGetType",2184 parameters: ["pointer", "u32", "pointer", "u64"],2185 result: "pointer"2186 },2187 IntrinsicGetName: {2188 name: "LLVMIntrinsicGetName",2189 parameters: ["u32", "pointer"],2190 result: "pointer"2191 },2192 IntrinsicCopyOverloadedName: {2193 name: "LLVMIntrinsicCopyOverloadedName",2194 parameters: ["u32", "pointer", "u64", "pointer"],2195 result: "pointer"2196 },2197 IntrinsicCopyOverloadedName2: {2198 name: "LLVMIntrinsicCopyOverloadedName2",2199 parameters: ["pointer", "u32", "pointer", "u64", "pointer"],2200 result: "pointer"2201 },2202 IntrinsicIsOverloaded: {2203 name: "LLVMIntrinsicIsOverloaded",2204 parameters: ["u32"],2205 result: "i32"2206 },2207 GetFunctionCallConv: {2208 name: "LLVMGetFunctionCallConv",2209 parameters: ["pointer"],2210 result: "u32"2211 },2212 SetFunctionCallConv: {2213 name: "LLVMSetFunctionCallConv",2214 parameters: ["pointer", "u32"],2215 result: "void"2216 },2217 GetGC: {2218 name: "LLVMGetGC",2219 parameters: ["pointer"],2220 result: "pointer"2221 },2222 SetGC: {2223 name: "LLVMSetGC",2224 parameters: ["pointer", "pointer"],2225 result: "void"2226 },2227 AddAttributeAtIndex: {2228 name: "LLVMAddAttributeAtIndex",2229 parameters: ["pointer", "u32", "pointer"],2230 result: "void"2231 },2232 GetAttributeCountAtIndex: {2233 name: "LLVMGetAttributeCountAtIndex",2234 parameters: ["pointer", "u32"],2235 result: "u32"2236 },2237 GetAttributesAtIndex: {2238 name: "LLVMGetAttributesAtIndex",2239 parameters: ["pointer", "u32", "pointer"],2240 result: "void"2241 },2242 GetEnumAttributeAtIndex: {2243 name: "LLVMGetEnumAttributeAtIndex",2244 parameters: ["pointer", "u32", "u32"],2245 result: "pointer"2246 },2247 GetStringAttributeAtIndex: {2248 name: "LLVMGetStringAttributeAtIndex",2249 parameters: ["pointer", "u32", "pointer", "u32"],2250 result: "pointer"2251 },2252 RemoveEnumAttributeAtIndex: {2253 name: "LLVMRemoveEnumAttributeAtIndex",2254 parameters: ["pointer", "u32", "u32"],2255 result: "void"2256 },2257 RemoveStringAttributeAtIndex: {2258 name: "LLVMRemoveStringAttributeAtIndex",2259 parameters: ["pointer", "u32", "pointer", "u32"],2260 result: "void"2261 },2262 AddTargetDependentFunctionAttr: {2263 name: "LLVMAddTargetDependentFunctionAttr",2264 parameters: ["pointer", "pointer", "pointer"],2265 result: "void"2266 },2267 CountParams: {2268 name: "LLVMCountParams",2269 parameters: ["pointer"],2270 result: "u32"2271 },2272 GetParams: {2273 name: "LLVMGetParams",2274 parameters: ["pointer", "pointer"],2275 result: "void"2276 },2277 GetParam: {2278 name: "LLVMGetParam",2279 parameters: ["pointer", "u32"],2280 result: "pointer"2281 },2282 GetParamParent: {2283 name: "LLVMGetParamParent",2284 parameters: ["pointer"],2285 result: "pointer"2286 },2287 GetFirstParam: {2288 name: "LLVMGetFirstParam",2289 parameters: ["pointer"],2290 result: "pointer"2291 },2292 GetLastParam: {2293 name: "LLVMGetLastParam",2294 parameters: ["pointer"],2295 result: "pointer"2296 },2297 GetNextParam: {2298 name: "LLVMGetNextParam",2299 parameters: ["pointer"],2300 result: "pointer"2301 },2302 GetPreviousParam: {2303 name: "LLVMGetPreviousParam",2304 parameters: ["pointer"],2305 result: "pointer"2306 },2307 SetParamAlignment: {2308 name: "LLVMSetParamAlignment",2309 parameters: ["pointer", "u32"],2310 result: "void"2311 },2312 AddGlobalIFunc: {2313 name: "LLVMAddGlobalIFunc",2314 parameters: ["pointer", "pointer", "u64", "pointer", "u32", "pointer"],2315 result: "pointer"2316 },2317 GetNamedGlobalIFunc: {2318 name: "LLVMGetNamedGlobalIFunc",2319 parameters: ["pointer", "pointer", "u64"],2320 result: "pointer"2321 },2322 GetFirstGlobalIFunc: {2323 name: "LLVMGetFirstGlobalIFunc",2324 parameters: ["pointer"],2325 result: "pointer"2326 },2327 GetLastGlobalIFunc: {2328 name: "LLVMGetLastGlobalIFunc",2329 parameters: ["pointer"],2330 result: "pointer"2331 },2332 GetNextGlobalIFunc: {2333 name: "LLVMGetNextGlobalIFunc",2334 parameters: ["pointer"],2335 result: "pointer"2336 },2337 GetPreviousGlobalIFunc: {2338 name: "LLVMGetPreviousGlobalIFunc",2339 parameters: ["pointer"],2340 result: "pointer"2341 },2342 GetGlobalIFuncResolver: {2343 name: "LLVMGetGlobalIFuncResolver",2344 parameters: ["pointer"],2345 result: "pointer"2346 },2347 SetGlobalIFuncResolver: {2348 name: "LLVMSetGlobalIFuncResolver",2349 parameters: ["pointer", "pointer"],2350 result: "void"2351 },2352 EraseGlobalIFunc: {2353 name: "LLVMEraseGlobalIFunc",2354 parameters: ["pointer"],2355 result: "void"2356 },2357 RemoveGlobalIFunc: {2358 name: "LLVMRemoveGlobalIFunc",2359 parameters: ["pointer"],2360 result: "void"2361 },2362 MDStringInContext2: {2363 name: "LLVMMDStringInContext2",2364 parameters: ["pointer", "pointer", "u64"],2365 result: "pointer"2366 },2367 MDNodeInContext2: {2368 name: "LLVMMDNodeInContext2",2369 parameters: ["pointer", "pointer", "u64"],2370 result: "pointer"2371 },2372 MetadataAsValue: {2373 name: "LLVMMetadataAsValue",2374 parameters: ["pointer", "pointer"],2375 result: "pointer"2376 },2377 ValueAsMetadata: {2378 name: "LLVMValueAsMetadata",2379 parameters: ["pointer"],2380 result: "pointer"2381 },2382 GetMDString: {2383 name: "LLVMGetMDString",2384 parameters: ["pointer", "pointer"],2385 result: "pointer"2386 },2387 GetMDNodeNumOperands: {2388 name: "LLVMGetMDNodeNumOperands",2389 parameters: ["pointer"],2390 result: "u32"2391 },2392 GetMDNodeOperands: {2393 name: "LLVMGetMDNodeOperands",2394 parameters: ["pointer", "pointer"],2395 result: "void"2396 },2397 MDStringInContext: {2398 name: "LLVMMDStringInContext",2399 parameters: ["pointer", "pointer", "u32"],2400 result: "pointer"2401 },2402 MDString: {2403 name: "LLVMMDString",2404 parameters: ["pointer", "u32"],2405 result: "pointer"2406 },2407 MDNodeInContext: {2408 name: "LLVMMDNodeInContext",2409 parameters: ["pointer", "pointer", "u32"],2410 result: "pointer"2411 },2412 MDNode: {2413 name: "LLVMMDNode",2414 parameters: ["pointer", "u32"],2415 result: "pointer"2416 },2417 BasicBlockAsValue: {2418 name: "LLVMBasicBlockAsValue",2419 parameters: ["pointer"],2420 result: "pointer"2421 },2422 ValueIsBasicBlock: {2423 name: "LLVMValueIsBasicBlock",2424 parameters: ["pointer"],2425 result: "i32"2426 },2427 ValueAsBasicBlock: {2428 name: "LLVMValueAsBasicBlock",2429 parameters: ["pointer"],2430 result: "pointer"2431 },2432 GetBasicBlockName: {2433 name: "LLVMGetBasicBlockName",2434 parameters: ["pointer"],2435 result: "pointer"2436 },2437 GetBasicBlockParent: {2438 name: "LLVMGetBasicBlockParent",2439 parameters: ["pointer"],2440 result: "pointer"2441 },2442 GetBasicBlockTerminator: {2443 name: "LLVMGetBasicBlockTerminator",2444 parameters: ["pointer"],2445 result: "pointer"2446 },2447 CountBasicBlocks: {2448 name: "LLVMCountBasicBlocks",2449 parameters: ["pointer"],2450 result: "u32"2451 },2452 GetBasicBlocks: {2453 name: "LLVMGetBasicBlocks",2454 parameters: ["pointer", "pointer"],2455 result: "void"2456 },2457 GetFirstBasicBlock: {2458 name: "LLVMGetFirstBasicBlock",2459 parameters: ["pointer"],2460 result: "pointer"2461 },2462 GetLastBasicBlock: {2463 name: "LLVMGetLastBasicBlock",2464 parameters: ["pointer"],2465 result: "pointer"2466 },2467 GetNextBasicBlock: {2468 name: "LLVMGetNextBasicBlock",2469 parameters: ["pointer"],2470 result: "pointer"2471 },2472 GetPreviousBasicBlock: {2473 name: "LLVMGetPreviousBasicBlock",2474 parameters: ["pointer"],2475 result: "pointer"2476 },2477 GetEntryBasicBlock: {2478 name: "LLVMGetEntryBasicBlock",2479 parameters: ["pointer"],2480 result: "pointer"2481 },2482 InsertExistingBasicBlockAfterInsertBlock: {2483 name: "LLVMInsertExistingBasicBlockAfterInsertBlock",2484 parameters: ["pointer", "pointer"],2485 result: "void"2486 },2487 AppendExistingBasicBlock: {2488 name: "LLVMAppendExistingBasicBlock",2489 parameters: ["pointer", "pointer"],2490 result: "void"2491 },2492 CreateBasicBlockInContext: {2493 name: "LLVMCreateBasicBlockInContext",2494 parameters: ["pointer", "pointer"],2495 result: "pointer"2496 },2497 AppendBasicBlockInContext: {2498 name: "LLVMAppendBasicBlockInContext",2499 parameters: ["pointer", "pointer", "pointer"],2500 result: "pointer"2501 },2502 AppendBasicBlock: {2503 name: "LLVMAppendBasicBlock",2504 parameters: ["pointer", "pointer"],2505 result: "pointer"2506 },2507 InsertBasicBlockInContext: {2508 name: "LLVMInsertBasicBlockInContext",2509 parameters: ["pointer", "pointer", "pointer"],2510 result: "pointer"2511 },2512 InsertBasicBlock: {2513 name: "LLVMInsertBasicBlock",2514 parameters: ["pointer", "pointer"],2515 result: "pointer"2516 },2517 DeleteBasicBlock: {2518 name: "LLVMDeleteBasicBlock",2519 parameters: ["pointer"],2520 result: "void"2521 },2522 RemoveBasicBlockFromParent: {2523 name: "LLVMRemoveBasicBlockFromParent",2524 parameters: ["pointer"],2525 result: "void"2526 },2527 MoveBasicBlockBefore: {2528 name: "LLVMMoveBasicBlockBefore",2529 parameters: ["pointer", "pointer"],2530 result: "void"2531 },2532 MoveBasicBlockAfter: {2533 name: "LLVMMoveBasicBlockAfter",2534 parameters: ["pointer", "pointer"],2535 result: "void"2536 },2537 GetFirstInstruction: {2538 name: "LLVMGetFirstInstruction",2539 parameters: ["pointer"],2540 result: "pointer"2541 },2542 GetLastInstruction: {2543 name: "LLVMGetLastInstruction",2544 parameters: ["pointer"],2545 result: "pointer"2546 },2547 HasMetadata: {2548 name: "LLVMHasMetadata",2549 parameters: ["pointer"],2550 result: "i32"2551 },2552 GetMetadata: {2553 name: "LLVMGetMetadata",2554 parameters: ["pointer", "u32"],2555 result: "pointer"2556 },2557 SetMetadata: {2558 name: "LLVMSetMetadata",2559 parameters: ["pointer", "u32", "pointer"],2560 result: "void"2561 },2562 InstructionGetAllMetadataOtherThanDebugLoc: {2563 name: "LLVMInstructionGetAllMetadataOtherThanDebugLoc",2564 parameters: ["pointer", "pointer"],2565 result: "pointer"2566 },2567 GetInstructionParent: {2568 name: "LLVMGetInstructionParent",2569 parameters: ["pointer"],2570 result: "pointer"2571 },2572 GetNextInstruction: {2573 name: "LLVMGetNextInstruction",2574 parameters: ["pointer"],2575 result: "pointer"2576 },2577 GetPreviousInstruction: {2578 name: "LLVMGetPreviousInstruction",2579 parameters: ["pointer"],2580 result: "pointer"2581 },2582 InstructionRemoveFromParent: {2583 name: "LLVMInstructionRemoveFromParent",2584 parameters: ["pointer"],2585 result: "void"2586 },2587 InstructionEraseFromParent: {2588 name: "LLVMInstructionEraseFromParent",2589 parameters: ["pointer"],2590 result: "void"2591 },2592 GetInstructionOpcode: {2593 name: "LLVMGetInstructionOpcode",2594 parameters: ["pointer"],2595 result: "i32"2596 },2597 GetICmpPredicate: {2598 name: "LLVMGetICmpPredicate",2599 parameters: ["pointer"],2600 result: "i32"2601 },2602 GetFCmpPredicate: {2603 name: "LLVMGetFCmpPredicate",2604 parameters: ["pointer"],2605 result: "i32"2606 },2607 InstructionClone: {2608 name: "LLVMInstructionClone",2609 parameters: ["pointer"],2610 result: "pointer"2611 },2612 IsATerminatorInst: {2613 name: "LLVMIsATerminatorInst",2614 parameters: ["pointer"],2615 result: "pointer"2616 },2617 GetNumArgOperands: {2618 name: "LLVMGetNumArgOperands",2619 parameters: ["pointer"],2620 result: "u32"2621 },2622 SetInstructionCallConv: {2623 name: "LLVMSetInstructionCallConv",2624 parameters: ["pointer", "u32"],2625 result: "void"2626 },2627 GetInstructionCallConv: {2628 name: "LLVMGetInstructionCallConv",2629 parameters: ["pointer"],2630 result: "u32"2631 },2632 SetInstrParamAlignment: {2633 name: "LLVMSetInstrParamAlignment",2634 parameters: ["pointer", "u32", "u32"],2635 result: "void"2636 },2637 AddCallSiteAttribute: {2638 name: "LLVMAddCallSiteAttribute",2639 parameters: ["pointer", "u32", "pointer"],2640 result: "void"2641 },2642 GetCallSiteAttributeCount: {2643 name: "LLVMGetCallSiteAttributeCount",2644 parameters: ["pointer", "u32"],2645 result: "u32"2646 },2647 GetCallSiteAttributes: {2648 name: "LLVMGetCallSiteAttributes",2649 parameters: ["pointer", "u32", "pointer"],2650 result: "void"2651 },2652 GetCallSiteEnumAttribute: {2653 name: "LLVMGetCallSiteEnumAttribute",2654 parameters: ["pointer", "u32", "u32"],2655 result: "pointer"2656 },2657 GetCallSiteStringAttribute: {2658 name: "LLVMGetCallSiteStringAttribute",2659 parameters: ["pointer", "u32", "pointer", "u32"],2660 result: "pointer"2661 },2662 RemoveCallSiteEnumAttribute: {2663 name: "LLVMRemoveCallSiteEnumAttribute",2664 parameters: ["pointer", "u32", "u32"],2665 result: "void"2666 },2667 RemoveCallSiteStringAttribute: {2668 name: "LLVMRemoveCallSiteStringAttribute",2669 parameters: ["pointer", "u32", "pointer", "u32"],2670 result: "void"2671 },2672 GetCalledFunctionType: {2673 name: "LLVMGetCalledFunctionType",2674 parameters: ["pointer"],2675 result: "pointer"2676 },2677 GetCalledValue: {2678 name: "LLVMGetCalledValue",2679 parameters: ["pointer"],2680 result: "pointer"2681 },2682 IsTailCall: {2683 name: "LLVMIsTailCall",2684 parameters: ["pointer"],2685 result: "i32"2686 },2687 SetTailCall: {2688 name: "LLVMSetTailCall",2689 parameters: ["pointer", "i32"],2690 result: "void"2691 },2692 GetNormalDest: {2693 name: "LLVMGetNormalDest",2694 parameters: ["pointer"],2695 result: "pointer"2696 },2697 GetUnwindDest: {2698 name: "LLVMGetUnwindDest",2699 parameters: ["pointer"],2700 result: "pointer"2701 },2702 SetNormalDest: {2703 name: "LLVMSetNormalDest",2704 parameters: ["pointer", "pointer"],2705 result: "void"2706 },2707 SetUnwindDest: {2708 name: "LLVMSetUnwindDest",2709 parameters: ["pointer", "pointer"],2710 result: "void"2711 },2712 GetNumSuccessors: {2713 name: "LLVMGetNumSuccessors",2714 parameters: ["pointer"],2715 result: "u32"2716 },2717 GetSuccessor: {2718 name: "LLVMGetSuccessor",2719 parameters: ["pointer", "u32"],2720 result: "pointer"2721 },2722 SetSuccessor: {2723 name: "LLVMSetSuccessor",2724 parameters: ["pointer", "u32", "pointer"],2725 result: "void"2726 },2727 IsConditional: {2728 name: "LLVMIsConditional",2729 parameters: ["pointer"],2730 result: "i32"2731 },2732 GetCondition: {2733 name: "LLVMGetCondition",2734 parameters: ["pointer"],2735 result: "pointer"2736 },2737 SetCondition: {2738 name: "LLVMSetCondition",2739 parameters: ["pointer", "pointer"],2740 result: "void"2741 },2742 GetSwitchDefaultDest: {2743 name: "LLVMGetSwitchDefaultDest",2744 parameters: ["pointer"],2745 result: "pointer"2746 },2747 GetAllocatedType: {2748 name: "LLVMGetAllocatedType",2749 parameters: ["pointer"],2750 result: "pointer"2751 },2752 IsInBounds: {2753 name: "LLVMIsInBounds",2754 parameters: ["pointer"],2755 result: "i32"2756 },2757 SetIsInBounds: {2758 name: "LLVMSetIsInBounds",2759 parameters: ["pointer", "i32"],2760 result: "void"2761 },2762 GetGEPSourceElementType: {2763 name: "LLVMGetGEPSourceElementType",2764 parameters: ["pointer"],2765 result: "pointer"2766 },2767 AddIncoming: {2768 name: "LLVMAddIncoming",2769 parameters: ["pointer", "pointer", "pointer", "u32"],2770 result: "void"2771 },2772 CountIncoming: {2773 name: "LLVMCountIncoming",2774 parameters: ["pointer"],2775 result: "u32"2776 },2777 GetIncomingValue: {2778 name: "LLVMGetIncomingValue",2779 parameters: ["pointer", "u32"],2780 result: "pointer"2781 },2782 GetIncomingBlock: {2783 name: "LLVMGetIncomingBlock",2784 parameters: ["pointer", "u32"],2785 result: "pointer"2786 },2787 GetNumIndices: {2788 name: "LLVMGetNumIndices",2789 parameters: ["pointer"],2790 result: "u32"2791 },2792 GetIndices: {2793 name: "LLVMGetIndices",2794 parameters: ["pointer"],2795 result: "pointer"2796 },2797 CreateBuilderInContext: {2798 name: "LLVMCreateBuilderInContext",2799 parameters: ["pointer"],2800 result: "pointer"2801 },2802 CreateBuilder: {2803 name: "LLVMCreateBuilder",2804 parameters: [],2805 result: "pointer"2806 },2807 PositionBuilder: {2808 name: "LLVMPositionBuilder",2809 parameters: ["pointer", "pointer", "pointer"],2810 result: "void"2811 },2812 PositionBuilderBefore: {2813 name: "LLVMPositionBuilderBefore",2814 parameters: ["pointer", "pointer"],2815 result: "void"2816 },2817 PositionBuilderAtEnd: {2818 name: "LLVMPositionBuilderAtEnd",2819 parameters: ["pointer", "pointer"],2820 result: "void"2821 },2822 GetInsertBlock: {2823 name: "LLVMGetInsertBlock",2824 parameters: ["pointer"],2825 result: "pointer"2826 },2827 ClearInsertionPosition: {2828 name: "LLVMClearInsertionPosition",2829 parameters: ["pointer"],2830 result: "void"2831 },2832 InsertIntoBuilder: {2833 name: "LLVMInsertIntoBuilder",2834 parameters: ["pointer", "pointer"],2835 result: "void"2836 },2837 InsertIntoBuilderWithName: {2838 name: "LLVMInsertIntoBuilderWithName",2839 parameters: ["pointer", "pointer", "pointer"],2840 result: "void"2841 },2842 DisposeBuilder: {2843 name: "LLVMDisposeBuilder",2844 parameters: ["pointer"],2845 result: "void"2846 },2847 GetCurrentDebugLocation2: {2848 name: "LLVMGetCurrentDebugLocation2",2849 parameters: ["pointer"],2850 result: "pointer"2851 },2852 SetCurrentDebugLocation2: {2853 name: "LLVMSetCurrentDebugLocation2",2854 parameters: ["pointer", "pointer"],2855 result: "void"2856 },2857 SetInstDebugLocation: {2858 name: "LLVMSetInstDebugLocation",2859 parameters: ["pointer", "pointer"],2860 result: "void"2861 },2862 AddMetadataToInst: {2863 name: "LLVMAddMetadataToInst",2864 parameters: ["pointer", "pointer"],2865 result: "void"2866 },2867 BuilderGetDefaultFPMathTag: {2868 name: "LLVMBuilderGetDefaultFPMathTag",2869 parameters: ["pointer"],2870 result: "pointer"2871 },2872 BuilderSetDefaultFPMathTag: {2873 name: "LLVMBuilderSetDefaultFPMathTag",2874 parameters: ["pointer", "pointer"],2875 result: "void"2876 },2877 SetCurrentDebugLocation: {2878 name: "LLVMSetCurrentDebugLocation",2879 parameters: ["pointer", "pointer"],2880 result: "void"2881 },2882 GetCurrentDebugLocation: {2883 name: "LLVMGetCurrentDebugLocation",2884 parameters: ["pointer"],2885 result: "pointer"2886 },2887 BuildRetVoid: {2888 name: "LLVMBuildRetVoid",2889 parameters: ["pointer"],2890 result: "pointer"2891 },2892 BuildRet: {2893 name: "LLVMBuildRet",2894 parameters: ["pointer", "pointer"],2895 result: "pointer"2896 },2897 BuildAggregateRet: {2898 name: "LLVMBuildAggregateRet",2899 parameters: ["pointer", "pointer", "u32"],2900 result: "pointer"2901 },2902 BuildBr: {2903 name: "LLVMBuildBr",2904 parameters: ["pointer", "pointer"],2905 result: "pointer"2906 },2907 BuildCondBr: {2908 name: "LLVMBuildCondBr",2909 parameters: ["pointer", "pointer", "pointer", "pointer"],2910 result: "pointer"2911 },2912 BuildSwitch: {2913 name: "LLVMBuildSwitch",2914 parameters: ["pointer", "pointer", "pointer", "u32"],2915 result: "pointer"2916 },2917 BuildIndirectBr: {2918 name: "LLVMBuildIndirectBr",2919 parameters: ["pointer", "pointer", "u32"],2920 result: "pointer"2921 },2922 BuildInvoke: {2923 name: "LLVMBuildInvoke",2924 parameters: ["pointer", "pointer", "pointer", "u32", "pointer", "pointer", "pointer"],2925 result: "pointer"2926 },2927 BuildInvoke2: {2928 name: "LLVMBuildInvoke2",2929 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer", "pointer", "pointer"],2930 result: "pointer"2931 },2932 BuildUnreachable: {2933 name: "LLVMBuildUnreachable",2934 parameters: ["pointer"],2935 result: "pointer"2936 },2937 BuildResume: {2938 name: "LLVMBuildResume",2939 parameters: ["pointer", "pointer"],2940 result: "pointer"2941 },2942 BuildLandingPad: {2943 name: "LLVMBuildLandingPad",2944 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],2945 result: "pointer"2946 },2947 BuildCleanupRet: {2948 name: "LLVMBuildCleanupRet",2949 parameters: ["pointer", "pointer", "pointer"],2950 result: "pointer"2951 },2952 BuildCatchRet: {2953 name: "LLVMBuildCatchRet",2954 parameters: ["pointer", "pointer", "pointer"],2955 result: "pointer"2956 },2957 BuildCatchPad: {2958 name: "LLVMBuildCatchPad",2959 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],2960 result: "pointer"2961 },2962 BuildCleanupPad: {2963 name: "LLVMBuildCleanupPad",2964 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],2965 result: "pointer"2966 },2967 BuildCatchSwitch: {2968 name: "LLVMBuildCatchSwitch",2969 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],2970 result: "pointer"2971 },2972 AddCase: {2973 name: "LLVMAddCase",2974 parameters: ["pointer", "pointer", "pointer"],2975 result: "void"2976 },2977 AddDestination: {2978 name: "LLVMAddDestination",2979 parameters: ["pointer", "pointer"],2980 result: "void"2981 },2982 GetNumClauses: {2983 name: "LLVMGetNumClauses",2984 parameters: ["pointer"],2985 result: "u32"2986 },2987 GetClause: {2988 name: "LLVMGetClause",2989 parameters: ["pointer", "u32"],2990 result: "pointer"2991 },2992 AddClause: {2993 name: "LLVMAddClause",2994 parameters: ["pointer", "pointer"],2995 result: "void"2996 },2997 IsCleanup: {2998 name: "LLVMIsCleanup",2999 parameters: ["pointer"],3000 result: "i32"3001 },3002 SetCleanup: {3003 name: "LLVMSetCleanup",3004 parameters: ["pointer", "i32"],3005 result: "void"3006 },3007 AddHandler: {3008 name: "LLVMAddHandler",3009 parameters: ["pointer", "pointer"],3010 result: "void"3011 },3012 GetNumHandlers: {3013 name: "LLVMGetNumHandlers",3014 parameters: ["pointer"],3015 result: "u32"3016 },3017 GetHandlers: {3018 name: "LLVMGetHandlers",3019 parameters: ["pointer", "pointer"],3020 result: "void"3021 },3022 GetArgOperand: {3023 name: "LLVMGetArgOperand",3024 parameters: ["pointer", "u32"],3025 result: "pointer"3026 },3027 SetArgOperand: {3028 name: "LLVMSetArgOperand",3029 parameters: ["pointer", "u32", "pointer"],3030 result: "void"3031 },3032 GetParentCatchSwitch: {3033 name: "LLVMGetParentCatchSwitch",3034 parameters: ["pointer"],3035 result: "pointer"3036 },3037 SetParentCatchSwitch: {3038 name: "LLVMSetParentCatchSwitch",3039 parameters: ["pointer", "pointer"],3040 result: "void"3041 },3042 BuildAdd: {3043 name: "LLVMBuildAdd",3044 parameters: ["pointer", "pointer", "pointer", "pointer"],3045 result: "pointer"3046 },3047 BuildNSWAdd: {3048 name: "LLVMBuildNSWAdd",3049 parameters: ["pointer", "pointer", "pointer", "pointer"],3050 result: "pointer"3051 },3052 BuildNUWAdd: {3053 name: "LLVMBuildNUWAdd",3054 parameters: ["pointer", "pointer", "pointer", "pointer"],3055 result: "pointer"3056 },3057 BuildFAdd: {3058 name: "LLVMBuildFAdd",3059 parameters: ["pointer", "pointer", "pointer", "pointer"],3060 result: "pointer"3061 },3062 BuildSub: {3063 name: "LLVMBuildSub",3064 parameters: ["pointer", "pointer", "pointer", "pointer"],3065 result: "pointer"3066 },3067 BuildNSWSub: {3068 name: "LLVMBuildNSWSub",3069 parameters: ["pointer", "pointer", "pointer", "pointer"],3070 result: "pointer"3071 },3072 BuildNUWSub: {3073 name: "LLVMBuildNUWSub",3074 parameters: ["pointer", "pointer", "pointer", "pointer"],3075 result: "pointer"3076 },3077 BuildFSub: {3078 name: "LLVMBuildFSub",3079 parameters: ["pointer", "pointer", "pointer", "pointer"],3080 result: "pointer"3081 },3082 BuildMul: {3083 name: "LLVMBuildMul",3084 parameters: ["pointer", "pointer", "pointer", "pointer"],3085 result: "pointer"3086 },3087 BuildNSWMul: {3088 name: "LLVMBuildNSWMul",3089 parameters: ["pointer", "pointer", "pointer", "pointer"],3090 result: "pointer"3091 },3092 BuildNUWMul: {3093 name: "LLVMBuildNUWMul",3094 parameters: ["pointer", "pointer", "pointer", "pointer"],3095 result: "pointer"3096 },3097 BuildFMul: {3098 name: "LLVMBuildFMul",3099 parameters: ["pointer", "pointer", "pointer", "pointer"],3100 result: "pointer"3101 },3102 BuildUDiv: {3103 name: "LLVMBuildUDiv",3104 parameters: ["pointer", "pointer", "pointer", "pointer"],3105 result: "pointer"3106 },3107 BuildExactUDiv: {3108 name: "LLVMBuildExactUDiv",3109 parameters: ["pointer", "pointer", "pointer", "pointer"],3110 result: "pointer"3111 },3112 BuildSDiv: {3113 name: "LLVMBuildSDiv",3114 parameters: ["pointer", "pointer", "pointer", "pointer"],3115 result: "pointer"3116 },3117 BuildExactSDiv: {3118 name: "LLVMBuildExactSDiv",3119 parameters: ["pointer", "pointer", "pointer", "pointer"],3120 result: "pointer"3121 },3122 BuildFDiv: {3123 name: "LLVMBuildFDiv",3124 parameters: ["pointer", "pointer", "pointer", "pointer"],3125 result: "pointer"3126 },3127 BuildURem: {3128 name: "LLVMBuildURem",3129 parameters: ["pointer", "pointer", "pointer", "pointer"],3130 result: "pointer"3131 },3132 BuildSRem: {3133 name: "LLVMBuildSRem",3134 parameters: ["pointer", "pointer", "pointer", "pointer"],3135 result: "pointer"3136 },3137 BuildFRem: {3138 name: "LLVMBuildFRem",3139 parameters: ["pointer", "pointer", "pointer", "pointer"],3140 result: "pointer"3141 },3142 BuildShl: {3143 name: "LLVMBuildShl",3144 parameters: ["pointer", "pointer", "pointer", "pointer"],3145 result: "pointer"3146 },3147 BuildLShr: {3148 name: "LLVMBuildLShr",3149 parameters: ["pointer", "pointer", "pointer", "pointer"],3150 result: "pointer"3151 },3152 BuildAShr: {3153 name: "LLVMBuildAShr",3154 parameters: ["pointer", "pointer", "pointer", "pointer"],3155 result: "pointer"3156 },3157 BuildAnd: {3158 name: "LLVMBuildAnd",3159 parameters: ["pointer", "pointer", "pointer", "pointer"],3160 result: "pointer"3161 },3162 BuildOr: {3163 name: "LLVMBuildOr",3164 parameters: ["pointer", "pointer", "pointer", "pointer"],3165 result: "pointer"3166 },3167 BuildXor: {3168 name: "LLVMBuildXor",3169 parameters: ["pointer", "pointer", "pointer", "pointer"],3170 result: "pointer"3171 },3172 BuildBinOp: {3173 name: "LLVMBuildBinOp",3174 parameters: ["pointer", "i32", "pointer", "pointer", "pointer"],3175 result: "pointer"3176 },3177 BuildNeg: {3178 name: "LLVMBuildNeg",3179 parameters: ["pointer", "pointer", "pointer"],3180 result: "pointer"3181 },3182 BuildNSWNeg: {3183 name: "LLVMBuildNSWNeg",3184 parameters: ["pointer", "pointer", "pointer"],3185 result: "pointer"3186 },3187 BuildNUWNeg: {3188 name: "LLVMBuildNUWNeg",3189 parameters: ["pointer", "pointer", "pointer"],3190 result: "pointer"3191 },3192 BuildFNeg: {3193 name: "LLVMBuildFNeg",3194 parameters: ["pointer", "pointer", "pointer"],3195 result: "pointer"3196 },3197 BuildNot: {3198 name: "LLVMBuildNot",3199 parameters: ["pointer", "pointer", "pointer"],3200 result: "pointer"3201 },3202 BuildMalloc: {3203 name: "LLVMBuildMalloc",3204 parameters: ["pointer", "pointer", "pointer"],3205 result: "pointer"3206 },3207 BuildArrayMalloc: {3208 name: "LLVMBuildArrayMalloc",3209 parameters: ["pointer", "pointer", "pointer", "pointer"],3210 result: "pointer"3211 },3212 BuildMemSet: {3213 name: "LLVMBuildMemSet",3214 parameters: ["pointer", "pointer", "pointer", "pointer", "u32"],3215 result: "pointer"3216 },3217 BuildMemCpy: {3218 name: "LLVMBuildMemCpy",3219 parameters: ["pointer", "pointer", "u32", "pointer", "u32", "pointer"],3220 result: "pointer"3221 },3222 BuildMemMove: {3223 name: "LLVMBuildMemMove",3224 parameters: ["pointer", "pointer", "u32", "pointer", "u32", "pointer"],3225 result: "pointer"3226 },3227 BuildAlloca: {3228 name: "LLVMBuildAlloca",3229 parameters: ["pointer", "pointer", "pointer"],3230 result: "pointer"3231 },3232 BuildArrayAlloca: {3233 name: "LLVMBuildArrayAlloca",3234 parameters: ["pointer", "pointer", "pointer", "pointer"],3235 result: "pointer"3236 },3237 BuildFree: {3238 name: "LLVMBuildFree",3239 parameters: ["pointer", "pointer"],3240 result: "pointer"3241 },3242 BuildLoad: {3243 name: "LLVMBuildLoad",3244 parameters: ["pointer", "pointer", "pointer"],3245 result: "pointer"3246 },3247 BuildLoad2: {3248 name: "LLVMBuildLoad2",3249 parameters: ["pointer", "pointer", "pointer", "pointer"],3250 result: "pointer"3251 },3252 BuildStore: {3253 name: "LLVMBuildStore",3254 parameters: ["pointer", "pointer", "pointer"],3255 result: "pointer"3256 },3257 BuildGEP: {3258 name: "LLVMBuildGEP",3259 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],3260 result: "pointer"3261 },3262 BuildInBoundsGEP: {3263 name: "LLVMBuildInBoundsGEP",3264 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],3265 result: "pointer"3266 },3267 BuildStructGEP: {3268 name: "LLVMBuildStructGEP",3269 parameters: ["pointer", "pointer", "u32", "pointer"],3270 result: "pointer"3271 },3272 BuildGEP2: {3273 name: "LLVMBuildGEP2",3274 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer"],3275 result: "pointer"3276 },3277 BuildInBoundsGEP2: {3278 name: "LLVMBuildInBoundsGEP2",3279 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer"],3280 result: "pointer"3281 },3282 BuildStructGEP2: {3283 name: "LLVMBuildStructGEP2",3284 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],3285 result: "pointer"3286 },3287 BuildGlobalString: {3288 name: "LLVMBuildGlobalString",3289 parameters: ["pointer", "pointer", "pointer"],3290 result: "pointer"3291 },3292 BuildGlobalStringPtr: {3293 name: "LLVMBuildGlobalStringPtr",3294 parameters: ["pointer", "pointer", "pointer"],3295 result: "pointer"3296 },3297 GetVolatile: {3298 name: "LLVMGetVolatile",3299 parameters: ["pointer"],3300 result: "i32"3301 },3302 SetVolatile: {3303 name: "LLVMSetVolatile",3304 parameters: ["pointer", "i32"],3305 result: "void"3306 },3307 GetWeak: {3308 name: "LLVMGetWeak",3309 parameters: ["pointer"],3310 result: "i32"3311 },3312 SetWeak: {3313 name: "LLVMSetWeak",3314 parameters: ["pointer", "i32"],3315 result: "void"3316 },3317 GetOrdering: {3318 name: "LLVMGetOrdering",3319 parameters: ["pointer"],3320 result: "i32"3321 },3322 SetOrdering: {3323 name: "LLVMSetOrdering",3324 parameters: ["pointer", "i32"],3325 result: "void"3326 },3327 GetAtomicRMWBinOp: {3328 name: "LLVMGetAtomicRMWBinOp",3329 parameters: ["pointer"],3330 result: "i32"3331 },3332 SetAtomicRMWBinOp: {3333 name: "LLVMSetAtomicRMWBinOp",3334 parameters: ["pointer", "i32"],3335 result: "void"3336 },3337 BuildTrunc: {3338 name: "LLVMBuildTrunc",3339 parameters: ["pointer", "pointer", "pointer", "pointer"],3340 result: "pointer"3341 },3342 BuildZExt: {3343 name: "LLVMBuildZExt",3344 parameters: ["pointer", "pointer", "pointer", "pointer"],3345 result: "pointer"3346 },3347 BuildSExt: {3348 name: "LLVMBuildSExt",3349 parameters: ["pointer", "pointer", "pointer", "pointer"],3350 result: "pointer"3351 },3352 BuildFPToUI: {3353 name: "LLVMBuildFPToUI",3354 parameters: ["pointer", "pointer", "pointer", "pointer"],3355 result: "pointer"3356 },3357 BuildFPToSI: {3358 name: "LLVMBuildFPToSI",3359 parameters: ["pointer", "pointer", "pointer", "pointer"],3360 result: "pointer"3361 },3362 BuildUIToFP: {3363 name: "LLVMBuildUIToFP",3364 parameters: ["pointer", "pointer", "pointer", "pointer"],3365 result: "pointer"3366 },3367 BuildSIToFP: {3368 name: "LLVMBuildSIToFP",3369 parameters: ["pointer", "pointer", "pointer", "pointer"],3370 result: "pointer"3371 },3372 BuildFPTrunc: {3373 name: "LLVMBuildFPTrunc",3374 parameters: ["pointer", "pointer", "pointer", "pointer"],3375 result: "pointer"3376 },3377 BuildFPExt: {3378 name: "LLVMBuildFPExt",3379 parameters: ["pointer", "pointer", "pointer", "pointer"],3380 result: "pointer"3381 },3382 BuildPtrToInt: {3383 name: "LLVMBuildPtrToInt",3384 parameters: ["pointer", "pointer", "pointer", "pointer"],3385 result: "pointer"3386 },3387 BuildIntToPtr: {3388 name: "LLVMBuildIntToPtr",3389 parameters: ["pointer", "pointer", "pointer", "pointer"],3390 result: "pointer"3391 },3392 BuildBitCast: {3393 name: "LLVMBuildBitCast",3394 parameters: ["pointer", "pointer", "pointer", "pointer"],3395 result: "pointer"3396 },3397 BuildAddrSpaceCast: {3398 name: "LLVMBuildAddrSpaceCast",3399 parameters: ["pointer", "pointer", "pointer", "pointer"],3400 result: "pointer"3401 },3402 BuildZExtOrBitCast: {3403 name: "LLVMBuildZExtOrBitCast",3404 parameters: ["pointer", "pointer", "pointer", "pointer"],3405 result: "pointer"3406 },3407 BuildSExtOrBitCast: {3408 name: "LLVMBuildSExtOrBitCast",3409 parameters: ["pointer", "pointer", "pointer", "pointer"],3410 result: "pointer"3411 },3412 BuildTruncOrBitCast: {3413 name: "LLVMBuildTruncOrBitCast",3414 parameters: ["pointer", "pointer", "pointer", "pointer"],3415 result: "pointer"3416 },3417 BuildCast: {3418 name: "LLVMBuildCast",3419 parameters: ["pointer", "i32", "pointer", "pointer", "pointer"],3420 result: "pointer"3421 },3422 BuildPointerCast: {3423 name: "LLVMBuildPointerCast",3424 parameters: ["pointer", "pointer", "pointer", "pointer"],3425 result: "pointer"3426 },3427 BuildIntCast2: {3428 name: "LLVMBuildIntCast2",3429 parameters: ["pointer", "pointer", "pointer", "i32", "pointer"],3430 result: "pointer"3431 },3432 BuildFPCast: {3433 name: "LLVMBuildFPCast",3434 parameters: ["pointer", "pointer", "pointer", "pointer"],3435 result: "pointer"3436 },3437 BuildIntCast: {3438 name: "LLVMBuildIntCast",3439 parameters: ["pointer", "pointer", "pointer", "pointer"],3440 result: "pointer"3441 },3442 BuildICmp: {3443 name: "LLVMBuildICmp",3444 parameters: ["pointer", "i32", "pointer", "pointer", "pointer"],3445 result: "pointer"3446 },3447 BuildFCmp: {3448 name: "LLVMBuildFCmp",3449 parameters: ["pointer", "i32", "pointer", "pointer", "pointer"],3450 result: "pointer"3451 },3452 BuildPhi: {3453 name: "LLVMBuildPhi",3454 parameters: ["pointer", "pointer", "pointer"],3455 result: "pointer"3456 },3457 BuildCall: {3458 name: "LLVMBuildCall",3459 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],3460 result: "pointer"3461 },3462 BuildCall2: {3463 name: "LLVMBuildCall2",3464 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer"],3465 result: "pointer"3466 },3467 BuildSelect: {3468 name: "LLVMBuildSelect",3469 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer"],3470 result: "pointer"3471 },3472 BuildVAArg: {3473 name: "LLVMBuildVAArg",3474 parameters: ["pointer", "pointer", "pointer", "pointer"],3475 result: "pointer"3476 },3477 BuildExtractElement: {3478 name: "LLVMBuildExtractElement",3479 parameters: ["pointer", "pointer", "pointer", "pointer"],3480 result: "pointer"3481 },3482 BuildInsertElement: {3483 name: "LLVMBuildInsertElement",3484 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer"],3485 result: "pointer"3486 },3487 BuildShuffleVector: {3488 name: "LLVMBuildShuffleVector",3489 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer"],3490 result: "pointer"3491 },3492 BuildExtractValue: {3493 name: "LLVMBuildExtractValue",3494 parameters: ["pointer", "pointer", "u32", "pointer"],3495 result: "pointer"3496 },3497 BuildInsertValue: {3498 name: "LLVMBuildInsertValue",3499 parameters: ["pointer", "pointer", "pointer", "u32", "pointer"],3500 result: "pointer"3501 },3502 BuildFreeze: {3503 name: "LLVMBuildFreeze",3504 parameters: ["pointer", "pointer", "pointer"],3505 result: "pointer"3506 },3507 BuildIsNull: {3508 name: "LLVMBuildIsNull",3509 parameters: ["pointer", "pointer", "pointer"],3510 result: "pointer"3511 },3512 BuildIsNotNull: {3513 name: "LLVMBuildIsNotNull",3514 parameters: ["pointer", "pointer", "pointer"],3515 result: "pointer"3516 },3517 BuildPtrDiff: {3518 name: "LLVMBuildPtrDiff",3519 parameters: ["pointer", "pointer", "pointer", "pointer"],3520 result: "pointer"3521 },3522 BuildPtrDiff2: {3523 name: "LLVMBuildPtrDiff2",3524 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer"],3525 result: "pointer"3526 },3527 BuildFence: {3528 name: "LLVMBuildFence",3529 parameters: ["pointer", "i32", "i32", "pointer"],3530 result: "pointer"3531 },3532 BuildAtomicRMW: {3533 name: "LLVMBuildAtomicRMW",3534 parameters: ["pointer", "i32", "pointer", "pointer", "i32", "i32"],3535 result: "pointer"3536 },3537 BuildAtomicCmpXchg: {3538 name: "LLVMBuildAtomicCmpXchg",3539 parameters: ["pointer", "pointer", "pointer", "pointer", "i32", "i32", "i32"],3540 result: "pointer"3541 },3542 GetNumMaskElements: {3543 name: "LLVMGetNumMaskElements",3544 parameters: ["pointer"],3545 result: "u32"3546 },3547 GetUndefMaskElem: {3548 name: "LLVMGetUndefMaskElem",3549 parameters: [],3550 result: "i32"3551 },3552 GetMaskValue: {3553 name: "LLVMGetMaskValue",3554 parameters: ["pointer", "u32"],3555 result: "i32"3556 },3557 IsAtomicSingleThread: {3558 name: "LLVMIsAtomicSingleThread",3559 parameters: ["pointer"],3560 result: "i32"3561 },3562 SetAtomicSingleThread: {3563 name: "LLVMSetAtomicSingleThread",3564 parameters: ["pointer", "i32"],3565 result: "void"3566 },3567 GetCmpXchgSuccessOrdering: {3568 name: "LLVMGetCmpXchgSuccessOrdering",3569 parameters: ["pointer"],3570 result: "i32"3571 },3572 SetCmpXchgSuccessOrdering: {3573 name: "LLVMSetCmpXchgSuccessOrdering",3574 parameters: ["pointer", "i32"],3575 result: "void"3576 },3577 GetCmpXchgFailureOrdering: {3578 name: "LLVMGetCmpXchgFailureOrdering",3579 parameters: ["pointer"],3580 result: "i32"3581 },3582 SetCmpXchgFailureOrdering: {3583 name: "LLVMSetCmpXchgFailureOrdering",3584 parameters: ["pointer", "i32"],3585 result: "void"3586 },3587 CreateModuleProviderForExistingModule: {3588 name: "LLVMCreateModuleProviderForExistingModule",3589 parameters: ["pointer"],3590 result: "pointer"3591 },3592 DisposeModuleProvider: {3593 name: "LLVMDisposeModuleProvider",3594 parameters: ["pointer"],3595 result: "void"3596 },3597 CreateMemoryBufferWithContentsOfFile: {3598 name: "LLVMCreateMemoryBufferWithContentsOfFile",3599 parameters: ["pointer", "pointer", "pointer"],3600 result: "i32"3601 },3602 CreateMemoryBufferWithSTDIN: {3603 name: "LLVMCreateMemoryBufferWithSTDIN",3604 parameters: ["pointer", "pointer"],3605 result: "i32"3606 },3607 CreateMemoryBufferWithMemoryRange: {3608 name: "LLVMCreateMemoryBufferWithMemoryRange",3609 parameters: ["pointer", "u64", "pointer", "i32"],3610 result: "pointer"3611 },3612 CreateMemoryBufferWithMemoryRangeCopy: {3613 name: "LLVMCreateMemoryBufferWithMemoryRangeCopy",3614 parameters: ["pointer", "u64", "pointer"],3615 result: "pointer"3616 },3617 GetBufferStart: {3618 name: "LLVMGetBufferStart",3619 parameters: ["pointer"],3620 result: "pointer"3621 },3622 GetBufferSize: {3623 name: "LLVMGetBufferSize",3624 parameters: ["pointer"],3625 result: "u64"3626 },3627 DisposeMemoryBuffer: {3628 name: "LLVMDisposeMemoryBuffer",3629 parameters: ["pointer"],3630 result: "void"3631 },3632 GetGlobalPassRegistry: {3633 name: "LLVMGetGlobalPassRegistry",3634 parameters: [],3635 result: "pointer"3636 },3637 CreatePassManager: {3638 name: "LLVMCreatePassManager",3639 parameters: [],3640 result: "pointer"3641 },3642 CreateFunctionPassManagerForModule: {3643 name: "LLVMCreateFunctionPassManagerForModule",3644 parameters: ["pointer"],3645 result: "pointer"3646 },3647 CreateFunctionPassManager: {3648 name: "LLVMCreateFunctionPassManager",3649 parameters: ["pointer"],3650 result: "pointer"3651 },3652 RunPassManager: {3653 name: "LLVMRunPassManager",3654 parameters: ["pointer", "pointer"],3655 result: "i32"3656 },3657 InitializeFunctionPassManager: {3658 name: "LLVMInitializeFunctionPassManager",3659 parameters: ["pointer"],3660 result: "i32"3661 },3662 RunFunctionPassManager: {3663 name: "LLVMRunFunctionPassManager",3664 parameters: ["pointer", "pointer"],3665 result: "i32"3666 },3667 FinalizeFunctionPassManager: {3668 name: "LLVMFinalizeFunctionPassManager",3669 parameters: ["pointer"],3670 result: "i32"3671 },3672 DisposePassManager: {3673 name: "LLVMDisposePassManager",3674 parameters: ["pointer"],3675 result: "void"3676 },3677 StartMultithreaded: {3678 name: "LLVMStartMultithreaded",3679 parameters: [],3680 result: "i32"3681 },3682 StopMultithreaded: {3683 name: "LLVMStopMultithreaded",3684 parameters: [],3685 result: "void"3686 },3687 IsMultithreaded: {3688 name: "LLVMIsMultithreaded",3689 parameters: [],3690 result: "i32"3691 },3692 DebugMetadataVersion: {3693 name: "LLVMDebugMetadataVersion",3694 parameters: [],3695 result: "u32"3696 },3697 GetModuleDebugMetadataVersion: {3698 name: "LLVMGetModuleDebugMetadataVersion",3699 parameters: ["pointer"],3700 result: "u32"3701 },3702 StripModuleDebugInfo: {3703 name: "LLVMStripModuleDebugInfo",3704 parameters: ["pointer"],3705 result: "i32"3706 },3707 CreateDIBuilderDisallowUnresolved: {3708 name: "LLVMCreateDIBuilderDisallowUnresolved",3709 parameters: ["pointer"],3710 result: "pointer"3711 },3712 CreateDIBuilder: {3713 name: "LLVMCreateDIBuilder",3714 parameters: ["pointer"],3715 result: "pointer"3716 },3717 DisposeDIBuilder: {3718 name: "LLVMDisposeDIBuilder",3719 parameters: ["pointer"],3720 result: "void"3721 },3722 DIBuilderFinalize: {3723 name: "LLVMDIBuilderFinalize",3724 parameters: ["pointer"],3725 result: "void"3726 },3727 DIBuilderFinalizeSubprogram: {3728 name: "LLVMDIBuilderFinalizeSubprogram",3729 parameters: ["pointer", "pointer"],3730 result: "void"3731 },3732 DIBuilderCreateCompileUnit: {3733 name: "LLVMDIBuilderCreateCompileUnit",3734 parameters: ["pointer", "i32", "pointer", "pointer", "u64", "i32", "pointer", "u64", "u32", "pointer", "u64", "i32", "u32", "i32", "i32", "pointer", "u64", "pointer", "u64"],3735 result: "pointer"3736 },3737 DIBuilderCreateFile: {3738 name: "LLVMDIBuilderCreateFile",3739 parameters: ["pointer", "pointer", "u64", "pointer", "u64"],3740 result: "pointer"3741 },3742 DIBuilderCreateModule: {3743 name: "LLVMDIBuilderCreateModule",3744 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u64", "pointer", "u64", "pointer", "u64"],3745 result: "pointer"3746 },3747 DIBuilderCreateNameSpace: {3748 name: "LLVMDIBuilderCreateNameSpace",3749 parameters: ["pointer", "pointer", "pointer", "u64", "i32"],3750 result: "pointer"3751 },3752 DIBuilderCreateFunction: {3753 name: "LLVMDIBuilderCreateFunction",3754 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u64", "pointer", "u32", "pointer", "i32", "i32", "u32", "i32", "i32"],3755 result: "pointer"3756 },3757 DIBuilderCreateLexicalBlock: {3758 name: "LLVMDIBuilderCreateLexicalBlock",3759 parameters: ["pointer", "pointer", "pointer", "u32", "u32"],3760 result: "pointer"3761 },3762 DIBuilderCreateLexicalBlockFile: {3763 name: "LLVMDIBuilderCreateLexicalBlockFile",3764 parameters: ["pointer", "pointer", "pointer", "u32"],3765 result: "pointer"3766 },3767 DIBuilderCreateImportedModuleFromNamespace: {3768 name: "LLVMDIBuilderCreateImportedModuleFromNamespace",3769 parameters: ["pointer", "pointer", "pointer", "pointer", "u32"],3770 result: "pointer"3771 },3772 DIBuilderCreateImportedModuleFromAlias: {3773 name: "LLVMDIBuilderCreateImportedModuleFromAlias",3774 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer", "u32"],3775 result: "pointer"3776 },3777 DIBuilderCreateImportedModuleFromModule: {3778 name: "LLVMDIBuilderCreateImportedModuleFromModule",3779 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer", "u32"],3780 result: "pointer"3781 },3782 DIBuilderCreateImportedDeclaration: {3783 name: "LLVMDIBuilderCreateImportedDeclaration",3784 parameters: ["pointer", "pointer", "pointer", "pointer", "u32", "pointer", "u64", "pointer", "u32"],3785 result: "pointer"3786 },3787 DIBuilderCreateDebugLocation: {3788 name: "LLVMDIBuilderCreateDebugLocation",3789 parameters: ["pointer", "u32", "u32", "pointer", "pointer"],3790 result: "pointer"3791 },3792 DILocationGetLine: {3793 name: "LLVMDILocationGetLine",3794 parameters: ["pointer"],3795 result: "u32"3796 },3797 DILocationGetColumn: {3798 name: "LLVMDILocationGetColumn",3799 parameters: ["pointer"],3800 result: "u32"3801 },3802 DILocationGetScope: {3803 name: "LLVMDILocationGetScope",3804 parameters: ["pointer"],3805 result: "pointer"3806 },3807 DILocationGetInlinedAt: {3808 name: "LLVMDILocationGetInlinedAt",3809 parameters: ["pointer"],3810 result: "pointer"3811 },3812 DIScopeGetFile: {3813 name: "LLVMDIScopeGetFile",3814 parameters: ["pointer"],3815 result: "pointer"3816 },3817 DIFileGetDirectory: {3818 name: "LLVMDIFileGetDirectory",3819 parameters: ["pointer", "pointer"],3820 result: "pointer"3821 },3822 DIFileGetFilename: {3823 name: "LLVMDIFileGetFilename",3824 parameters: ["pointer", "pointer"],3825 result: "pointer"3826 },3827 DIFileGetSource: {3828 name: "LLVMDIFileGetSource",3829 parameters: ["pointer", "pointer"],3830 result: "pointer"3831 },3832 DIBuilderGetOrCreateTypeArray: {3833 name: "LLVMDIBuilderGetOrCreateTypeArray",3834 parameters: ["pointer", "pointer", "u64"],3835 result: "pointer"3836 },3837 DIBuilderCreateSubroutineType: {3838 name: "LLVMDIBuilderCreateSubroutineType",3839 parameters: ["pointer", "pointer", "pointer", "u32", "i32"],3840 result: "pointer"3841 },3842 DIBuilderCreateMacro: {3843 name: "LLVMDIBuilderCreateMacro",3844 parameters: ["pointer", "pointer", "u32", "i32", "pointer", "u64", "pointer", "u64"],3845 result: "pointer"3846 },3847 DIBuilderCreateTempMacroFile: {3848 name: "LLVMDIBuilderCreateTempMacroFile",3849 parameters: ["pointer", "pointer", "u32", "pointer"],3850 result: "pointer"3851 },3852 DIBuilderCreateEnumerator: {3853 name: "LLVMDIBuilderCreateEnumerator",3854 parameters: ["pointer", "pointer", "u64", "i64", "i32"],3855 result: "pointer"3856 },3857 DIBuilderCreateEnumerationType: {3858 name: "LLVMDIBuilderCreateEnumerationType",3859 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "u64", "u32", "pointer", "u32", "pointer"],3860 result: "pointer"3861 },3862 DIBuilderCreateUnionType: {3863 name: "LLVMDIBuilderCreateUnionType",3864 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "u64", "u32", "i32", "pointer", "u32", "u32", "pointer", "u64"],3865 result: "pointer"3866 },3867 DIBuilderCreateArrayType: {3868 name: "LLVMDIBuilderCreateArrayType",3869 parameters: ["pointer", "u64", "u32", "pointer", "pointer", "u32"],3870 result: "pointer"3871 },3872 DIBuilderCreateVectorType: {3873 name: "LLVMDIBuilderCreateVectorType",3874 parameters: ["pointer", "u64", "u32", "pointer", "pointer", "u32"],3875 result: "pointer"3876 },3877 DIBuilderCreateUnspecifiedType: {3878 name: "LLVMDIBuilderCreateUnspecifiedType",3879 parameters: ["pointer", "pointer", "u64"],3880 result: "pointer"3881 },3882 DIBuilderCreateBasicType: {3883 name: "LLVMDIBuilderCreateBasicType",3884 parameters: ["pointer", "pointer", "u64", "u64", "u32", "i32"],3885 result: "pointer"3886 },3887 DIBuilderCreatePointerType: {3888 name: "LLVMDIBuilderCreatePointerType",3889 parameters: ["pointer", "pointer", "u64", "u32", "u32", "pointer", "u64"],3890 result: "pointer"3891 },3892 DIBuilderCreateStructType: {3893 name: "LLVMDIBuilderCreateStructType",3894 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "u64", "u32", "i32", "pointer", "pointer", "u32", "u32", "pointer", "pointer", "u64"],3895 result: "pointer"3896 },3897 DIBuilderCreateMemberType: {3898 name: "LLVMDIBuilderCreateMemberType",3899 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "u64", "u32", "u64", "i32", "pointer"],3900 result: "pointer"3901 },3902 DIBuilderCreateStaticMemberType: {3903 name: "LLVMDIBuilderCreateStaticMemberType",3904 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "pointer", "i32", "pointer", "u32"],3905 result: "pointer"3906 },3907 DIBuilderCreateMemberPointerType: {3908 name: "LLVMDIBuilderCreateMemberPointerType",3909 parameters: ["pointer", "pointer", "pointer", "u64", "u32", "i32"],3910 result: "pointer"3911 },3912 DIBuilderCreateObjCIVar: {3913 name: "LLVMDIBuilderCreateObjCIVar",3914 parameters: ["pointer", "pointer", "u64", "pointer", "u32", "u64", "u32", "u64", "i32", "pointer", "pointer"],3915 result: "pointer"3916 },3917 DIBuilderCreateObjCProperty: {3918 name: "LLVMDIBuilderCreateObjCProperty",3919 parameters: ["pointer", "pointer", "u64", "pointer", "u32", "pointer", "u64", "pointer", "u64", "u32", "pointer"],3920 result: "pointer"3921 },3922 DIBuilderCreateObjectPointerType: {3923 name: "LLVMDIBuilderCreateObjectPointerType",3924 parameters: ["pointer", "pointer"],3925 result: "pointer"3926 },3927 DIBuilderCreateQualifiedType: {3928 name: "LLVMDIBuilderCreateQualifiedType",3929 parameters: ["pointer", "u32", "pointer"],3930 result: "pointer"3931 },3932 DIBuilderCreateReferenceType: {3933 name: "LLVMDIBuilderCreateReferenceType",3934 parameters: ["pointer", "u32", "pointer"],3935 result: "pointer"3936 },3937 DIBuilderCreateNullPtrType: {3938 name: "LLVMDIBuilderCreateNullPtrType",3939 parameters: ["pointer"],3940 result: "pointer"3941 },3942 DIBuilderCreateTypedef: {3943 name: "LLVMDIBuilderCreateTypedef",3944 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "pointer", "u32"],3945 result: "pointer"3946 },3947 DIBuilderCreateInheritance: {3948 name: "LLVMDIBuilderCreateInheritance",3949 parameters: ["pointer", "pointer", "pointer", "u64", "u32", "i32"],3950 result: "pointer"3951 },3952 DIBuilderCreateForwardDecl: {3953 name: "LLVMDIBuilderCreateForwardDecl",3954 parameters: ["pointer", "u32", "pointer", "u64", "pointer", "pointer", "u32", "u32", "u64", "u32", "pointer", "u64"],3955 result: "pointer"3956 },3957 DIBuilderCreateReplaceableCompositeType: {3958 name: "LLVMDIBuilderCreateReplaceableCompositeType",3959 parameters: ["pointer", "u32", "pointer", "u64", "pointer", "pointer", "u32", "u32", "u64", "u32", "i32", "pointer", "u64"],3960 result: "pointer"3961 },3962 DIBuilderCreateBitFieldMemberType: {3963 name: "LLVMDIBuilderCreateBitFieldMemberType",3964 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "u64", "u64", "u64", "i32", "pointer"],3965 result: "pointer"3966 },3967 DIBuilderCreateClassType: {3968 name: "LLVMDIBuilderCreateClassType",3969 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "u64", "u32", "u64", "i32", "pointer", "pointer", "u32", "pointer", "pointer", "pointer", "u64"],3970 result: "pointer"3971 },3972 DIBuilderCreateArtificialType: {3973 name: "LLVMDIBuilderCreateArtificialType",3974 parameters: ["pointer", "pointer"],3975 result: "pointer"3976 },3977 DITypeGetName: {3978 name: "LLVMDITypeGetName",3979 parameters: ["pointer", "pointer"],3980 result: "pointer"3981 },3982 DITypeGetSizeInBits: {3983 name: "LLVMDITypeGetSizeInBits",3984 parameters: ["pointer"],3985 result: "u64"3986 },3987 DITypeGetOffsetInBits: {3988 name: "LLVMDITypeGetOffsetInBits",3989 parameters: ["pointer"],3990 result: "u64"3991 },3992 DITypeGetAlignInBits: {3993 name: "LLVMDITypeGetAlignInBits",3994 parameters: ["pointer"],3995 result: "u32"3996 },3997 DITypeGetLine: {3998 name: "LLVMDITypeGetLine",3999 parameters: ["pointer"],4000 result: "u32"4001 },4002 DITypeGetFlags: {4003 name: "LLVMDITypeGetFlags",4004 parameters: ["pointer"],4005 result: "i32"4006 },4007 DIBuilderGetOrCreateSubrange: {4008 name: "LLVMDIBuilderGetOrCreateSubrange",4009 parameters: ["pointer", "i64", "i64"],4010 result: "pointer"4011 },4012 DIBuilderGetOrCreateArray: {4013 name: "LLVMDIBuilderGetOrCreateArray",4014 parameters: ["pointer", "pointer", "u64"],4015 result: "pointer"4016 },4017 DIBuilderCreateExpression: {4018 name: "LLVMDIBuilderCreateExpression",4019 parameters: ["pointer", "pointer", "u64"],4020 result: "pointer"4021 },4022 DIBuilderCreateConstantValueExpression: {4023 name: "LLVMDIBuilderCreateConstantValueExpression",4024 parameters: ["pointer", "u64"],4025 result: "pointer"4026 },4027 DIBuilderCreateGlobalVariableExpression: {4028 name: "LLVMDIBuilderCreateGlobalVariableExpression",4029 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u64", "pointer", "u32", "pointer", "i32", "pointer", "pointer", "u32"],4030 result: "pointer"4031 },4032 DIGlobalVariableExpressionGetVariable: {4033 name: "LLVMDIGlobalVariableExpressionGetVariable",4034 parameters: ["pointer"],4035 result: "pointer"4036 },4037 DIGlobalVariableExpressionGetExpression: {4038 name: "LLVMDIGlobalVariableExpressionGetExpression",4039 parameters: ["pointer"],4040 result: "pointer"4041 },4042 DIVariableGetFile: {4043 name: "LLVMDIVariableGetFile",4044 parameters: ["pointer"],4045 result: "pointer"4046 },4047 DIVariableGetScope: {4048 name: "LLVMDIVariableGetScope",4049 parameters: ["pointer"],4050 result: "pointer"4051 },4052 DIVariableGetLine: {4053 name: "LLVMDIVariableGetLine",4054 parameters: ["pointer"],4055 result: "u32"4056 },4057 TemporaryMDNode: {4058 name: "LLVMTemporaryMDNode",4059 parameters: ["pointer", "pointer", "u64"],4060 result: "pointer"4061 },4062 DisposeTemporaryMDNode: {4063 name: "LLVMDisposeTemporaryMDNode",4064 parameters: ["pointer"],4065 result: "void"4066 },4067 MetadataReplaceAllUsesWith: {4068 name: "LLVMMetadataReplaceAllUsesWith",4069 parameters: ["pointer", "pointer"],4070 result: "void"4071 },4072 DIBuilderCreateTempGlobalVariableFwdDecl: {4073 name: "LLVMDIBuilderCreateTempGlobalVariableFwdDecl",4074 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u64", "pointer", "u32", "pointer", "i32", "pointer", "u32"],4075 result: "pointer"4076 },4077 DIBuilderInsertDeclareBefore: {4078 name: "LLVMDIBuilderInsertDeclareBefore",4079 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer", "pointer"],4080 result: "pointer"4081 },4082 DIBuilderInsertDeclareAtEnd: {4083 name: "LLVMDIBuilderInsertDeclareAtEnd",4084 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer", "pointer"],4085 result: "pointer"4086 },4087 DIBuilderInsertDbgValueBefore: {4088 name: "LLVMDIBuilderInsertDbgValueBefore",4089 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer", "pointer"],4090 result: "pointer"4091 },4092 DIBuilderInsertDbgValueAtEnd: {4093 name: "LLVMDIBuilderInsertDbgValueAtEnd",4094 parameters: ["pointer", "pointer", "pointer", "pointer", "pointer", "pointer"],4095 result: "pointer"4096 },4097 DIBuilderCreateAutoVariable: {4098 name: "LLVMDIBuilderCreateAutoVariable",4099 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "u32", "pointer", "i32", "i32", "u32"],4100 result: "pointer"4101 },4102 DIBuilderCreateParameterVariable: {4103 name: "LLVMDIBuilderCreateParameterVariable",4104 parameters: ["pointer", "pointer", "pointer", "u64", "u32", "pointer", "u32", "pointer", "i32", "i32"],4105 result: "pointer"4106 },4107 GetSubprogram: {4108 name: "LLVMGetSubprogram",4109 parameters: ["pointer"],4110 result: "pointer"4111 },4112 SetSubprogram: {4113 name: "LLVMSetSubprogram",4114 parameters: ["pointer", "pointer"],4115 result: "void"4116 },4117 DISubprogramGetLine: {4118 name: "LLVMDISubprogramGetLine",4119 parameters: ["pointer"],4120 result: "u32"4121 },4122 InstructionGetDebugLoc: {4123 name: "LLVMInstructionGetDebugLoc",4124 parameters: ["pointer"],4125 result: "pointer"4126 },4127 InstructionSetDebugLoc: {4128 name: "LLVMInstructionSetDebugLoc",4129 parameters: ["pointer", "pointer"],4130 result: "void"4131 },4132 GetMetadataKind: {4133 name: "LLVMGetMetadataKind",4134 parameters: ["pointer"],4135 result: "u32"4136 },4137 CreateDisasm: {4138 name: "LLVMCreateDisasm",4139 parameters: ["pointer", "pointer", "i32", "function", "function"],4140 result: "pointer"4141 },4142 CreateDisasmCPU: {4143 name: "LLVMCreateDisasmCPU",4144 parameters: ["pointer", "pointer", "pointer", "i32", "function", "function"],4145 result: "pointer"4146 },4147 CreateDisasmCPUFeatures: {4148 name: "LLVMCreateDisasmCPUFeatures",4149 parameters: ["pointer", "pointer", "pointer", "pointer", "i32", "function", "function"],4150 result: "pointer"4151 },4152 SetDisasmOptions: {4153 name: "LLVMSetDisasmOptions",4154 parameters: ["pointer", "u64"],4155 result: "i32"4156 },4157 DisasmDispose: {4158 name: "LLVMDisasmDispose",4159 parameters: ["pointer"],4160 result: "void"4161 },4162 DisasmInstruction: {4163 name: "LLVMDisasmInstruction",4164 parameters: ["pointer", "pointer", "u64", "u64", "pointer", "u64"],4165 result: "u64"4166 },4167 GetErrorTypeId: {4168 name: "LLVMGetErrorTypeId",4169 parameters: ["pointer"],4170 result: "pointer"4171 },4172 ConsumeError: {4173 name: "LLVMConsumeError",4174 parameters: ["pointer"],4175 result: "void"4176 },4177 GetErrorMessage: {4178 name: "LLVMGetErrorMessage",4179 parameters: ["pointer"],4180 result: "pointer"4181 },4182 DisposeErrorMessage: {4183 name: "LLVMDisposeErrorMessage",4184 parameters: ["pointer"],4185 result: "void"4186 },4187 GetStringErrorTypeId: {4188 name: "LLVMGetStringErrorTypeId",4189 parameters: [],4190 result: "pointer"4191 },4192 CreateStringError: {4193 name: "LLVMCreateStringError",4194 parameters: ["pointer"],4195 result: "pointer"4196 },4197 InitializeAArch64TargetInfo: {4198 name: "LLVMInitializeAArch64TargetInfo",4199 parameters: [],4200 result: "void"4201 },4202 InitializeAMDGPUTargetInfo: {4203 name: "LLVMInitializeAMDGPUTargetInfo",4204 parameters: [],4205 result: "void"4206 },4207 InitializeARMTargetInfo: {4208 name: "LLVMInitializeARMTargetInfo",4209 parameters: [],4210 result: "void"4211 },4212 InitializeAVRTargetInfo: {4213 name: "LLVMInitializeAVRTargetInfo",4214 parameters: [],4215 result: "void"4216 },4217 InitializeBPFTargetInfo: {4218 name: "LLVMInitializeBPFTargetInfo",4219 parameters: [],4220 result: "void"4221 },4222 InitializeHexagonTargetInfo: {4223 name: "LLVMInitializeHexagonTargetInfo",4224 parameters: [],4225 result: "void"4226 },4227 InitializeLanaiTargetInfo: {4228 name: "LLVMInitializeLanaiTargetInfo",4229 parameters: [],4230 result: "void"4231 },4232 InitializeMipsTargetInfo: {4233 name: "LLVMInitializeMipsTargetInfo",4234 parameters: [],4235 result: "void"4236 },4237 InitializeMSP430TargetInfo: {4238 name: "LLVMInitializeMSP430TargetInfo",4239 parameters: [],4240 result: "void"4241 },4242 InitializeNVPTXTargetInfo: {4243 name: "LLVMInitializeNVPTXTargetInfo",4244 parameters: [],4245 result: "void"4246 },4247 InitializePowerPCTargetInfo: {4248 name: "LLVMInitializePowerPCTargetInfo",4249 parameters: [],4250 result: "void"4251 },4252 InitializeRISCVTargetInfo: {4253 name: "LLVMInitializeRISCVTargetInfo",4254 parameters: [],4255 result: "void"4256 },4257 InitializeSparcTargetInfo: {4258 name: "LLVMInitializeSparcTargetInfo",4259 parameters: [],4260 result: "void"4261 },4262 InitializeSystemZTargetInfo: {4263 name: "LLVMInitializeSystemZTargetInfo",4264 parameters: [],4265 result: "void"4266 },4267 InitializeVETargetInfo: {4268 name: "LLVMInitializeVETargetInfo",4269 parameters: [],4270 result: "void"4271 },4272 InitializeWebAssemblyTargetInfo: {4273 name: "LLVMInitializeWebAssemblyTargetInfo",4274 parameters: [],4275 result: "void"4276 },4277 InitializeX86TargetInfo: {4278 name: "LLVMInitializeX86TargetInfo",4279 parameters: [],4280 result: "void"4281 },4282 InitializeXCoreTargetInfo: {4283 name: "LLVMInitializeXCoreTargetInfo",4284 parameters: [],4285 result: "void"4286 },4287 InitializeAArch64Target: {4288 name: "LLVMInitializeAArch64Target",4289 parameters: [],4290 result: "void"4291 },4292 InitializeAMDGPUTarget: {4293 name: "LLVMInitializeAMDGPUTarget",4294 parameters: [],4295 result: "void"4296 },4297 InitializeARMTarget: {4298 name: "LLVMInitializeARMTarget",4299 parameters: [],4300 result: "void"4301 },4302 InitializeAVRTarget: {4303 name: "LLVMInitializeAVRTarget",4304 parameters: [],4305 result: "void"4306 },4307 InitializeBPFTarget: {4308 name: "LLVMInitializeBPFTarget",4309 parameters: [],4310 result: "void"4311 },4312 InitializeHexagonTarget: {4313 name: "LLVMInitializeHexagonTarget",4314 parameters: [],4315 result: "void"4316 },4317 InitializeLanaiTarget: {4318 name: "LLVMInitializeLanaiTarget",4319 parameters: [],4320 result: "void"4321 },4322 InitializeMipsTarget: {4323 name: "LLVMInitializeMipsTarget",4324 parameters: [],4325 result: "void"4326 },4327 InitializeMSP430Target: {4328 name: "LLVMInitializeMSP430Target",4329 parameters: [],4330 result: "void"4331 },4332 InitializeNVPTXTarget: {4333 name: "LLVMInitializeNVPTXTarget",4334 parameters: [],4335 result: "void"4336 },4337 InitializePowerPCTarget: {4338 name: "LLVMInitializePowerPCTarget",4339 parameters: [],4340 result: "void"4341 },4342 InitializeRISCVTarget: {4343 name: "LLVMInitializeRISCVTarget",4344 parameters: [],4345 result: "void"4346 },4347 InitializeSparcTarget: {4348 name: "LLVMInitializeSparcTarget",4349 parameters: [],4350 result: "void"4351 },4352 InitializeSystemZTarget: {4353 name: "LLVMInitializeSystemZTarget",4354 parameters: [],4355 result: "void"4356 },4357 InitializeVETarget: {4358 name: "LLVMInitializeVETarget",4359 parameters: [],4360 result: "void"4361 },4362 InitializeWebAssemblyTarget: {4363 name: "LLVMInitializeWebAssemblyTarget",4364 parameters: [],4365 result: "void"4366 },4367 InitializeX86Target: {4368 name: "LLVMInitializeX86Target",4369 parameters: [],4370 result: "void"4371 },4372 InitializeXCoreTarget: {4373 name: "LLVMInitializeXCoreTarget",4374 parameters: [],4375 result: "void"4376 },4377 InitializeAArch64TargetMC: {4378 name: "LLVMInitializeAArch64TargetMC",4379 parameters: [],4380 result: "void"4381 },4382 InitializeAMDGPUTargetMC: {4383 name: "LLVMInitializeAMDGPUTargetMC",4384 parameters: [],4385 result: "void"4386 },4387 InitializeARMTargetMC: {4388 name: "LLVMInitializeARMTargetMC",4389 parameters: [],4390 result: "void"4391 },4392 InitializeAVRTargetMC: {4393 name: "LLVMInitializeAVRTargetMC",4394 parameters: [],4395 result: "void"4396 },4397 InitializeBPFTargetMC: {4398 name: "LLVMInitializeBPFTargetMC",4399 parameters: [],4400 result: "void"4401 },4402 InitializeHexagonTargetMC: {4403 name: "LLVMInitializeHexagonTargetMC",4404 parameters: [],4405 result: "void"4406 },4407 InitializeLanaiTargetMC: {4408 name: "LLVMInitializeLanaiTargetMC",4409 parameters: [],4410 result: "void"4411 },4412 InitializeMipsTargetMC: {4413 name: "LLVMInitializeMipsTargetMC",4414 parameters: [],4415 result: "void"4416 },4417 InitializeMSP430TargetMC: {4418 name: "LLVMInitializeMSP430TargetMC",4419 parameters: [],4420 result: "void"4421 },4422 InitializeNVPTXTargetMC: {4423 name: "LLVMInitializeNVPTXTargetMC",4424 parameters: [],4425 result: "void"4426 },4427 InitializePowerPCTargetMC: {4428 name: "LLVMInitializePowerPCTargetMC",4429 parameters: [],4430 result: "void"4431 },4432 InitializeRISCVTargetMC: {4433 name: "LLVMInitializeRISCVTargetMC",4434 parameters: [],4435 result: "void"4436 },4437 InitializeSparcTargetMC: {4438 name: "LLVMInitializeSparcTargetMC",4439 parameters: [],4440 result: "void"4441 },4442 InitializeSystemZTargetMC: {4443 name: "LLVMInitializeSystemZTargetMC",4444 parameters: [],4445 result: "void"4446 },4447 InitializeVETargetMC: {4448 name: "LLVMInitializeVETargetMC",4449 parameters: [],4450 result: "void"4451 },4452 InitializeWebAssemblyTargetMC: {4453 name: "LLVMInitializeWebAssemblyTargetMC",4454 parameters: [],4455 result: "void"4456 },4457 InitializeX86TargetMC: {4458 name: "LLVMInitializeX86TargetMC",4459 parameters: [],4460 result: "void"4461 },4462 InitializeXCoreTargetMC: {4463 name: "LLVMInitializeXCoreTargetMC",4464 parameters: [],4465 result: "void"4466 },4467 InitializeAArch64AsmPrinter: {4468 name: "LLVMInitializeAArch64AsmPrinter",4469 parameters: [],4470 result: "void"4471 },4472 InitializeAMDGPUAsmPrinter: {4473 name: "LLVMInitializeAMDGPUAsmPrinter",4474 parameters: [],4475 result: "void"4476 },4477 InitializeARMAsmPrinter: {4478 name: "LLVMInitializeARMAsmPrinter",4479 parameters: [],4480 result: "void"4481 },4482 InitializeAVRAsmPrinter: {4483 name: "LLVMInitializeAVRAsmPrinter",4484 parameters: [],4485 result: "void"4486 },4487 InitializeBPFAsmPrinter: {4488 name: "LLVMInitializeBPFAsmPrinter",4489 parameters: [],4490 result: "void"4491 },4492 InitializeHexagonAsmPrinter: {4493 name: "LLVMInitializeHexagonAsmPrinter",4494 parameters: [],4495 result: "void"4496 },4497 InitializeLanaiAsmPrinter: {4498 name: "LLVMInitializeLanaiAsmPrinter",4499 parameters: [],4500 result: "void"4501 },4502 InitializeMipsAsmPrinter: {4503 name: "LLVMInitializeMipsAsmPrinter",4504 parameters: [],4505 result: "void"4506 },4507 InitializeMSP430AsmPrinter: {4508 name: "LLVMInitializeMSP430AsmPrinter",4509 parameters: [],4510 result: "void"4511 },4512 InitializeNVPTXAsmPrinter: {4513 name: "LLVMInitializeNVPTXAsmPrinter",4514 parameters: [],4515 result: "void"4516 },4517 InitializePowerPCAsmPrinter: {4518 name: "LLVMInitializePowerPCAsmPrinter",4519 parameters: [],4520 result: "void"4521 },4522 InitializeRISCVAsmPrinter: {4523 name: "LLVMInitializeRISCVAsmPrinter",4524 parameters: [],4525 result: "void"4526 },4527 InitializeSparcAsmPrinter: {4528 name: "LLVMInitializeSparcAsmPrinter",4529 parameters: [],4530 result: "void"4531 },4532 InitializeSystemZAsmPrinter: {4533 name: "LLVMInitializeSystemZAsmPrinter",4534 parameters: [],4535 result: "void"4536 },4537 InitializeVEAsmPrinter: {4538 name: "LLVMInitializeVEAsmPrinter",4539 parameters: [],4540 result: "void"4541 },4542 InitializeWebAssemblyAsmPrinter: {4543 name: "LLVMInitializeWebAssemblyAsmPrinter",4544 parameters: [],4545 result: "void"4546 },4547 InitializeX86AsmPrinter: {4548 name: "LLVMInitializeX86AsmPrinter",4549 parameters: [],4550 result: "void"4551 },4552 InitializeXCoreAsmPrinter: {4553 name: "LLVMInitializeXCoreAsmPrinter",4554 parameters: [],4555 result: "void"4556 },4557 InitializeAArch64AsmParser: {4558 name: "LLVMInitializeAArch64AsmParser",4559 parameters: [],4560 result: "void"4561 },4562 InitializeAMDGPUAsmParser: {4563 name: "LLVMInitializeAMDGPUAsmParser",4564 parameters: [],4565 result: "void"4566 },4567 InitializeARMAsmParser: {4568 name: "LLVMInitializeARMAsmParser",4569 parameters: [],4570 result: "void"4571 },4572 InitializeAVRAsmParser: {4573 name: "LLVMInitializeAVRAsmParser",4574 parameters: [],4575 result: "void"4576 },4577 InitializeBPFAsmParser: {4578 name: "LLVMInitializeBPFAsmParser",4579 parameters: [],4580 result: "void"4581 },4582 InitializeHexagonAsmParser: {4583 name: "LLVMInitializeHexagonAsmParser",4584 parameters: [],4585 result: "void"4586 },4587 InitializeLanaiAsmParser: {4588 name: "LLVMInitializeLanaiAsmParser",4589 parameters: [],4590 result: "void"4591 },4592 InitializeMipsAsmParser: {4593 name: "LLVMInitializeMipsAsmParser",4594 parameters: [],4595 result: "void"4596 },4597 InitializeMSP430AsmParser: {4598 name: "LLVMInitializeMSP430AsmParser",4599 parameters: [],4600 result: "void"4601 },4602 InitializePowerPCAsmParser: {4603 name: "LLVMInitializePowerPCAsmParser",4604 parameters: [],4605 result: "void"4606 },4607 InitializeRISCVAsmParser: {4608 name: "LLVMInitializeRISCVAsmParser",4609 parameters: [],4610 result: "void"4611 },4612 InitializeSparcAsmParser: {4613 name: "LLVMInitializeSparcAsmParser",4614 parameters: [],4615 result: "void"4616 },4617 InitializeSystemZAsmParser: {4618 name: "LLVMInitializeSystemZAsmParser",4619 parameters: [],4620 result: "void"4621 },4622 InitializeVEAsmParser: {4623 name: "LLVMInitializeVEAsmParser",4624 parameters: [],4625 result: "void"4626 },4627 InitializeWebAssemblyAsmParser: {4628 name: "LLVMInitializeWebAssemblyAsmParser",4629 parameters: [],4630 result: "void"4631 },4632 InitializeX86AsmParser: {4633 name: "LLVMInitializeX86AsmParser",4634 parameters: [],4635 result: "void"4636 },4637 InitializeAArch64Disassembler: {4638 name: "LLVMInitializeAArch64Disassembler",4639 parameters: [],4640 result: "void"4641 },4642 InitializeAMDGPUDisassembler: {4643 name: "LLVMInitializeAMDGPUDisassembler",4644 parameters: [],4645 result: "void"4646 },4647 InitializeARMDisassembler: {4648 name: "LLVMInitializeARMDisassembler",4649 parameters: [],4650 result: "void"4651 },4652 InitializeAVRDisassembler: {4653 name: "LLVMInitializeAVRDisassembler",4654 parameters: [],4655 result: "void"4656 },4657 InitializeBPFDisassembler: {4658 name: "LLVMInitializeBPFDisassembler",4659 parameters: [],4660 result: "void"4661 },4662 InitializeHexagonDisassembler: {4663 name: "LLVMInitializeHexagonDisassembler",4664 parameters: [],4665 result: "void"4666 },4667 InitializeLanaiDisassembler: {4668 name: "LLVMInitializeLanaiDisassembler",4669 parameters: [],4670 result: "void"4671 },4672 InitializeMipsDisassembler: {4673 name: "LLVMInitializeMipsDisassembler",4674 parameters: [],4675 result: "void"4676 },4677 InitializeMSP430Disassembler: {4678 name: "LLVMInitializeMSP430Disassembler",4679 parameters: [],4680 result: "void"4681 },4682 InitializePowerPCDisassembler: {4683 name: "LLVMInitializePowerPCDisassembler",4684 parameters: [],4685 result: "void"4686 },4687 InitializeRISCVDisassembler: {4688 name: "LLVMInitializeRISCVDisassembler",4689 parameters: [],4690 result: "void"4691 },4692 InitializeSparcDisassembler: {4693 name: "LLVMInitializeSparcDisassembler",4694 parameters: [],4695 result: "void"4696 },4697 InitializeSystemZDisassembler: {4698 name: "LLVMInitializeSystemZDisassembler",4699 parameters: [],4700 result: "void"4701 },4702 InitializeVEDisassembler: {4703 name: "LLVMInitializeVEDisassembler",4704 parameters: [],4705 result: "void"4706 },4707 InitializeWebAssemblyDisassembler: {4708 name: "LLVMInitializeWebAssemblyDisassembler",4709 parameters: [],4710 result: "void"4711 },4712 InitializeX86Disassembler: {4713 name: "LLVMInitializeX86Disassembler",4714 parameters: [],4715 result: "void"4716 },4717 InitializeXCoreDisassembler: {4718 name: "LLVMInitializeXCoreDisassembler",4719 parameters: [],4720 result: "void"4721 },4722 GetModuleDataLayout: {4723 name: "LLVMGetModuleDataLayout",4724 parameters: ["pointer"],4725 result: "pointer"4726 },4727 SetModuleDataLayout: {4728 name: "LLVMSetModuleDataLayout",4729 parameters: ["pointer", "pointer"],4730 result: "void"4731 },4732 CreateTargetData: {4733 name: "LLVMCreateTargetData",4734 parameters: ["pointer"],4735 result: "pointer"4736 },4737 DisposeTargetData: {4738 name: "LLVMDisposeTargetData",4739 parameters: ["pointer"],4740 result: "void"4741 },4742 AddTargetLibraryInfo: {4743 name: "LLVMAddTargetLibraryInfo",4744 parameters: ["pointer", "pointer"],4745 result: "void"4746 },4747 CopyStringRepOfTargetData: {4748 name: "LLVMCopyStringRepOfTargetData",4749 parameters: ["pointer"],4750 result: "pointer"4751 },4752 ByteOrder: {4753 name: "LLVMByteOrder",4754 parameters: ["pointer"],4755 result: "i32"4756 },4757 PointerSize: {4758 name: "LLVMPointerSize",4759 parameters: ["pointer"],4760 result: "u32"4761 },4762 PointerSizeForAS: {4763 name: "LLVMPointerSizeForAS",4764 parameters: ["pointer", "u32"],4765 result: "u32"4766 },4767 IntPtrType: {4768 name: "LLVMIntPtrType",4769 parameters: ["pointer"],4770 result: "pointer"4771 },4772 IntPtrTypeForAS: {4773 name: "LLVMIntPtrTypeForAS",4774 parameters: ["pointer", "u32"],4775 result: "pointer"4776 },4777 IntPtrTypeInContext: {4778 name: "LLVMIntPtrTypeInContext",4779 parameters: ["pointer", "pointer"],4780 result: "pointer"4781 },4782 IntPtrTypeForASInContext: {4783 name: "LLVMIntPtrTypeForASInContext",4784 parameters: ["pointer", "pointer", "u32"],4785 result: "pointer"4786 },4787 SizeOfTypeInBits: {4788 name: "LLVMSizeOfTypeInBits",4789 parameters: ["pointer", "pointer"],4790 result: "u64"4791 },4792 StoreSizeOfType: {4793 name: "LLVMStoreSizeOfType",4794 parameters: ["pointer", "pointer"],4795 result: "u64"4796 },4797 ABISizeOfType: {4798 name: "LLVMABISizeOfType",4799 parameters: ["pointer", "pointer"],4800 result: "u64"4801 },4802 ABIAlignmentOfType: {4803 name: "LLVMABIAlignmentOfType",4804 parameters: ["pointer", "pointer"],4805 result: "u32"4806 },4807 CallFrameAlignmentOfType: {4808 name: "LLVMCallFrameAlignmentOfType",4809 parameters: ["pointer", "pointer"],4810 result: "u32"4811 },4812 PreferredAlignmentOfType: {4813 name: "LLVMPreferredAlignmentOfType",4814 parameters: ["pointer", "pointer"],4815 result: "u32"4816 },4817 PreferredAlignmentOfGlobal: {4818 name: "LLVMPreferredAlignmentOfGlobal",4819 parameters: ["pointer", "pointer"],4820 result: "u32"4821 },4822 ElementAtOffset: {4823 name: "LLVMElementAtOffset",4824 parameters: ["pointer", "pointer", "u64"],4825 result: "u32"4826 },4827 OffsetOfElement: {4828 name: "LLVMOffsetOfElement",4829 parameters: ["pointer", "pointer", "u32"],4830 result: "u64"4831 },4832 GetFirstTarget: {4833 name: "LLVMGetFirstTarget",4834 parameters: [],4835 result: "pointer"4836 },4837 GetNextTarget: {4838 name: "LLVMGetNextTarget",4839 parameters: ["pointer"],4840 result: "pointer"4841 },4842 GetTargetFromName: {4843 name: "LLVMGetTargetFromName",4844 parameters: ["pointer"],4845 result: "pointer"4846 },4847 GetTargetFromTriple: {4848 name: "LLVMGetTargetFromTriple",4849 parameters: ["pointer", "pointer", "pointer"],4850 result: "i32"4851 },4852 GetTargetName: {4853 name: "LLVMGetTargetName",4854 parameters: ["pointer"],4855 result: "pointer"4856 },4857 GetTargetDescription: {4858 name: "LLVMGetTargetDescription",4859 parameters: ["pointer"],4860 result: "pointer"4861 },4862 TargetHasJIT: {4863 name: "LLVMTargetHasJIT",4864 parameters: ["pointer"],4865 result: "i32"4866 },4867 TargetHasTargetMachine: {4868 name: "LLVMTargetHasTargetMachine",4869 parameters: ["pointer"],4870 result: "i32"4871 },4872 TargetHasAsmBackend: {4873 name: "LLVMTargetHasAsmBackend",4874 parameters: ["pointer"],4875 result: "i32"4876 },4877 CreateTargetMachine: {4878 name: "LLVMCreateTargetMachine",4879 parameters: ["pointer", "pointer", "pointer", "pointer", "i32", "i32", "i32"],4880 result: "pointer"4881 },4882 DisposeTargetMachine: {4883 name: "LLVMDisposeTargetMachine",4884 parameters: ["pointer"],4885 result: "void"4886 },4887 GetTargetMachineTarget: {4888 name: "LLVMGetTargetMachineTarget",4889 parameters: ["pointer"],4890 result: "pointer"4891 },4892 GetTargetMachineTriple: {4893 name: "LLVMGetTargetMachineTriple",4894 parameters: ["pointer"],4895 result: "pointer"4896 },4897 GetTargetMachineCPU: {4898 name: "LLVMGetTargetMachineCPU",4899 parameters: ["pointer"],4900 result: "pointer"4901 },4902 GetTargetMachineFeatureString: {4903 name: "LLVMGetTargetMachineFeatureString",4904 parameters: ["pointer"],4905 result: "pointer"4906 },4907 CreateTargetDataLayout: {4908 name: "LLVMCreateTargetDataLayout",4909 parameters: ["pointer"],4910 result: "pointer"4911 },4912 SetTargetMachineAsmVerbosity: {4913 name: "LLVMSetTargetMachineAsmVerbosity",4914 parameters: ["pointer", "i32"],4915 result: "void"4916 },4917 TargetMachineEmitToFile: {4918 name: "LLVMTargetMachineEmitToFile",4919 parameters: ["pointer", "pointer", "pointer", "i32", "pointer"],4920 result: "i32"4921 },4922 TargetMachineEmitToMemoryBuffer: {4923 name: "LLVMTargetMachineEmitToMemoryBuffer",4924 parameters: ["pointer", "pointer", "i32", "pointer", "pointer"],4925 result: "i32"4926 },4927 GetDefaultTargetTriple: {4928 name: "LLVMGetDefaultTargetTriple",4929 parameters: [],4930 result: "pointer"4931 },4932 NormalizeTargetTriple: {4933 name: "LLVMNormalizeTargetTriple",4934 parameters: ["pointer"],4935 result: "pointer"4936 },4937 GetHostCPUName: {4938 name: "LLVMGetHostCPUName",4939 parameters: [],4940 result: "pointer"4941 },4942 GetHostCPUFeatures: {4943 name: "LLVMGetHostCPUFeatures",4944 parameters: [],4945 result: "pointer"4946 },4947 AddAnalysisPasses: {4948 name: "LLVMAddAnalysisPasses",4949 parameters: ["pointer", "pointer"],4950 result: "void"4951 },4952 LinkInMCJIT: {4953 name: "LLVMLinkInMCJIT",4954 parameters: [],4955 result: "void"4956 },4957 LinkInInterpreter: {4958 name: "LLVMLinkInInterpreter",4959 parameters: [],4960 result: "void"4961 },4962 CreateGenericValueOfInt: {4963 name: "LLVMCreateGenericValueOfInt",4964 parameters: ["pointer", "u64", "i32"],4965 result: "pointer"4966 },4967 CreateGenericValueOfPointer: {4968 name: "LLVMCreateGenericValueOfPointer",4969 parameters: ["pointer"],4970 result: "pointer"4971 },4972 CreateGenericValueOfFloat: {4973 name: "LLVMCreateGenericValueOfFloat",4974 parameters: ["pointer", "f64"],4975 result: "pointer"4976 },4977 GenericValueIntWidth: {4978 name: "LLVMGenericValueIntWidth",4979 parameters: ["pointer"],4980 result: "u32"4981 },4982 GenericValueToInt: {4983 name: "LLVMGenericValueToInt",4984 parameters: ["pointer", "i32"],4985 result: "u64"4986 },4987 GenericValueToPointer: {4988 name: "LLVMGenericValueToPointer",4989 parameters: ["pointer"],4990 result: "pointer"4991 },4992 GenericValueToFloat: {4993 name: "LLVMGenericValueToFloat",4994 parameters: ["pointer", "pointer"],4995 result: "f64"4996 },4997 DisposeGenericValue: {4998 name: "LLVMDisposeGenericValue",4999 parameters: ["pointer"],5000 result: "void"5001 },5002 CreateExecutionEngineForModule: {5003 name: "LLVMCreateExecutionEngineForModule",5004 parameters: ["pointer", "pointer", "pointer"],5005 result: "i32"5006 },5007 CreateInterpreterForModule: {5008 name: "LLVMCreateInterpreterForModule",5009 parameters: ["pointer", "pointer", "pointer"],5010 result: "i32"5011 },5012 CreateJITCompilerForModule: {5013 name: "LLVMCreateJITCompilerForModule",5014 parameters: ["pointer", "pointer", "u32", "pointer"],5015 result: "i32"5016 },5017 InitializeMCJITCompilerOptions: {5018 name: "LLVMInitializeMCJITCompilerOptions",5019 parameters: ["pointer", "u64"],5020 result: "void"5021 },5022 CreateMCJITCompilerForModule: {5023 name: "LLVMCreateMCJITCompilerForModule",5024 parameters: ["pointer", "pointer", "pointer", "u64", "pointer"],5025 result: "i32"5026 },5027 DisposeExecutionEngine: {5028 name: "LLVMDisposeExecutionEngine",5029 parameters: ["pointer"],5030 result: "void"5031 },5032 RunStaticConstructors: {5033 name: "LLVMRunStaticConstructors",5034 parameters: ["pointer"],5035 result: "void"5036 },5037 RunStaticDestructors: {5038 name: "LLVMRunStaticDestructors",5039 parameters: ["pointer"],5040 result: "void"5041 },5042 RunFunctionAsMain: {5043 name: "LLVMRunFunctionAsMain",5044 parameters: ["pointer", "pointer", "u32", "pointer", "pointer"],5045 result: "i32"5046 },5047 RunFunction: {5048 name: "LLVMRunFunction",5049 parameters: ["pointer", "pointer", "u32", "pointer"],5050 result: "pointer"5051 },5052 FreeMachineCodeForFunction: {5053 name: "LLVMFreeMachineCodeForFunction",5054 parameters: ["pointer", "pointer"],5055 result: "void"5056 },5057 AddModule: {5058 name: "LLVMAddModule",5059 parameters: ["pointer", "pointer"],5060 result: "void"5061 },5062 RemoveModule: {5063 name: "LLVMRemoveModule",5064 parameters: ["pointer", "pointer", "pointer", "pointer"],5065 result: "i32"5066 },5067 FindFunction: {5068 name: "LLVMFindFunction",5069 parameters: ["pointer", "pointer", "pointer"],5070 result: "i32"5071 },5072 RecompileAndRelinkFunction: {5073 name: "LLVMRecompileAndRelinkFunction",5074 parameters: ["pointer", "pointer"],5075 result: "pointer"5076 },5077 GetExecutionEngineTargetData: {5078 name: "LLVMGetExecutionEngineTargetData",5079 parameters: ["pointer"],5080 result: "pointer"5081 },5082 GetExecutionEngineTargetMachine: {5083 name: "LLVMGetExecutionEngineTargetMachine",5084 parameters: ["pointer"],5085 result: "pointer"5086 },5087 AddGlobalMapping: {5088 name: "LLVMAddGlobalMapping",5089 parameters: ["pointer", "pointer", "pointer"],5090 result: "void"5091 },5092 GetPointerToGlobal: {5093 name: "LLVMGetPointerToGlobal",5094 parameters: ["pointer", "pointer"],5095 result: "pointer"5096 },5097 GetGlobalValueAddress: {5098 name: "LLVMGetGlobalValueAddress",5099 parameters: ["pointer", "pointer"],5100 result: "u64"5101 },5102 GetFunctionAddress: {5103 name: "LLVMGetFunctionAddress",5104 parameters: ["pointer", "pointer"],5105 result: "u64"5106 },5107 ExecutionEngineGetErrMsg: {5108 name: "LLVMExecutionEngineGetErrMsg",5109 parameters: ["pointer", "pointer"],5110 result: "i32"5111 },5112 CreateSimpleMCJITMemoryManager: {5113 name: "LLVMCreateSimpleMCJITMemoryManager",5114 parameters: ["pointer", "function", "function", "function", "function"],5115 result: "pointer"5116 },5117 DisposeMCJITMemoryManager: {5118 name: "LLVMDisposeMCJITMemoryManager",5119 parameters: ["pointer"],5120 result: "void"5121 },5122 CreateGDBRegistrationListener: {5123 name: "LLVMCreateGDBRegistrationListener",5124 parameters: [],5125 result: "pointer"5126 },5127 CreateIntelJITEventListener: {5128 name: "LLVMCreateIntelJITEventListener",5129 parameters: [],5130 result: "pointer"5131 },5132 CreateOProfileJITEventListener: {5133 name: "LLVMCreateOProfileJITEventListener",5134 parameters: [],5135 result: "pointer"5136 },5137 CreatePerfJITEventListener: {5138 name: "LLVMCreatePerfJITEventListener",5139 parameters: [],5140 result: "pointer"5141 },5142 ParseIRInContext: {5143 name: "LLVMParseIRInContext",5144 parameters: ["pointer", "pointer", "pointer", "pointer"],5145 result: "i32"5146 },5147 InitializeTransformUtils: {5148 name: "LLVMInitializeTransformUtils",5149 parameters: ["pointer"],5150 result: "void"5151 },5152 InitializeScalarOpts: {5153 name: "LLVMInitializeScalarOpts",5154 parameters: ["pointer"],5155 result: "void"5156 },5157 InitializeObjCARCOpts: {5158 name: "LLVMInitializeObjCARCOpts",5159 parameters: ["pointer"],5160 result: "void"5161 },5162 InitializeVectorization: {5163 name: "LLVMInitializeVectorization",5164 parameters: ["pointer"],5165 result: "void"5166 },5167 InitializeInstCombine: {5168 name: "LLVMInitializeInstCombine",5169 parameters: ["pointer"],5170 result: "void"5171 },5172 InitializeAggressiveInstCombiner: {5173 name: "LLVMInitializeAggressiveInstCombiner",5174 parameters: ["pointer"],5175 result: "void"5176 },5177 InitializeIPO: {5178 name: "LLVMInitializeIPO",5179 parameters: ["pointer"],5180 result: "void"5181 },5182 InitializeInstrumentation: {5183 name: "LLVMInitializeInstrumentation",5184 parameters: ["pointer"],5185 result: "void"5186 },5187 InitializeAnalysis: {5188 name: "LLVMInitializeAnalysis",5189 parameters: ["pointer"],5190 result: "void"5191 },5192 InitializeIPA: {5193 name: "LLVMInitializeIPA",5194 parameters: ["pointer"],5195 result: "void"5196 },5197 InitializeCodeGen: {5198 name: "LLVMInitializeCodeGen",5199 parameters: ["pointer"],5200 result: "void"5201 },5202 InitializeTarget: {5203 name: "LLVMInitializeTarget",5204 parameters: ["pointer"],5205 result: "void"5206 },5207 OrcExecutionSessionSetErrorReporter: {5208 name: "LLVMOrcExecutionSessionSetErrorReporter",5209 parameters: ["pointer", "function", "pointer"],5210 result: "void"5211 },5212 OrcExecutionSessionGetSymbolStringPool: {5213 name: "LLVMOrcExecutionSessionGetSymbolStringPool",5214 parameters: ["pointer"],5215 result: "pointer"5216 },5217 OrcSymbolStringPoolClearDeadEntries: {5218 name: "LLVMOrcSymbolStringPoolClearDeadEntries",5219 parameters: ["pointer"],5220 result: "void"5221 },5222 OrcExecutionSessionIntern: {5223 name: "LLVMOrcExecutionSessionIntern",5224 parameters: ["pointer", "pointer"],5225 result: "pointer"5226 },5227 OrcRetainSymbolStringPoolEntry: {5228 name: "LLVMOrcRetainSymbolStringPoolEntry",5229 parameters: ["pointer"],5230 result: "void"5231 },5232 OrcReleaseSymbolStringPoolEntry: {5233 name: "LLVMOrcReleaseSymbolStringPoolEntry",5234 parameters: ["pointer"],5235 result: "void"5236 },5237 OrcSymbolStringPoolEntryStr: {5238 name: "LLVMOrcSymbolStringPoolEntryStr",5239 parameters: ["pointer"],5240 result: "pointer"5241 },5242 OrcReleaseResourceTracker: {5243 name: "LLVMOrcReleaseResourceTracker",5244 parameters: ["pointer"],5245 result: "void"5246 },5247 OrcResourceTrackerTransferTo: {5248 name: "LLVMOrcResourceTrackerTransferTo",5249 parameters: ["pointer", "pointer"],5250 result: "void"5251 },5252 OrcResourceTrackerRemove: {5253 name: "LLVMOrcResourceTrackerRemove",5254 parameters: ["pointer"],5255 result: "pointer"5256 },5257 OrcDisposeDefinitionGenerator: {5258 name: "LLVMOrcDisposeDefinitionGenerator",5259 parameters: ["pointer"],5260 result: "void"5261 },5262 OrcDisposeMaterializationUnit: {5263 name: "LLVMOrcDisposeMaterializationUnit",5264 parameters: ["pointer"],5265 result: "void"5266 },5267 OrcCreateCustomMaterializationUnit: {5268 name: "LLVMOrcCreateCustomMaterializationUnit",5269 parameters: ["pointer", "pointer", "pointer", "u64", "pointer", "function", "function", "function"],5270 result: "pointer"5271 },5272 OrcAbsoluteSymbols: {5273 name: "LLVMOrcAbsoluteSymbols",5274 parameters: ["pointer", "u64"],5275 result: "pointer"5276 },5277 OrcLazyReexports: {5278 name: "LLVMOrcLazyReexports",5279 parameters: ["pointer", "pointer", "pointer", "pointer", "u64"],5280 result: "pointer"5281 },5282 OrcDisposeMaterializationResponsibility: {5283 name: "LLVMOrcDisposeMaterializationResponsibility",5284 parameters: ["pointer"],5285 result: "void"5286 },5287 OrcMaterializationResponsibilityGetTargetDylib: {5288 name: "LLVMOrcMaterializationResponsibilityGetTargetDylib",5289 parameters: ["pointer"],5290 result: "pointer"5291 },5292 OrcMaterializationResponsibilityGetExecutionSession: {5293 name: "LLVMOrcMaterializationResponsibilityGetExecutionSession",5294 parameters: ["pointer"],5295 result: "pointer"5296 },5297 OrcMaterializationResponsibilityGetSymbols: {5298 name: "LLVMOrcMaterializationResponsibilityGetSymbols",5299 parameters: ["pointer", "pointer"],5300 result: "pointer"5301 },5302 OrcDisposeCSymbolFlagsMap: {5303 name: "LLVMOrcDisposeCSymbolFlagsMap",5304 parameters: ["pointer"],5305 result: "void"5306 },5307 OrcMaterializationResponsibilityGetInitializerSymbol: {5308 name: "LLVMOrcMaterializationResponsibilityGetInitializerSymbol",5309 parameters: ["pointer"],5310 result: "pointer"5311 },5312 OrcMaterializationResponsibilityGetRequestedSymbols: {5313 name: "LLVMOrcMaterializationResponsibilityGetRequestedSymbols",5314 parameters: ["pointer", "pointer"],5315 result: "pointer"5316 },5317 OrcDisposeSymbols: {5318 name: "LLVMOrcDisposeSymbols",5319 parameters: ["pointer"],5320 result: "void"5321 },5322 OrcMaterializationResponsibilityNotifyResolved: {5323 name: "LLVMOrcMaterializationResponsibilityNotifyResolved",5324 parameters: ["pointer", "pointer", "u64"],5325 result: "pointer"5326 },5327 OrcMaterializationResponsibilityNotifyEmitted: {5328 name: "LLVMOrcMaterializationResponsibilityNotifyEmitted",5329 parameters: ["pointer"],5330 result: "pointer"5331 },5332 OrcMaterializationResponsibilityDefineMaterializing: {5333 name: "LLVMOrcMaterializationResponsibilityDefineMaterializing",5334 parameters: ["pointer", "pointer", "u64"],5335 result: "pointer"5336 },5337 OrcMaterializationResponsibilityFailMaterialization: {5338 name: "LLVMOrcMaterializationResponsibilityFailMaterialization",5339 parameters: ["pointer"],5340 result: "void"5341 },5342 OrcMaterializationResponsibilityReplace: {5343 name: "LLVMOrcMaterializationResponsibilityReplace",5344 parameters: ["pointer", "pointer"],5345 result: "pointer"5346 },5347 OrcMaterializationResponsibilityDelegate: {5348 name: "LLVMOrcMaterializationResponsibilityDelegate",5349 parameters: ["pointer", "pointer", "u64", "pointer"],5350 result: "pointer"5351 },5352 OrcMaterializationResponsibilityAddDependencies: {5353 name: "LLVMOrcMaterializationResponsibilityAddDependencies",5354 parameters: ["pointer", "pointer", "pointer", "u64"],5355 result: "void"5356 },5357 OrcMaterializationResponsibilityAddDependenciesForAll: {5358 name: "LLVMOrcMaterializationResponsibilityAddDependenciesForAll",5359 parameters: ["pointer", "pointer", "u64"],5360 result: "void"5361 },5362 OrcExecutionSessionCreateBareJITDylib: {5363 name: "LLVMOrcExecutionSessionCreateBareJITDylib",5364 parameters: ["pointer", "pointer"],5365 result: "pointer"5366 },5367 OrcExecutionSessionCreateJITDylib: {5368 name: "LLVMOrcExecutionSessionCreateJITDylib",5369 parameters: ["pointer", "pointer", "pointer"],5370 result: "pointer"5371 },5372 OrcExecutionSessionGetJITDylibByName: {5373 name: "LLVMOrcExecutionSessionGetJITDylibByName",5374 parameters: ["pointer", "pointer"],5375 result: "pointer"5376 },5377 OrcJITDylibCreateResourceTracker: {5378 name: "LLVMOrcJITDylibCreateResourceTracker",5379 parameters: ["pointer"],5380 result: "pointer"5381 },5382 OrcJITDylibGetDefaultResourceTracker: {5383 name: "LLVMOrcJITDylibGetDefaultResourceTracker",5384 parameters: ["pointer"],5385 result: "pointer"5386 },5387 OrcJITDylibDefine: {5388 name: "LLVMOrcJITDylibDefine",5389 parameters: ["pointer", "pointer"],5390 result: "pointer"5391 },5392 OrcJITDylibClear: {5393 name: "LLVMOrcJITDylibClear",5394 parameters: ["pointer"],5395 result: "pointer"5396 },5397 OrcJITDylibAddGenerator: {5398 name: "LLVMOrcJITDylibAddGenerator",5399 parameters: ["pointer", "pointer"],5400 result: "void"5401 },5402 OrcCreateCustomCAPIDefinitionGenerator: {5403 name: "LLVMOrcCreateCustomCAPIDefinitionGenerator",5404 parameters: ["function", "pointer"],5405 result: "pointer"5406 },5407 OrcCreateDynamicLibrarySearchGeneratorForProcess: {5408 name: "LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess",5409 parameters: ["pointer", "u8", "function", "pointer"],5410 result: "pointer"5411 },5412 OrcCreateDynamicLibrarySearchGeneratorForPath: {5413 name: "LLVMOrcCreateDynamicLibrarySearchGeneratorForPath",5414 parameters: ["pointer", "pointer", "u8", "function", "pointer"],5415 result: "pointer"5416 },5417 OrcCreateStaticLibrarySearchGeneratorForPath: {5418 name: "LLVMOrcCreateStaticLibrarySearchGeneratorForPath",5419 parameters: ["pointer", "pointer", "pointer", "pointer"],5420 result: "pointer"5421 },5422 OrcCreateNewThreadSafeContext: {5423 name: "LLVMOrcCreateNewThreadSafeContext",5424 parameters: [],5425 result: "pointer"5426 },5427 OrcThreadSafeContextGetContext: {5428 name: "LLVMOrcThreadSafeContextGetContext",5429 parameters: ["pointer"],5430 result: "pointer"5431 },5432 OrcDisposeThreadSafeContext: {5433 name: "LLVMOrcDisposeThreadSafeContext",5434 parameters: ["pointer"],5435 result: "void"5436 },5437 OrcCreateNewThreadSafeModule: {5438 name: "LLVMOrcCreateNewThreadSafeModule",5439 parameters: ["pointer", "pointer"],5440 result: "pointer"5441 },5442 OrcDisposeThreadSafeModule: {5443 name: "LLVMOrcDisposeThreadSafeModule",5444 parameters: ["pointer"],5445 result: "void"5446 },5447 OrcThreadSafeModuleWithModuleDo: {5448 name: "LLVMOrcThreadSafeModuleWithModuleDo",5449 parameters: ["pointer", "function", "pointer"],5450 result: "pointer"5451 },5452 OrcJITTargetMachineBuilderDetectHost: {5453 name: "LLVMOrcJITTargetMachineBuilderDetectHost",5454 parameters: ["pointer"],5455 result: "pointer"5456 },5457 OrcJITTargetMachineBuilderCreateFromTargetMachine: {5458 name: "LLVMOrcJITTargetMachineBuilderCreateFromTargetMachine",5459 parameters: ["pointer"],5460 result: "pointer"5461 },5462 OrcDisposeJITTargetMachineBuilder: {5463 name: "LLVMOrcDisposeJITTargetMachineBuilder",5464 parameters: ["pointer"],5465 result: "void"5466 },5467 OrcJITTargetMachineBuilderGetTargetTriple: {5468 name: "LLVMOrcJITTargetMachineBuilderGetTargetTriple",5469 parameters: ["pointer"],5470 result: "pointer"5471 },5472 OrcJITTargetMachineBuilderSetTargetTriple: {5473 name: "LLVMOrcJITTargetMachineBuilderSetTargetTriple",5474 parameters: ["pointer", "pointer"],5475 result: "void"5476 },5477 OrcObjectLayerAddObjectFile: {5478 name: "LLVMOrcObjectLayerAddObjectFile",5479 parameters: ["pointer", "pointer", "pointer"],5480 result: "pointer"5481 },5482 OrcObjectLayerEmit: {5483 name: "LLVMOrcObjectLayerEmit",5484 parameters: ["pointer", "pointer", "pointer"],5485 result: "void"5486 },5487 OrcDisposeObjectLayer: {5488 name: "LLVMOrcDisposeObjectLayer",5489 parameters: ["pointer"],5490 result: "void"5491 },5492 OrcIRTransformLayerEmit: {5493 name: "LLVMOrcIRTransformLayerEmit",5494 parameters: ["pointer", "pointer", "pointer"],5495 result: "void"5496 },5497 OrcIRTransformLayerSetTransform: {5498 name: "LLVMOrcIRTransformLayerSetTransform",5499 parameters: ["pointer", "function", "pointer"],5500 result: "void"5501 },5502 OrcObjectTransformLayerSetTransform: {5503 name: "LLVMOrcObjectTransformLayerSetTransform",5504 parameters: ["pointer", "function", "pointer"],5505 result: "void"5506 },5507 OrcCreateLocalIndirectStubsManager: {5508 name: "LLVMOrcCreateLocalIndirectStubsManager",5509 parameters: ["pointer"],5510 result: "pointer"5511 },5512 OrcDisposeIndirectStubsManager: {5513 name: "LLVMOrcDisposeIndirectStubsManager",5514 parameters: ["pointer"],5515 result: "void"5516 },5517 OrcCreateLocalLazyCallThroughManager: {5518 name: "LLVMOrcCreateLocalLazyCallThroughManager",5519 parameters: ["pointer", "pointer", "u64", "pointer"],5520 result: "pointer"5521 },5522 OrcDisposeLazyCallThroughManager: {5523 name: "LLVMOrcDisposeLazyCallThroughManager",5524 parameters: ["pointer"],5525 result: "void"5526 },5527 OrcCreateDumpObjects: {5528 name: "LLVMOrcCreateDumpObjects",5529 parameters: ["pointer", "pointer"],5530 result: "pointer"5531 },5532 OrcDisposeDumpObjects: {5533 name: "LLVMOrcDisposeDumpObjects",5534 parameters: ["pointer"],5535 result: "void"5536 },5537 OrcDumpObjects_CallOperator: {5538 name: "LLVMOrcDumpObjects_CallOperator",5539 parameters: ["pointer", "pointer"],5540 result: "pointer"5541 },5542 OrcCreateLLJITBuilder: {5543 name: "LLVMOrcCreateLLJITBuilder",5544 parameters: [],5545 result: "pointer"5546 },5547 OrcDisposeLLJITBuilder: {5548 name: "LLVMOrcDisposeLLJITBuilder",5549 parameters: ["pointer"],5550 result: "void"5551 },5552 OrcLLJITBuilderSetJITTargetMachineBuilder: {5553 name: "LLVMOrcLLJITBuilderSetJITTargetMachineBuilder",5554 parameters: ["pointer", "pointer"],5555 result: "void"5556 },5557 OrcLLJITBuilderSetObjectLinkingLayerCreator: {5558 name: "LLVMOrcLLJITBuilderSetObjectLinkingLayerCreator",5559 parameters: ["pointer", "function", "pointer"],5560 result: "void"5561 },5562 OrcCreateLLJIT: {5563 name: "LLVMOrcCreateLLJIT",5564 parameters: ["pointer", "pointer"],5565 result: "pointer"5566 },5567 OrcDisposeLLJIT: {5568 name: "LLVMOrcDisposeLLJIT",5569 parameters: ["pointer"],5570 result: "pointer"5571 },5572 OrcLLJITGetExecutionSession: {5573 name: "LLVMOrcLLJITGetExecutionSession",5574 parameters: ["pointer"],5575 result: "pointer"5576 },5577 OrcLLJITGetMainJITDylib: {5578 name: "LLVMOrcLLJITGetMainJITDylib",5579 parameters: ["pointer"],5580 result: "pointer"5581 },5582 OrcLLJITGetTripleString: {5583 name: "LLVMOrcLLJITGetTripleString",5584 parameters: ["pointer"],5585 result: "pointer"5586 },5587 OrcLLJITGetGlobalPrefix: {5588 name: "LLVMOrcLLJITGetGlobalPrefix",5589 parameters: ["pointer"],5590 result: "u8"5591 },5592 OrcLLJITMangleAndIntern: {5593 name: "LLVMOrcLLJITMangleAndIntern",5594 parameters: ["pointer", "pointer"],5595 result: "pointer"5596 },5597 OrcLLJITAddObjectFile: {5598 name: "LLVMOrcLLJITAddObjectFile",5599 parameters: ["pointer", "pointer", "pointer"],5600 result: "pointer"5601 },5602 OrcLLJITAddObjectFileWithRT: {5603 name: "LLVMOrcLLJITAddObjectFileWithRT",5604 parameters: ["pointer", "pointer", "pointer"],5605 result: "pointer"5606 },5607 OrcLLJITAddLLVMIRModule: {5608 name: "LLVMOrcLLJITAddLLVMIRModule",5609 parameters: ["pointer", "pointer", "pointer"],5610 result: "pointer"5611 },5612 OrcLLJITAddLLVMIRModuleWithRT: {5613 name: "LLVMOrcLLJITAddLLVMIRModuleWithRT",5614 parameters: ["pointer", "pointer", "pointer"],5615 result: "pointer"5616 },5617 OrcLLJITLookup: {5618 name: "LLVMOrcLLJITLookup",5619 parameters: ["pointer", "pointer", "pointer"],5620 result: "pointer"5621 },5622 OrcLLJITGetObjLinkingLayer: {5623 name: "LLVMOrcLLJITGetObjLinkingLayer",5624 parameters: ["pointer"],5625 result: "pointer"5626 },5627 OrcLLJITGetObjTransformLayer: {5628 name: "LLVMOrcLLJITGetObjTransformLayer",5629 parameters: ["pointer"],5630 result: "pointer"5631 },5632 OrcLLJITGetIRTransformLayer: {5633 name: "LLVMOrcLLJITGetIRTransformLayer",5634 parameters: ["pointer"],5635 result: "pointer"5636 },5637 OrcLLJITGetDataLayoutStr: {5638 name: "LLVMOrcLLJITGetDataLayoutStr",5639 parameters: ["pointer"],5640 result: "pointer"5641 },5642 LinkModules2: {5643 name: "LLVMLinkModules2",5644 parameters: ["pointer", "pointer"],5645 result: "i32"5646 },5647 CreateBinary: {5648 name: "LLVMCreateBinary",5649 parameters: ["pointer", "pointer", "pointer"],5650 result: "pointer"5651 },5652 DisposeBinary: {5653 name: "LLVMDisposeBinary",5654 parameters: ["pointer"],5655 result: "void"5656 },5657 BinaryCopyMemoryBuffer: {5658 name: "LLVMBinaryCopyMemoryBuffer",5659 parameters: ["pointer"],5660 result: "pointer"5661 },5662 BinaryGetType: {5663 name: "LLVMBinaryGetType",5664 parameters: ["pointer"],5665 result: "i32"5666 },5667 MachOUniversalBinaryCopyObjectForArch: {5668 name: "LLVMMachOUniversalBinaryCopyObjectForArch",5669 parameters: ["pointer", "pointer", "u64", "pointer"],5670 result: "pointer"5671 },5672 ObjectFileCopySectionIterator: {5673 name: "LLVMObjectFileCopySectionIterator",5674 parameters: ["pointer"],5675 result: "pointer"5676 },5677 ObjectFileIsSectionIteratorAtEnd: {5678 name: "LLVMObjectFileIsSectionIteratorAtEnd",5679 parameters: ["pointer", "pointer"],5680 result: "i32"5681 },5682 ObjectFileCopySymbolIterator: {5683 name: "LLVMObjectFileCopySymbolIterator",5684 parameters: ["pointer"],5685 result: "pointer"5686 },5687 ObjectFileIsSymbolIteratorAtEnd: {5688 name: "LLVMObjectFileIsSymbolIteratorAtEnd",5689 parameters: ["pointer", "pointer"],5690 result: "i32"5691 },5692 DisposeSectionIterator: {5693 name: "LLVMDisposeSectionIterator",5694 parameters: ["pointer"],5695 result: "void"5696 },5697 MoveToNextSection: {5698 name: "LLVMMoveToNextSection",5699 parameters: ["pointer"],5700 result: "void"5701 },5702 MoveToContainingSection: {5703 name: "LLVMMoveToContainingSection",5704 parameters: ["pointer", "pointer"],5705 result: "void"5706 },5707 DisposeSymbolIterator: {5708 name: "LLVMDisposeSymbolIterator",5709 parameters: ["pointer"],5710 result: "void"5711 },5712 MoveToNextSymbol: {5713 name: "LLVMMoveToNextSymbol",5714 parameters: ["pointer"],5715 result: "void"5716 },5717 GetSectionName: {5718 name: "LLVMGetSectionName",5719 parameters: ["pointer"],5720 result: "pointer"5721 },5722 GetSectionSize: {5723 name: "LLVMGetSectionSize",5724 parameters: ["pointer"],5725 result: "u64"5726 },5727 GetSectionContents: {5728 name: "LLVMGetSectionContents",5729 parameters: ["pointer"],5730 result: "pointer"5731 },5732 GetSectionAddress: {5733 name: "LLVMGetSectionAddress",5734 parameters: ["pointer"],5735 result: "u64"5736 },5737 GetSectionContainsSymbol: {5738 name: "LLVMGetSectionContainsSymbol",5739 parameters: ["pointer", "pointer"],5740 result: "i32"5741 },5742 GetRelocations: {5743 name: "LLVMGetRelocations",5744 parameters: ["pointer"],5745 result: "pointer"5746 },5747 DisposeRelocationIterator: {5748 name: "LLVMDisposeRelocationIterator",5749 parameters: ["pointer"],5750 result: "void"5751 },5752 IsRelocationIteratorAtEnd: {5753 name: "LLVMIsRelocationIteratorAtEnd",5754 parameters: ["pointer", "pointer"],5755 result: "i32"5756 },5757 MoveToNextRelocation: {5758 name: "LLVMMoveToNextRelocation",5759 parameters: ["pointer"],5760 result: "void"5761 },5762 GetSymbolName: {5763 name: "LLVMGetSymbolName",5764 parameters: ["pointer"],5765 result: "pointer"5766 },5767 GetSymbolAddress: {5768 name: "LLVMGetSymbolAddress",5769 parameters: ["pointer"],5770 result: "u64"5771 },5772 GetSymbolSize: {5773 name: "LLVMGetSymbolSize",5774 parameters: ["pointer"],5775 result: "u64"5776 },5777 GetRelocationOffset: {5778 name: "LLVMGetRelocationOffset",5779 parameters: ["pointer"],5780 result: "u64"5781 },5782 GetRelocationSymbol: {5783 name: "LLVMGetRelocationSymbol",5784 parameters: ["pointer"],5785 result: "pointer"5786 },5787 GetRelocationType: {5788 name: "LLVMGetRelocationType",5789 parameters: ["pointer"],5790 result: "u64"5791 },5792 GetRelocationTypeName: {5793 name: "LLVMGetRelocationTypeName",5794 parameters: ["pointer"],5795 result: "pointer"5796 },5797 GetRelocationValueString: {5798 name: "LLVMGetRelocationValueString",5799 parameters: ["pointer"],5800 result: "pointer"5801 },5802 CreateObjectFile: {5803 name: "LLVMCreateObjectFile",5804 parameters: ["pointer"],5805 result: "pointer"5806 },5807 DisposeObjectFile: {5808 name: "LLVMDisposeObjectFile",5809 parameters: ["pointer"],5810 result: "void"5811 },5812 GetSections: {5813 name: "LLVMGetSections",5814 parameters: ["pointer"],5815 result: "pointer"5816 },5817 IsSectionIteratorAtEnd: {5818 name: "LLVMIsSectionIteratorAtEnd",5819 parameters: ["pointer", "pointer"],5820 result: "i32"5821 },5822 GetSymbols: {5823 name: "LLVMGetSymbols",5824 parameters: ["pointer"],5825 result: "pointer"5826 },5827 IsSymbolIteratorAtEnd: {5828 name: "LLVMIsSymbolIteratorAtEnd",5829 parameters: ["pointer", "pointer"],5830 result: "i32"5831 },5832 OrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager: {5833 name: "LLVMOrcCreateRTDyldObjectLinkingLayerWithSectionMemoryManager",5834 parameters: ["pointer"],5835 result: "pointer"5836 },5837 OrcRTDyldObjectLinkingLayerRegisterJITEventListener: {5838 name: "LLVMOrcRTDyldObjectLinkingLayerRegisterJITEventListener",5839 parameters: ["pointer", "pointer"],5840 result: "void"5841 },5842 RemarkStringGetData: {5843 name: "LLVMRemarkStringGetData",5844 parameters: ["pointer"],5845 result: "pointer"5846 },5847 RemarkStringGetLen: {5848 name: "LLVMRemarkStringGetLen",5849 parameters: ["pointer"],5850 result: "u32"5851 },5852 RemarkDebugLocGetSourceFilePath: {5853 name: "LLVMRemarkDebugLocGetSourceFilePath",5854 parameters: ["pointer"],5855 result: "pointer"5856 },5857 RemarkDebugLocGetSourceLine: {5858 name: "LLVMRemarkDebugLocGetSourceLine",5859 parameters: ["pointer"],5860 result: "u32"5861 },5862 RemarkDebugLocGetSourceColumn: {5863 name: "LLVMRemarkDebugLocGetSourceColumn",5864 parameters: ["pointer"],5865 result: "u32"5866 },5867 RemarkArgGetKey: {5868 name: "LLVMRemarkArgGetKey",5869 parameters: ["pointer"],5870 result: "pointer"5871 },5872 RemarkArgGetValue: {5873 name: "LLVMRemarkArgGetValue",5874 parameters: ["pointer"],5875 result: "pointer"5876 },5877 RemarkArgGetDebugLoc: {5878 name: "LLVMRemarkArgGetDebugLoc",5879 parameters: ["pointer"],5880 result: "pointer"5881 },5882 RemarkEntryDispose: {5883 name: "LLVMRemarkEntryDispose",5884 parameters: ["pointer"],5885 result: "void"5886 },5887 RemarkEntryGetType: {5888 name: "LLVMRemarkEntryGetType",5889 parameters: ["pointer"],5890 result: "i32"5891 },5892 RemarkEntryGetPassName: {5893 name: "LLVMRemarkEntryGetPassName",5894 parameters: ["pointer"],5895 result: "pointer"5896 },5897 RemarkEntryGetRemarkName: {5898 name: "LLVMRemarkEntryGetRemarkName",5899 parameters: ["pointer"],5900 result: "pointer"5901 },5902 RemarkEntryGetFunctionName: {5903 name: "LLVMRemarkEntryGetFunctionName",5904 parameters: ["pointer"],5905 result: "pointer"5906 },5907 RemarkEntryGetDebugLoc: {5908 name: "LLVMRemarkEntryGetDebugLoc",5909 parameters: ["pointer"],5910 result: "pointer"5911 },5912 RemarkEntryGetHotness: {5913 name: "LLVMRemarkEntryGetHotness",5914 parameters: ["pointer"],5915 result: "u64"5916 },5917 RemarkEntryGetNumArgs: {5918 name: "LLVMRemarkEntryGetNumArgs",5919 parameters: ["pointer"],5920 result: "u32"5921 },5922 RemarkEntryGetFirstArg: {5923 name: "LLVMRemarkEntryGetFirstArg",5924 parameters: ["pointer"],5925 result: "pointer"5926 },5927 RemarkEntryGetNextArg: {5928 name: "LLVMRemarkEntryGetNextArg",5929 parameters: ["pointer", "pointer"],5930 result: "pointer"5931 },5932 RemarkParserCreateYAML: {5933 name: "LLVMRemarkParserCreateYAML",5934 parameters: ["pointer", "u64"],5935 result: "pointer"5936 },5937 RemarkParserCreateBitstream: {5938 name: "LLVMRemarkParserCreateBitstream",5939 parameters: ["pointer", "u64"],5940 result: "pointer"5941 },5942 RemarkParserGetNext: {5943 name: "LLVMRemarkParserGetNext",5944 parameters: ["pointer"],5945 result: "pointer"5946 },5947 RemarkParserHasError: {5948 name: "LLVMRemarkParserHasError",5949 parameters: ["pointer"],5950 result: "i32"5951 },5952 RemarkParserGetErrorMessage: {5953 name: "LLVMRemarkParserGetErrorMessage",5954 parameters: ["pointer"],5955 result: "pointer"5956 },5957 RemarkParserDispose: {5958 name: "LLVMRemarkParserDispose",5959 parameters: ["pointer"],5960 result: "void"5961 },5962 LoadLibraryPermanently: {5963 name: "LLVMLoadLibraryPermanently",5964 parameters: ["pointer"],5965 result: "i32"5966 },5967 ParseCommandLineOptions: {5968 name: "LLVMParseCommandLineOptions",5969 parameters: ["i32", "pointer", "pointer"],5970 result: "void"5971 },5972 SearchForAddressOfSymbol: {5973 name: "LLVMSearchForAddressOfSymbol",5974 parameters: ["pointer"],5975 result: "pointer"5976 },5977 AddSymbol: {5978 name: "LLVMAddSymbol",5979 parameters: ["pointer", "pointer"],5980 result: "void"5981 },5982 AddAggressiveInstCombinerPass: {5983 name: "LLVMAddAggressiveInstCombinerPass",5984 parameters: ["pointer"],5985 result: "void"5986 },5987 PassManagerBuilderCreate: {5988 name: "LLVMPassManagerBuilderCreate",5989 parameters: [],5990 result: "pointer"5991 },5992 PassManagerBuilderDispose: {5993 name: "LLVMPassManagerBuilderDispose",5994 parameters: ["pointer"],5995 result: "void"5996 },5997 PassManagerBuilderSetOptLevel: {5998 name: "LLVMPassManagerBuilderSetOptLevel",5999 parameters: ["pointer", "u32"],6000 result: "void"6001 },6002 PassManagerBuilderSetSizeLevel: {6003 name: "LLVMPassManagerBuilderSetSizeLevel",6004 parameters: ["pointer", "u32"],6005 result: "void"6006 },6007 PassManagerBuilderSetDisableUnitAtATime: {6008 name: "LLVMPassManagerBuilderSetDisableUnitAtATime",6009 parameters: ["pointer", "i32"],6010 result: "void"6011 },6012 PassManagerBuilderSetDisableUnrollLoops: {6013 name: "LLVMPassManagerBuilderSetDisableUnrollLoops",6014 parameters: ["pointer", "i32"],6015 result: "void"6016 },6017 PassManagerBuilderSetDisableSimplifyLibCalls: {6018 name: "LLVMPassManagerBuilderSetDisableSimplifyLibCalls",6019 parameters: ["pointer", "i32"],6020 result: "void"6021 },6022 PassManagerBuilderUseInlinerWithThreshold: {6023 name: "LLVMPassManagerBuilderUseInlinerWithThreshold",6024 parameters: ["pointer", "u32"],6025 result: "void"6026 },6027 PassManagerBuilderPopulateFunctionPassManager: {6028 name: "LLVMPassManagerBuilderPopulateFunctionPassManager",6029 parameters: ["pointer", "pointer"],6030 result: "void"6031 },6032 PassManagerBuilderPopulateModulePassManager: {6033 name: "LLVMPassManagerBuilderPopulateModulePassManager",6034 parameters: ["pointer", "pointer"],6035 result: "void"6036 },6037 PassManagerBuilderPopulateLTOPassManager: {6038 name: "LLVMPassManagerBuilderPopulateLTOPassManager",6039 parameters: ["pointer", "pointer", "i32", "i32"],6040 result: "void"6041 },6042 AddCoroEarlyPass: {6043 name: "LLVMAddCoroEarlyPass",6044 parameters: ["pointer"],6045 result: "void"6046 },6047 AddCoroSplitPass: {6048 name: "LLVMAddCoroSplitPass",6049 parameters: ["pointer"],6050 result: "void"6051 },6052 AddCoroElidePass: {6053 name: "LLVMAddCoroElidePass",6054 parameters: ["pointer"],6055 result: "void"6056 },6057 AddCoroCleanupPass: {6058 name: "LLVMAddCoroCleanupPass",6059 parameters: ["pointer"],6060 result: "void"6061 },6062 PassManagerBuilderAddCoroutinePassesToExtensionPoints: {6063 name: "LLVMPassManagerBuilderAddCoroutinePassesToExtensionPoints",6064 parameters: ["pointer"],6065 result: "void"6066 },6067 AddArgumentPromotionPass: {6068 name: "LLVMAddArgumentPromotionPass",6069 parameters: ["pointer"],6070 result: "void"6071 },6072 AddConstantMergePass: {6073 name: "LLVMAddConstantMergePass",6074 parameters: ["pointer"],6075 result: "void"6076 },6077 AddMergeFunctionsPass: {6078 name: "LLVMAddMergeFunctionsPass",6079 parameters: ["pointer"],6080 result: "void"6081 },6082 AddCalledValuePropagationPass: {6083 name: "LLVMAddCalledValuePropagationPass",6084 parameters: ["pointer"],6085 result: "void"6086 },6087 AddDeadArgEliminationPass: {6088 name: "LLVMAddDeadArgEliminationPass",6089 parameters: ["pointer"],6090 result: "void"6091 },6092 AddFunctionAttrsPass: {6093 name: "LLVMAddFunctionAttrsPass",6094 parameters: ["pointer"],6095 result: "void"6096 },6097 AddFunctionInliningPass: {6098 name: "LLVMAddFunctionInliningPass",6099 parameters: ["pointer"],6100 result: "void"6101 },6102 AddAlwaysInlinerPass: {6103 name: "LLVMAddAlwaysInlinerPass",6104 parameters: ["pointer"],6105 result: "void"6106 },6107 AddGlobalDCEPass: {6108 name: "LLVMAddGlobalDCEPass",6109 parameters: ["pointer"],6110 result: "void"6111 },6112 AddGlobalOptimizerPass: {6113 name: "LLVMAddGlobalOptimizerPass",6114 parameters: ["pointer"],6115 result: "void"6116 },6117 AddPruneEHPass: {6118 name: "LLVMAddPruneEHPass",6119 parameters: ["pointer"],6120 result: "void"6121 },6122 AddIPSCCPPass: {6123 name: "LLVMAddIPSCCPPass",6124 parameters: ["pointer"],6125 result: "void"6126 },6127 AddInternalizePass: {6128 name: "LLVMAddInternalizePass",6129 parameters: ["pointer", "u32"],6130 result: "void"6131 },6132 AddInternalizePassWithMustPreservePredicate: {6133 name: "LLVMAddInternalizePassWithMustPreservePredicate",6134 parameters: ["pointer", "pointer", "function"],6135 result: "void"6136 },6137 AddStripDeadPrototypesPass: {6138 name: "LLVMAddStripDeadPrototypesPass",6139 parameters: ["pointer"],6140 result: "void"6141 },6142 AddStripSymbolsPass: {6143 name: "LLVMAddStripSymbolsPass",6144 parameters: ["pointer"],6145 result: "void"6146 },6147 AddInstructionCombiningPass: {6148 name: "LLVMAddInstructionCombiningPass",6149 parameters: ["pointer"],6150 result: "void"6151 },6152 RunPasses: {6153 name: "LLVMRunPasses",6154 parameters: ["pointer", "pointer", "pointer", "pointer"],6155 result: "pointer"6156 },6157 CreatePassBuilderOptions: {6158 name: "LLVMCreatePassBuilderOptions",6159 parameters: [],6160 result: "pointer"6161 },6162 PassBuilderOptionsSetVerifyEach: {6163 name: "LLVMPassBuilderOptionsSetVerifyEach",6164 parameters: ["pointer", "i32"],6165 result: "void"6166 },6167 PassBuilderOptionsSetDebugLogging: {6168 name: "LLVMPassBuilderOptionsSetDebugLogging",6169 parameters: ["pointer", "i32"],6170 result: "void"6171 },6172 PassBuilderOptionsSetLoopInterleaving: {6173 name: "LLVMPassBuilderOptionsSetLoopInterleaving",6174 parameters: ["pointer", "i32"],6175 result: "void"6176 },6177 PassBuilderOptionsSetLoopVectorization: {6178 name: "LLVMPassBuilderOptionsSetLoopVectorization",6179 parameters: ["pointer", "i32"],6180 result: "void"6181 },6182 PassBuilderOptionsSetSLPVectorization: {6183 name: "LLVMPassBuilderOptionsSetSLPVectorization",6184 parameters: ["pointer", "i32"],6185 result: "void"6186 },6187 PassBuilderOptionsSetLoopUnrolling: {6188 name: "LLVMPassBuilderOptionsSetLoopUnrolling",6189 parameters: ["pointer", "i32"],6190 result: "void"6191 },6192 PassBuilderOptionsSetForgetAllSCEVInLoopUnroll: {6193 name: "LLVMPassBuilderOptionsSetForgetAllSCEVInLoopUnroll",6194 parameters: ["pointer", "i32"],6195 result: "void"6196 },6197 PassBuilderOptionsSetLicmMssaOptCap: {6198 name: "LLVMPassBuilderOptionsSetLicmMssaOptCap",6199 parameters: ["pointer", "u32"],6200 result: "void"6201 },6202 PassBuilderOptionsSetLicmMssaNoAccForPromotionCap: {6203 name: "LLVMPassBuilderOptionsSetLicmMssaNoAccForPromotionCap",6204 parameters: ["pointer", "u32"],6205 result: "void"6206 },6207 PassBuilderOptionsSetCallGraphProfile: {6208 name: "LLVMPassBuilderOptionsSetCallGraphProfile",6209 parameters: ["pointer", "i32"],6210 result: "void"6211 },6212 PassBuilderOptionsSetMergeFunctions: {6213 name: "LLVMPassBuilderOptionsSetMergeFunctions",6214 parameters: ["pointer", "i32"],6215 result: "void"6216 },6217 DisposePassBuilderOptions: {6218 name: "LLVMDisposePassBuilderOptions",6219 parameters: ["pointer"],6220 result: "void"6221 },6222 AddAggressiveDCEPass: {6223 name: "LLVMAddAggressiveDCEPass",6224 parameters: ["pointer"],6225 result: "void"6226 },6227 AddDCEPass: {6228 name: "LLVMAddDCEPass",6229 parameters: ["pointer"],6230 result: "void"6231 },6232 AddBitTrackingDCEPass: {6233 name: "LLVMAddBitTrackingDCEPass",6234 parameters: ["pointer"],6235 result: "void"6236 },6237 AddAlignmentFromAssumptionsPass: {6238 name: "LLVMAddAlignmentFromAssumptionsPass",6239 parameters: ["pointer"],6240 result: "void"6241 },6242 AddCFGSimplificationPass: {6243 name: "LLVMAddCFGSimplificationPass",6244 parameters: ["pointer"],6245 result: "void"6246 },6247 AddDeadStoreEliminationPass: {6248 name: "LLVMAddDeadStoreEliminationPass",6249 parameters: ["pointer"],6250 result: "void"6251 },6252 AddScalarizerPass: {6253 name: "LLVMAddScalarizerPass",6254 parameters: ["pointer"],6255 result: "void"6256 },6257 AddMergedLoadStoreMotionPass: {6258 name: "LLVMAddMergedLoadStoreMotionPass",6259 parameters: ["pointer"],6260 result: "void"6261 },6262 AddGVNPass: {6263 name: "LLVMAddGVNPass",6264 parameters: ["pointer"],6265 result: "void"6266 },6267 AddNewGVNPass: {6268 name: "LLVMAddNewGVNPass",6269 parameters: ["pointer"],6270 result: "void"6271 },6272 AddIndVarSimplifyPass: {6273 name: "LLVMAddIndVarSimplifyPass",6274 parameters: ["pointer"],6275 result: "void"6276 },6277 AddInstructionSimplifyPass: {6278 name: "LLVMAddInstructionSimplifyPass",6279 parameters: ["pointer"],6280 result: "void"6281 },6282 AddJumpThreadingPass: {6283 name: "LLVMAddJumpThreadingPass",6284 parameters: ["pointer"],6285 result: "void"6286 },6287 AddLICMPass: {6288 name: "LLVMAddLICMPass",6289 parameters: ["pointer"],6290 result: "void"6291 },6292 AddLoopDeletionPass: {6293 name: "LLVMAddLoopDeletionPass",6294 parameters: ["pointer"],6295 result: "void"6296 },6297 AddLoopIdiomPass: {6298 name: "LLVMAddLoopIdiomPass",6299 parameters: ["pointer"],6300 result: "void"6301 },6302 AddLoopRotatePass: {6303 name: "LLVMAddLoopRotatePass",6304 parameters: ["pointer"],6305 result: "void"6306 },6307 AddLoopRerollPass: {6308 name: "LLVMAddLoopRerollPass",6309 parameters: ["pointer"],6310 result: "void"6311 },6312 AddLoopUnrollPass: {6313 name: "LLVMAddLoopUnrollPass",6314 parameters: ["pointer"],6315 result: "void"6316 },6317 AddLoopUnrollAndJamPass: {6318 name: "LLVMAddLoopUnrollAndJamPass",6319 parameters: ["pointer"],6320 result: "void"6321 },6322 AddLoopUnswitchPass: {6323 name: "LLVMAddLoopUnswitchPass",6324 parameters: ["pointer"],6325 result: "void"6326 },6327 AddLowerAtomicPass: {6328 name: "LLVMAddLowerAtomicPass",6329 parameters: ["pointer"],6330 result: "void"6331 },6332 AddMemCpyOptPass: {6333 name: "LLVMAddMemCpyOptPass",6334 parameters: ["pointer"],6335 result: "void"6336 },6337 AddPartiallyInlineLibCallsPass: {6338 name: "LLVMAddPartiallyInlineLibCallsPass",6339 parameters: ["pointer"],6340 result: "void"6341 },6342 AddReassociatePass: {6343 name: "LLVMAddReassociatePass",6344 parameters: ["pointer"],6345 result: "void"6346 },6347 AddSCCPPass: {6348 name: "LLVMAddSCCPPass",6349 parameters: ["pointer"],6350 result: "void"6351 },6352 AddScalarReplAggregatesPass: {6353 name: "LLVMAddScalarReplAggregatesPass",6354 parameters: ["pointer"],6355 result: "void"6356 },6357 AddScalarReplAggregatesPassSSA: {6358 name: "LLVMAddScalarReplAggregatesPassSSA",6359 parameters: ["pointer"],6360 result: "void"6361 },6362 AddScalarReplAggregatesPassWithThreshold: {6363 name: "LLVMAddScalarReplAggregatesPassWithThreshold",6364 parameters: ["pointer", "i32"],6365 result: "void"6366 },6367 AddSimplifyLibCallsPass: {6368 name: "LLVMAddSimplifyLibCallsPass",6369 parameters: ["pointer"],6370 result: "void"6371 },6372 AddTailCallEliminationPass: {6373 name: "LLVMAddTailCallEliminationPass",6374 parameters: ["pointer"],6375 result: "void"6376 },6377 AddDemoteMemoryToRegisterPass: {6378 name: "LLVMAddDemoteMemoryToRegisterPass",6379 parameters: ["pointer"],6380 result: "void"6381 },6382 AddVerifierPass: {6383 name: "LLVMAddVerifierPass",6384 parameters: ["pointer"],6385 result: "void"6386 },6387 AddCorrelatedValuePropagationPass: {6388 name: "LLVMAddCorrelatedValuePropagationPass",6389 parameters: ["pointer"],6390 result: "void"6391 },6392 AddEarlyCSEPass: {6393 name: "LLVMAddEarlyCSEPass",6394 parameters: ["pointer"],6395 result: "void"6396 },6397 AddEarlyCSEMemSSAPass: {6398 name: "LLVMAddEarlyCSEMemSSAPass",6399 parameters: ["pointer"],6400 result: "void"6401 },6402 AddLowerExpectIntrinsicPass: {6403 name: "LLVMAddLowerExpectIntrinsicPass",6404 parameters: ["pointer"],6405 result: "void"6406 },6407 AddLowerConstantIntrinsicsPass: {6408 name: "LLVMAddLowerConstantIntrinsicsPass",6409 parameters: ["pointer"],6410 result: "void"6411 },6412 AddTypeBasedAliasAnalysisPass: {6413 name: "LLVMAddTypeBasedAliasAnalysisPass",6414 parameters: ["pointer"],6415 result: "void"6416 },6417 AddScopedNoAliasAAPass: {6418 name: "LLVMAddScopedNoAliasAAPass",6419 parameters: ["pointer"],6420 result: "void"6421 },6422 AddBasicAliasAnalysisPass: {6423 name: "LLVMAddBasicAliasAnalysisPass",6424 parameters: ["pointer"],6425 result: "void"6426 },6427 AddUnifyFunctionExitNodesPass: {6428 name: "LLVMAddUnifyFunctionExitNodesPass",6429 parameters: ["pointer"],6430 result: "void"6431 },6432 AddLowerSwitchPass: {6433 name: "LLVMAddLowerSwitchPass",6434 parameters: ["pointer"],6435 result: "void"6436 },6437 AddPromoteMemoryToRegisterPass: {6438 name: "LLVMAddPromoteMemoryToRegisterPass",6439 parameters: ["pointer"],6440 result: "void"6441 },6442 AddAddDiscriminatorsPass: {6443 name: "LLVMAddAddDiscriminatorsPass",6444 parameters: ["pointer"],6445 result: "void"6446 },6447 AddLoopVectorizePass: {6448 name: "LLVMAddLoopVectorizePass",6449 parameters: ["pointer"],6450 result: "void"6451 },6452 AddSLPVectorizePass: {6453 name: "LLVMAddSLPVectorizePass",6454 parameters: ["pointer"],6455 result: "void"6456 }...

Full Screen

Full Screen

api.js

Source:api.js Github

copy

Full Screen

1import fetch from "./fetch";2/*jshint esversion: 6 */3/*global fetch, btoa */4import Q from "q";5/**6 *7 * @class API8 * @param {(string|object)} [domainOrOptions] - The project domain or options object. If object, see the object's optional properties.9 * @param {string} [domainOrOptions.domain] - The project domain10 * @param {object} [domainOrOptions.token] - auth token - object with value property and optional headerOrQueryName and isQuery properties11 */12let API = (function() {13 "use strict";14 function API(options) {15 let domain = typeof options === "object" ? options.domain : options;16 this.domain = domain ? domain : "";17 if (this.domain.length === 0) {18 throw new Error("Domain parameter must be specified as a string.");19 }20 }21 function serializeQueryParams(parameters) {22 let str = [];23 for (let p in parameters) {24 if (parameters.hasOwnProperty(p)) {25 str.push(26 encodeURIComponent(p) + "=" + encodeURIComponent(parameters[p])27 );28 }29 }30 return str.join("&");31 }32 function mergeQueryParams(parameters, queryParameters) {33 if (parameters.$queryParameters) {34 Object.keys(parameters.$queryParameters).forEach(function(parameterName) {35 let parameter = parameters.$queryParameters[parameterName];36 queryParameters[parameterName] = parameter;37 });38 }39 return queryParameters;40 }41 /**42 * HTTP Request43 * @method44 * @name API#request45 * @param {string} method - http method46 * @param {string} url - url to do request47 * @param {object} parameters48 * @param {object} body - body parameters / object49 * @param {object} headers - header parameters50 * @param {object} queryParameters - querystring parameters51 * @param {object} form - form data object52 * @param {object} deferred - promise object53 */54 API.prototype.request = function(55 method,56 url,57 parameters,58 body,59 headers,60 queryParameters,61 form,62 deferred63 ) {64 const queryParams =65 queryParameters && Object.keys(queryParameters).length66 ? serializeQueryParams(queryParameters)67 : null;68 const urlWithParams = url + (queryParams ? "?" + queryParams : "");69 if (body && !Object.keys(body).length) {70 body = undefined;71 }72 fetch(urlWithParams, {73 method,74 headers,75 body: JSON.stringify(body)76 })77 .then(response => {78 return response.json();79 })80 .then(body => {81 deferred.resolve(body);82 })83 .catch(error => {84 deferred.reject(error);85 });86 };87 /**88 *89 * @method90 * @name API#post_award_list91 * @param {object} parameters - method options and parameters92 */93 API.prototype.post_award_list = function(parameters) {94 if (parameters === undefined) {95 parameters = {};96 }97 let deferred = Q.defer();98 let domain = this.domain,99 path = "/awards";100 let body = {},101 queryParameters = {},102 headers = {},103 form = {};104 headers["Accept"] = ["application/json"];105 headers["Content-Type"] = ["application/json"];106 queryParameters = mergeQueryParams(parameters, queryParameters);107 this.request(108 "POST",109 domain + path,110 parameters,111 body,112 headers,113 queryParameters,114 form,115 deferred116 );117 return deferred.promise;118 };119 /**120 *121 * @method122 * @name API#delete_award123 * @param {object} parameters - method options and parameters124 * @param {string} parameters.awardId - An Award ID125 */126 API.prototype.delete_award = function(parameters) {127 if (parameters === undefined) {128 parameters = {};129 }130 let deferred = Q.defer();131 let domain = this.domain,132 path = "/awards/{award_id}";133 let body = {},134 queryParameters = {},135 headers = {},136 form = {};137 headers["Accept"] = ["application/json"];138 headers["Content-Type"] = ["application/json"];139 path = path.replace("{award_id}", parameters["awardId"]);140 if (parameters["awardId"] === undefined) {141 deferred.reject(new Error("Missing required parameter: awardId"));142 return deferred.promise;143 }144 queryParameters = mergeQueryParams(parameters, queryParameters);145 this.request(146 "DELETE",147 domain + path,148 parameters,149 body,150 headers,151 queryParameters,152 form,153 deferred154 );155 return deferred.promise;156 };157 /**158 *159 * @method160 * @name API#get_award161 * @param {object} parameters - method options and parameters162 * @param {string} parameters.awardId - An Award ID163 */164 API.prototype.get_award = function(parameters) {165 if (parameters === undefined) {166 parameters = {};167 }168 let deferred = Q.defer();169 let domain = this.domain,170 path = "/awards/{award_id}";171 let body = {},172 queryParameters = {},173 headers = {},174 form = {};175 headers["Accept"] = ["application/json"];176 headers["Content-Type"] = ["application/json"];177 path = path.replace("{award_id}", parameters["awardId"]);178 if (parameters["awardId"] === undefined) {179 deferred.reject(new Error("Missing required parameter: awardId"));180 return deferred.promise;181 }182 queryParameters = mergeQueryParams(parameters, queryParameters);183 this.request(184 "GET",185 domain + path,186 parameters,187 body,188 headers,189 queryParameters,190 form,191 deferred192 );193 return deferred.promise;194 };195 /**196 *197 * @method198 * @name API#post_challenge_list199 * @param {object} parameters - method options and parameters200 */201 API.prototype.post_challenge_list = function(parameters) {202 if (parameters === undefined) {203 parameters = {};204 }205 let deferred = Q.defer();206 let domain = this.domain,207 path = "/challenges";208 let body = {},209 queryParameters = {},210 headers = {},211 form = {};212 headers["Accept"] = ["application/json"];213 headers["Content-Type"] = ["application/json"];214 queryParameters = mergeQueryParams(parameters, queryParameters);215 this.request(216 "POST",217 domain + path,218 parameters,219 body,220 headers,221 queryParameters,222 form,223 deferred224 );225 return deferred.promise;226 };227 /**228 *229 * @method230 * @name API#get_challenge_list231 * @param {object} parameters - method options and parameters232 */233 API.prototype.get_challenge_list = function(parameters) {234 if (parameters === undefined) {235 parameters = {};236 }237 let deferred = Q.defer();238 let domain = this.domain,239 path = "/challenges";240 let body = {},241 queryParameters = {},242 headers = {},243 form = {};244 headers["Accept"] = ["application/json"];245 headers["Content-Type"] = ["application/json"];246 queryParameters = mergeQueryParams(parameters, queryParameters);247 this.request(248 "GET",249 domain + path,250 parameters,251 body,252 headers,253 queryParameters,254 form,255 deferred256 );257 return deferred.promise;258 };259 /**260 *261 * @method262 * @name API#post_challenge_attempt263 * @param {object} parameters - method options and parameters264 */265 API.prototype.post_challenge_attempt = function(parameters) {266 if (parameters === undefined) {267 parameters = {};268 }269 let deferred = Q.defer();270 let domain = this.domain,271 path = "/challenges/attempt";272 let body = {},273 queryParameters = {},274 headers = {},275 form = {};276 headers["Accept"] = ["application/json"];277 headers["Content-Type"] = ["application/json"];278 queryParameters = mergeQueryParams(parameters, queryParameters);279 this.request(280 "POST",281 domain + path,282 parameters,283 body,284 headers,285 queryParameters,286 form,287 deferred288 );289 return deferred.promise;290 };291 /**292 *293 * @method294 * @name API#get_challenge_types295 * @param {object} parameters - method options and parameters296 */297 API.prototype.get_challenge_types = function(parameters) {298 if (parameters === undefined) {299 parameters = {};300 }301 let deferred = Q.defer();302 let domain = this.domain,303 path = "/challenges/types";304 let body = {},305 queryParameters = {},306 headers = {},307 form = {};308 headers["Accept"] = ["application/json"];309 headers["Content-Type"] = ["application/json"];310 queryParameters = mergeQueryParams(parameters, queryParameters);311 this.request(312 "GET",313 domain + path,314 parameters,315 body,316 headers,317 queryParameters,318 form,319 deferred320 );321 return deferred.promise;322 };323 /**324 *325 * @method326 * @name API#patch_challenge327 * @param {object} parameters - method options and parameters328 * @param {string} parameters.challengeId - A Challenge ID329 */330 API.prototype.patch_challenge = function(parameters) {331 if (parameters === undefined) {332 parameters = {};333 }334 let deferred = Q.defer();335 let domain = this.domain,336 path = "/challenges/{challenge_id}";337 let body = {},338 queryParameters = {},339 headers = {},340 form = {};341 headers["Accept"] = ["application/json"];342 headers["Content-Type"] = ["application/json"];343 path = path.replace("{challenge_id}", parameters["challengeId"]);344 if (parameters["challengeId"] === undefined) {345 deferred.reject(new Error("Missing required parameter: challengeId"));346 return deferred.promise;347 }348 queryParameters = mergeQueryParams(parameters, queryParameters);349 this.request(350 "PATCH",351 domain + path,352 parameters,353 body,354 headers,355 queryParameters,356 form,357 deferred358 );359 return deferred.promise;360 };361 /**362 *363 * @method364 * @name API#delete_challenge365 * @param {object} parameters - method options and parameters366 * @param {string} parameters.challengeId - A Challenge ID367 */368 API.prototype.delete_challenge = function(parameters) {369 if (parameters === undefined) {370 parameters = {};371 }372 let deferred = Q.defer();373 let domain = this.domain,374 path = "/challenges/{challenge_id}";375 let body = {},376 queryParameters = {},377 headers = {},378 form = {};379 headers["Accept"] = ["application/json"];380 headers["Content-Type"] = ["application/json"];381 path = path.replace("{challenge_id}", parameters["challengeId"]);382 if (parameters["challengeId"] === undefined) {383 deferred.reject(new Error("Missing required parameter: challengeId"));384 return deferred.promise;385 }386 queryParameters = mergeQueryParams(parameters, queryParameters);387 this.request(388 "DELETE",389 domain + path,390 parameters,391 body,392 headers,393 queryParameters,394 form,395 deferred396 );397 return deferred.promise;398 };399 /**400 *401 * @method402 * @name API#get_challenge403 * @param {object} parameters - method options and parameters404 * @param {string} parameters.challengeId - A Challenge ID405 */406 API.prototype.get_challenge = function(parameters) {407 if (parameters === undefined) {408 parameters = {};409 }410 let deferred = Q.defer();411 let domain = this.domain,412 path = "/challenges/{challenge_id}";413 let body = {},414 queryParameters = {},415 headers = {},416 form = {};417 headers["Accept"] = ["application/json"];418 headers["Content-Type"] = ["application/json"];419 path = path.replace("{challenge_id}", parameters["challengeId"]);420 if (parameters["challengeId"] === undefined) {421 deferred.reject(new Error("Missing required parameter: challengeId"));422 return deferred.promise;423 }424 queryParameters = mergeQueryParams(parameters, queryParameters);425 this.request(426 "GET",427 domain + path,428 parameters,429 body,430 headers,431 queryParameters,432 form,433 deferred434 );435 return deferred.promise;436 };437 /**438 *439 * @method440 * @name API#get_challenge_files441 * @param {object} parameters - method options and parameters442 * @param {string} parameters.id - A Challenge ID443 * @param {string} parameters.challengeId -444 */445 API.prototype.get_challenge_files = function(parameters) {446 if (parameters === undefined) {447 parameters = {};448 }449 let deferred = Q.defer();450 let domain = this.domain,451 path = "/challenges/{challenge_id}/files";452 let body = {},453 queryParameters = {},454 headers = {},455 form = {};456 headers["Accept"] = ["application/json"];457 headers["Content-Type"] = ["application/json"];458 if (parameters["id"] !== undefined) {459 queryParameters["id"] = parameters["id"];460 }461 path = path.replace("{challenge_id}", parameters["challengeId"]);462 if (parameters["challengeId"] === undefined) {463 deferred.reject(new Error("Missing required parameter: challengeId"));464 return deferred.promise;465 }466 queryParameters = mergeQueryParams(parameters, queryParameters);467 this.request(468 "GET",469 domain + path,470 parameters,471 body,472 headers,473 queryParameters,474 form,475 deferred476 );477 return deferred.promise;478 };479 /**480 *481 * @method482 * @name API#get_challenge_flags483 * @param {object} parameters - method options and parameters484 * @param {string} parameters.id - A Challenge ID485 * @param {string} parameters.challengeId -486 */487 API.prototype.get_challenge_flags = function(parameters) {488 if (parameters === undefined) {489 parameters = {};490 }491 let deferred = Q.defer();492 let domain = this.domain,493 path = "/challenges/{challenge_id}/flags";494 let body = {},495 queryParameters = {},496 headers = {},497 form = {};498 headers["Accept"] = ["application/json"];499 headers["Content-Type"] = ["application/json"];500 if (parameters["id"] !== undefined) {501 queryParameters["id"] = parameters["id"];502 }503 path = path.replace("{challenge_id}", parameters["challengeId"]);504 if (parameters["challengeId"] === undefined) {505 deferred.reject(new Error("Missing required parameter: challengeId"));506 return deferred.promise;507 }508 queryParameters = mergeQueryParams(parameters, queryParameters);509 this.request(510 "GET",511 domain + path,512 parameters,513 body,514 headers,515 queryParameters,516 form,517 deferred518 );519 return deferred.promise;520 };521 /**522 *523 * @method524 * @name API#get_challenge_hints525 * @param {object} parameters - method options and parameters526 * @param {string} parameters.id - A Challenge ID527 * @param {string} parameters.challengeId -528 */529 API.prototype.get_challenge_hints = function(parameters) {530 if (parameters === undefined) {531 parameters = {};532 }533 let deferred = Q.defer();534 let domain = this.domain,535 path = "/challenges/{challenge_id}/hints";536 let body = {},537 queryParameters = {},538 headers = {},539 form = {};540 headers["Accept"] = ["application/json"];541 headers["Content-Type"] = ["application/json"];542 if (parameters["id"] !== undefined) {543 queryParameters["id"] = parameters["id"];544 }545 path = path.replace("{challenge_id}", parameters["challengeId"]);546 if (parameters["challengeId"] === undefined) {547 deferred.reject(new Error("Missing required parameter: challengeId"));548 return deferred.promise;549 }550 queryParameters = mergeQueryParams(parameters, queryParameters);551 this.request(552 "GET",553 domain + path,554 parameters,555 body,556 headers,557 queryParameters,558 form,559 deferred560 );561 return deferred.promise;562 };563 /**564 *565 * @method566 * @name API#get_challenge_solves567 * @param {object} parameters - method options and parameters568 * @param {string} parameters.id - A Challenge ID569 * @param {string} parameters.challengeId -570 */571 API.prototype.get_challenge_solves = function(parameters) {572 if (parameters === undefined) {573 parameters = {};574 }575 let deferred = Q.defer();576 let domain = this.domain,577 path = "/challenges/{challenge_id}/solves";578 let body = {},579 queryParameters = {},580 headers = {},581 form = {};582 headers["Accept"] = ["application/json"];583 headers["Content-Type"] = ["application/json"];584 if (parameters["id"] !== undefined) {585 queryParameters["id"] = parameters["id"];586 }587 path = path.replace("{challenge_id}", parameters["challengeId"]);588 if (parameters["challengeId"] === undefined) {589 deferred.reject(new Error("Missing required parameter: challengeId"));590 return deferred.promise;591 }592 queryParameters = mergeQueryParams(parameters, queryParameters);593 this.request(594 "GET",595 domain + path,596 parameters,597 body,598 headers,599 queryParameters,600 form,601 deferred602 );603 return deferred.promise;604 };605 /**606 *607 * @method608 * @name API#get_challenge_tags609 * @param {object} parameters - method options and parameters610 * @param {string} parameters.id - A Challenge ID611 * @param {string} parameters.challengeId -612 */613 API.prototype.get_challenge_tags = function(parameters) {614 if (parameters === undefined) {615 parameters = {};616 }617 let deferred = Q.defer();618 let domain = this.domain,619 path = "/challenges/{challenge_id}/tags";620 let body = {},621 queryParameters = {},622 headers = {},623 form = {};624 headers["Accept"] = ["application/json"];625 headers["Content-Type"] = ["application/json"];626 if (parameters["id"] !== undefined) {627 queryParameters["id"] = parameters["id"];628 }629 path = path.replace("{challenge_id}", parameters["challengeId"]);630 if (parameters["challengeId"] === undefined) {631 deferred.reject(new Error("Missing required parameter: challengeId"));632 return deferred.promise;633 }634 queryParameters = mergeQueryParams(parameters, queryParameters);635 this.request(636 "GET",637 domain + path,638 parameters,639 body,640 headers,641 queryParameters,642 form,643 deferred644 );645 return deferred.promise;646 };647 /**648 *649 * @method650 * @name API#post_config_list651 * @param {object} parameters - method options and parameters652 */653 API.prototype.post_config_list = function(parameters) {654 if (parameters === undefined) {655 parameters = {};656 }657 let deferred = Q.defer();658 let domain = this.domain,659 path = "/configs";660 let body = {},661 queryParameters = {},662 headers = {},663 form = {};664 headers["Accept"] = ["application/json"];665 headers["Content-Type"] = ["application/json"];666 queryParameters = mergeQueryParams(parameters, queryParameters);667 this.request(668 "POST",669 domain + path,670 parameters,671 body,672 headers,673 queryParameters,674 form,675 deferred676 );677 return deferred.promise;678 };679 /**680 *681 * @method682 * @name API#patch_config_list683 * @param {object} parameters - method options and parameters684 */685 API.prototype.patch_config_list = function(parameters) {686 if (parameters === undefined) {687 parameters = {};688 }689 let deferred = Q.defer();690 let domain = this.domain,691 path = "/configs";692 let body = {},693 queryParameters = {},694 headers = {},695 form = {};696 headers["Accept"] = ["application/json"];697 headers["Content-Type"] = ["application/json"];698 queryParameters = mergeQueryParams(parameters, queryParameters);699 this.request(700 "PATCH",701 domain + path,702 parameters,703 body,704 headers,705 queryParameters,706 form,707 deferred708 );709 return deferred.promise;710 };711 /**712 *713 * @method714 * @name API#get_config_list715 * @param {object} parameters - method options and parameters716 */717 API.prototype.get_config_list = function(parameters) {718 if (parameters === undefined) {719 parameters = {};720 }721 let deferred = Q.defer();722 let domain = this.domain,723 path = "/configs";724 let body = {},725 queryParameters = {},726 headers = {},727 form = {};728 headers["Accept"] = ["application/json"];729 headers["Content-Type"] = ["application/json"];730 queryParameters = mergeQueryParams(parameters, queryParameters);731 this.request(732 "GET",733 domain + path,734 parameters,735 body,736 headers,737 queryParameters,738 form,739 deferred740 );741 return deferred.promise;742 };743 /**744 *745 * @method746 * @name API#patch_config747 * @param {object} parameters - method options and parameters748 * @param {string} parameters.configKey -749 */750 API.prototype.patch_config = function(parameters) {751 if (parameters === undefined) {752 parameters = {};753 }754 let deferred = Q.defer();755 let domain = this.domain,756 path = "/configs/{config_key}";757 let body = {},758 queryParameters = {},759 headers = {},760 form = {};761 headers["Accept"] = ["application/json"];762 headers["Content-Type"] = ["application/json"];763 path = path.replace("{config_key}", parameters["configKey"]);764 if (parameters["configKey"] === undefined) {765 deferred.reject(new Error("Missing required parameter: configKey"));766 return deferred.promise;767 }768 queryParameters = mergeQueryParams(parameters, queryParameters);769 this.request(770 "PATCH",771 domain + path,772 parameters,773 body,774 headers,775 queryParameters,776 form,777 deferred778 );779 return deferred.promise;780 };781 /**782 *783 * @method784 * @name API#delete_config785 * @param {object} parameters - method options and parameters786 * @param {string} parameters.configKey -787 */788 API.prototype.delete_config = function(parameters) {789 if (parameters === undefined) {790 parameters = {};791 }792 let deferred = Q.defer();793 let domain = this.domain,794 path = "/configs/{config_key}";795 let body = {},796 queryParameters = {},797 headers = {},798 form = {};799 headers["Accept"] = ["application/json"];800 headers["Content-Type"] = ["application/json"];801 path = path.replace("{config_key}", parameters["configKey"]);802 if (parameters["configKey"] === undefined) {803 deferred.reject(new Error("Missing required parameter: configKey"));804 return deferred.promise;805 }806 queryParameters = mergeQueryParams(parameters, queryParameters);807 this.request(808 "DELETE",809 domain + path,810 parameters,811 body,812 headers,813 queryParameters,814 form,815 deferred816 );817 return deferred.promise;818 };819 /**820 *821 * @method822 * @name API#get_config823 * @param {object} parameters - method options and parameters824 * @param {string} parameters.configKey -825 */826 API.prototype.get_config = function(parameters) {827 if (parameters === undefined) {828 parameters = {};829 }830 let deferred = Q.defer();831 let domain = this.domain,832 path = "/configs/{config_key}";833 let body = {},834 queryParameters = {},835 headers = {},836 form = {};837 headers["Accept"] = ["application/json"];838 headers["Content-Type"] = ["application/json"];839 path = path.replace("{config_key}", parameters["configKey"]);840 if (parameters["configKey"] === undefined) {841 deferred.reject(new Error("Missing required parameter: configKey"));842 return deferred.promise;843 }844 queryParameters = mergeQueryParams(parameters, queryParameters);845 this.request(846 "GET",847 domain + path,848 parameters,849 body,850 headers,851 queryParameters,852 form,853 deferred854 );855 return deferred.promise;856 };857 /**858 *859 * @method860 * @name API#post_files_list861 * @param {object} parameters - method options and parameters862 */863 API.prototype.post_files_list = function(parameters) {864 if (parameters === undefined) {865 parameters = {};866 }867 let deferred = Q.defer();868 let domain = this.domain,869 path = "/files";870 let body = {},871 queryParameters = {},872 headers = {},873 form = {};874 headers["Accept"] = ["application/json"];875 headers["Content-Type"] = ["application/json"];876 queryParameters = mergeQueryParams(parameters, queryParameters);877 this.request(878 "POST",879 domain + path,880 parameters,881 body,882 headers,883 queryParameters,884 form,885 deferred886 );887 return deferred.promise;888 };889 /**890 *891 * @method892 * @name API#get_files_list893 * @param {object} parameters - method options and parameters894 */895 API.prototype.get_files_list = function(parameters) {896 if (parameters === undefined) {897 parameters = {};898 }899 let deferred = Q.defer();900 let domain = this.domain,901 path = "/files";902 let body = {},903 queryParameters = {},904 headers = {},905 form = {};906 headers["Accept"] = ["application/json"];907 headers["Content-Type"] = ["application/json"];908 queryParameters = mergeQueryParams(parameters, queryParameters);909 this.request(910 "GET",911 domain + path,912 parameters,913 body,914 headers,915 queryParameters,916 form,917 deferred918 );919 return deferred.promise;920 };921 /**922 *923 * @method924 * @name API#delete_files_detail925 * @param {object} parameters - method options and parameters926 * @param {string} parameters.fileId -927 */928 API.prototype.delete_files_detail = function(parameters) {929 if (parameters === undefined) {930 parameters = {};931 }932 let deferred = Q.defer();933 let domain = this.domain,934 path = "/files/{file_id}";935 let body = {},936 queryParameters = {},937 headers = {},938 form = {};939 headers["Accept"] = ["application/json"];940 headers["Content-Type"] = ["application/json"];941 path = path.replace("{file_id}", parameters["fileId"]);942 if (parameters["fileId"] === undefined) {943 deferred.reject(new Error("Missing required parameter: fileId"));944 return deferred.promise;945 }946 queryParameters = mergeQueryParams(parameters, queryParameters);947 this.request(948 "DELETE",949 domain + path,950 parameters,951 body,952 headers,953 queryParameters,954 form,955 deferred956 );957 return deferred.promise;958 };959 /**960 *961 * @method962 * @name API#get_files_detail963 * @param {object} parameters - method options and parameters964 * @param {string} parameters.fileId -965 */966 API.prototype.get_files_detail = function(parameters) {967 if (parameters === undefined) {968 parameters = {};969 }970 let deferred = Q.defer();971 let domain = this.domain,972 path = "/files/{file_id}";973 let body = {},974 queryParameters = {},975 headers = {},976 form = {};977 headers["Accept"] = ["application/json"];978 headers["Content-Type"] = ["application/json"];979 path = path.replace("{file_id}", parameters["fileId"]);980 if (parameters["fileId"] === undefined) {981 deferred.reject(new Error("Missing required parameter: fileId"));982 return deferred.promise;983 }984 queryParameters = mergeQueryParams(parameters, queryParameters);985 this.request(986 "GET",987 domain + path,988 parameters,989 body,990 headers,991 queryParameters,992 form,993 deferred994 );995 return deferred.promise;996 };997 /**998 *999 * @method1000 * @name API#post_flag_list1001 * @param {object} parameters - method options and parameters1002 */1003 API.prototype.post_flag_list = function(parameters) {1004 if (parameters === undefined) {1005 parameters = {};1006 }1007 let deferred = Q.defer();1008 let domain = this.domain,1009 path = "/flags";1010 let body = {},1011 queryParameters = {},1012 headers = {},1013 form = {};1014 headers["Accept"] = ["application/json"];1015 headers["Content-Type"] = ["application/json"];1016 queryParameters = mergeQueryParams(parameters, queryParameters);1017 this.request(1018 "POST",1019 domain + path,1020 parameters,1021 body,1022 headers,1023 queryParameters,1024 form,1025 deferred1026 );1027 return deferred.promise;1028 };1029 /**1030 *1031 * @method1032 * @name API#get_flag_list1033 * @param {object} parameters - method options and parameters1034 */1035 API.prototype.get_flag_list = function(parameters) {1036 if (parameters === undefined) {1037 parameters = {};1038 }1039 let deferred = Q.defer();1040 let domain = this.domain,1041 path = "/flags";1042 let body = {},1043 queryParameters = {},1044 headers = {},1045 form = {};1046 headers["Accept"] = ["application/json"];1047 headers["Content-Type"] = ["application/json"];1048 queryParameters = mergeQueryParams(parameters, queryParameters);1049 this.request(1050 "GET",1051 domain + path,1052 parameters,1053 body,1054 headers,1055 queryParameters,1056 form,1057 deferred1058 );1059 return deferred.promise;1060 };1061 /**1062 *1063 * @method1064 * @name API#get_flag_types1065 * @param {object} parameters - method options and parameters1066 */1067 API.prototype.get_flag_types = function(parameters) {1068 if (parameters === undefined) {1069 parameters = {};1070 }1071 let deferred = Q.defer();1072 let domain = this.domain,1073 path = "/flags/types";1074 let body = {},1075 queryParameters = {},1076 headers = {},1077 form = {};1078 headers["Accept"] = ["application/json"];1079 headers["Content-Type"] = ["application/json"];1080 queryParameters = mergeQueryParams(parameters, queryParameters);1081 this.request(1082 "GET",1083 domain + path,1084 parameters,1085 body,1086 headers,1087 queryParameters,1088 form,1089 deferred1090 );1091 return deferred.promise;1092 };1093 /**1094 *1095 * @method1096 * @name API#get_flag_types_11097 * @param {object} parameters - method options and parameters1098 * @param {string} parameters.typeName -1099 */1100 API.prototype.get_flag_types_1 = function(parameters) {1101 if (parameters === undefined) {1102 parameters = {};1103 }1104 let deferred = Q.defer();1105 let domain = this.domain,1106 path = "/flags/types/{type_name}";1107 let body = {},1108 queryParameters = {},1109 headers = {},1110 form = {};1111 headers["Accept"] = ["application/json"];1112 headers["Content-Type"] = ["application/json"];1113 path = path.replace("{type_name}", parameters["typeName"]);1114 if (parameters["typeName"] === undefined) {1115 deferred.reject(new Error("Missing required parameter: typeName"));1116 return deferred.promise;1117 }1118 queryParameters = mergeQueryParams(parameters, queryParameters);1119 this.request(1120 "GET",1121 domain + path,1122 parameters,1123 body,1124 headers,1125 queryParameters,1126 form,1127 deferred1128 );1129 return deferred.promise;1130 };1131 /**1132 *1133 * @method1134 * @name API#patch_flag1135 * @param {object} parameters - method options and parameters1136 * @param {string} parameters.flagId -1137 */1138 API.prototype.patch_flag = function(parameters) {1139 if (parameters === undefined) {1140 parameters = {};1141 }1142 let deferred = Q.defer();1143 let domain = this.domain,1144 path = "/flags/{flag_id}";1145 let body = {},1146 queryParameters = {},1147 headers = {},1148 form = {};1149 headers["Accept"] = ["application/json"];1150 headers["Content-Type"] = ["application/json"];1151 path = path.replace("{flag_id}", parameters["flagId"]);1152 if (parameters["flagId"] === undefined) {1153 deferred.reject(new Error("Missing required parameter: flagId"));1154 return deferred.promise;1155 }1156 queryParameters = mergeQueryParams(parameters, queryParameters);1157 this.request(1158 "PATCH",1159 domain + path,1160 parameters,1161 body,1162 headers,1163 queryParameters,1164 form,1165 deferred1166 );1167 return deferred.promise;1168 };1169 /**1170 *1171 * @method1172 * @name API#delete_flag1173 * @param {object} parameters - method options and parameters1174 * @param {string} parameters.flagId -1175 */1176 API.prototype.delete_flag = function(parameters) {1177 if (parameters === undefined) {1178 parameters = {};1179 }1180 let deferred = Q.defer();1181 let domain = this.domain,1182 path = "/flags/{flag_id}";1183 let body = {},1184 queryParameters = {},1185 headers = {},1186 form = {};1187 headers["Accept"] = ["application/json"];1188 headers["Content-Type"] = ["application/json"];1189 path = path.replace("{flag_id}", parameters["flagId"]);1190 if (parameters["flagId"] === undefined) {1191 deferred.reject(new Error("Missing required parameter: flagId"));1192 return deferred.promise;1193 }1194 queryParameters = mergeQueryParams(parameters, queryParameters);1195 this.request(1196 "DELETE",1197 domain + path,1198 parameters,1199 body,1200 headers,1201 queryParameters,1202 form,1203 deferred1204 );1205 return deferred.promise;1206 };1207 /**1208 *1209 * @method1210 * @name API#get_flag1211 * @param {object} parameters - method options and parameters1212 * @param {string} parameters.flagId -1213 */1214 API.prototype.get_flag = function(parameters) {1215 if (parameters === undefined) {1216 parameters = {};1217 }1218 let deferred = Q.defer();1219 let domain = this.domain,1220 path = "/flags/{flag_id}";1221 let body = {},1222 queryParameters = {},1223 headers = {},1224 form = {};1225 headers["Accept"] = ["application/json"];1226 headers["Content-Type"] = ["application/json"];1227 path = path.replace("{flag_id}", parameters["flagId"]);1228 if (parameters["flagId"] === undefined) {1229 deferred.reject(new Error("Missing required parameter: flagId"));1230 return deferred.promise;1231 }1232 queryParameters = mergeQueryParams(parameters, queryParameters);1233 this.request(1234 "GET",1235 domain + path,1236 parameters,1237 body,1238 headers,1239 queryParameters,1240 form,1241 deferred1242 );1243 return deferred.promise;1244 };1245 /**1246 *1247 * @method1248 * @name API#post_hint_list1249 * @param {object} parameters - method options and parameters1250 */1251 API.prototype.post_hint_list = function(parameters) {1252 if (parameters === undefined) {1253 parameters = {};1254 }1255 let deferred = Q.defer();1256 let domain = this.domain,1257 path = "/hints";1258 let body = {},1259 queryParameters = {},1260 headers = {},1261 form = {};1262 headers["Accept"] = ["application/json"];1263 headers["Content-Type"] = ["application/json"];1264 queryParameters = mergeQueryParams(parameters, queryParameters);1265 this.request(1266 "POST",1267 domain + path,1268 parameters,1269 body,1270 headers,1271 queryParameters,1272 form,1273 deferred1274 );1275 return deferred.promise;1276 };1277 /**1278 *1279 * @method1280 * @name API#get_hint_list1281 * @param {object} parameters - method options and parameters1282 */1283 API.prototype.get_hint_list = function(parameters) {1284 if (parameters === undefined) {1285 parameters = {};1286 }1287 let deferred = Q.defer();1288 let domain = this.domain,1289 path = "/hints";1290 let body = {},1291 queryParameters = {},1292 headers = {},1293 form = {};1294 headers["Accept"] = ["application/json"];1295 headers["Content-Type"] = ["application/json"];1296 queryParameters = mergeQueryParams(parameters, queryParameters);1297 this.request(1298 "GET",1299 domain + path,1300 parameters,1301 body,1302 headers,1303 queryParameters,1304 form,1305 deferred1306 );1307 return deferred.promise;1308 };1309 /**1310 *1311 * @method1312 * @name API#patch_hint1313 * @param {object} parameters - method options and parameters1314 * @param {string} parameters.hintId -1315 */1316 API.prototype.patch_hint = function(parameters) {1317 if (parameters === undefined) {1318 parameters = {};1319 }1320 let deferred = Q.defer();1321 let domain = this.domain,1322 path = "/hints/{hint_id}";1323 let body = {},1324 queryParameters = {},1325 headers = {},1326 form = {};1327 headers["Accept"] = ["application/json"];1328 headers["Content-Type"] = ["application/json"];1329 path = path.replace("{hint_id}", parameters["hintId"]);1330 if (parameters["hintId"] === undefined) {1331 deferred.reject(new Error("Missing required parameter: hintId"));1332 return deferred.promise;1333 }1334 queryParameters = mergeQueryParams(parameters, queryParameters);1335 this.request(1336 "PATCH",1337 domain + path,1338 parameters,1339 body,1340 headers,1341 queryParameters,1342 form,1343 deferred1344 );1345 return deferred.promise;1346 };1347 /**1348 *1349 * @method1350 * @name API#delete_hint1351 * @param {object} parameters - method options and parameters1352 * @param {string} parameters.hintId -1353 */1354 API.prototype.delete_hint = function(parameters) {1355 if (parameters === undefined) {1356 parameters = {};1357 }1358 let deferred = Q.defer();1359 let domain = this.domain,1360 path = "/hints/{hint_id}";1361 let body = {},1362 queryParameters = {},1363 headers = {},1364 form = {};1365 headers["Accept"] = ["application/json"];1366 headers["Content-Type"] = ["application/json"];1367 path = path.replace("{hint_id}", parameters["hintId"]);1368 if (parameters["hintId"] === undefined) {1369 deferred.reject(new Error("Missing required parameter: hintId"));1370 return deferred.promise;1371 }1372 queryParameters = mergeQueryParams(parameters, queryParameters);1373 this.request(1374 "DELETE",1375 domain + path,1376 parameters,1377 body,1378 headers,1379 queryParameters,1380 form,1381 deferred1382 );1383 return deferred.promise;1384 };1385 /**1386 *1387 * @method1388 * @name API#get_hint1389 * @param {object} parameters - method options and parameters1390 * @param {string} parameters.hintId -1391 */1392 API.prototype.get_hint = function(parameters) {1393 if (parameters === undefined) {1394 parameters = {};1395 }1396 let deferred = Q.defer();1397 let domain = this.domain,1398 path = "/hints/{hint_id}";1399 let body = {},1400 queryParameters = {},1401 headers = {},1402 form = {};1403 headers["Accept"] = ["application/json"];1404 headers["Content-Type"] = ["application/json"];1405 path = path.replace("{hint_id}", parameters["hintId"]);1406 if (parameters["hintId"] === undefined) {1407 deferred.reject(new Error("Missing required parameter: hintId"));1408 return deferred.promise;1409 }1410 queryParameters = mergeQueryParams(parameters, queryParameters);1411 this.request(1412 "GET",1413 domain + path,1414 parameters,1415 body,1416 headers,1417 queryParameters,1418 form,1419 deferred1420 );1421 return deferred.promise;1422 };1423 /**1424 *1425 * @method1426 * @name API#post_notification_list1427 * @param {object} parameters - method options and parameters1428 */1429 API.prototype.post_notification_list = function(parameters) {1430 if (parameters === undefined) {1431 parameters = {};1432 }1433 let deferred = Q.defer();1434 let domain = this.domain,1435 path = "/notifications";1436 let body = {},1437 queryParameters = {},1438 headers = {},1439 form = {};1440 headers["Accept"] = ["application/json"];1441 headers["Content-Type"] = ["application/json"];1442 queryParameters = mergeQueryParams(parameters, queryParameters);1443 this.request(1444 "POST",1445 domain + path,1446 parameters,1447 body,1448 headers,1449 queryParameters,1450 form,1451 deferred1452 );1453 return deferred.promise;1454 };1455 /**1456 *1457 * @method1458 * @name API#get_notification_list1459 * @param {object} parameters - method options and parameters1460 */1461 API.prototype.get_notification_list = function(parameters) {1462 if (parameters === undefined) {1463 parameters = {};1464 }1465 let deferred = Q.defer();1466 let domain = this.domain,1467 path = "/notifications";1468 let body = {},1469 queryParameters = {},1470 headers = {},1471 form = {};1472 headers["Accept"] = ["application/json"];1473 headers["Content-Type"] = ["application/json"];1474 queryParameters = mergeQueryParams(parameters, queryParameters);1475 this.request(1476 "GET",1477 domain + path,1478 parameters,1479 body,1480 headers,1481 queryParameters,1482 form,1483 deferred1484 );1485 return deferred.promise;1486 };1487 /**1488 *1489 * @method1490 * @name API#delete_notification1491 * @param {object} parameters - method options and parameters1492 * @param {string} parameters.notificationId - A Notification ID1493 */1494 API.prototype.delete_notification = function(parameters) {1495 if (parameters === undefined) {1496 parameters = {};1497 }1498 let deferred = Q.defer();1499 let domain = this.domain,1500 path = "/notifications/{notification_id}";1501 let body = {},1502 queryParameters = {},1503 headers = {},1504 form = {};1505 headers["Accept"] = ["application/json"];1506 headers["Content-Type"] = ["application/json"];1507 path = path.replace("{notification_id}", parameters["notificationId"]);1508 if (parameters["notificationId"] === undefined) {1509 deferred.reject(new Error("Missing required parameter: notificationId"));1510 return deferred.promise;1511 }1512 queryParameters = mergeQueryParams(parameters, queryParameters);1513 this.request(1514 "DELETE",1515 domain + path,1516 parameters,1517 body,1518 headers,1519 queryParameters,1520 form,1521 deferred1522 );1523 return deferred.promise;1524 };1525 /**1526 *1527 * @method1528 * @name API#get_notification1529 * @param {object} parameters - method options and parameters1530 * @param {string} parameters.notificationId - A Notification ID1531 */1532 API.prototype.get_notification = function(parameters) {1533 if (parameters === undefined) {1534 parameters = {};1535 }1536 let deferred = Q.defer();1537 let domain = this.domain,1538 path = "/notifications/{notification_id}";1539 let body = {},1540 queryParameters = {},1541 headers = {},1542 form = {};1543 headers["Accept"] = ["application/json"];1544 headers["Content-Type"] = ["application/json"];1545 path = path.replace("{notification_id}", parameters["notificationId"]);1546 if (parameters["notificationId"] === undefined) {1547 deferred.reject(new Error("Missing required parameter: notificationId"));1548 return deferred.promise;1549 }1550 queryParameters = mergeQueryParams(parameters, queryParameters);1551 this.request(1552 "GET",1553 domain + path,1554 parameters,1555 body,1556 headers,1557 queryParameters,1558 form,1559 deferred1560 );1561 return deferred.promise;1562 };1563 /**1564 *1565 * @method1566 * @name API#post_page_list1567 * @param {object} parameters - method options and parameters1568 */1569 API.prototype.post_page_list = function(parameters) {1570 if (parameters === undefined) {1571 parameters = {};1572 }1573 let deferred = Q.defer();1574 let domain = this.domain,1575 path = "/pages";1576 let body = {},1577 queryParameters = {},1578 headers = {},1579 form = {};1580 headers["Accept"] = ["application/json"];1581 headers["Content-Type"] = ["application/json"];1582 queryParameters = mergeQueryParams(parameters, queryParameters);1583 this.request(1584 "POST",1585 domain + path,1586 parameters,1587 body,1588 headers,1589 queryParameters,1590 form,1591 deferred1592 );1593 return deferred.promise;1594 };1595 /**1596 *1597 * @method1598 * @name API#get_page_list1599 * @param {object} parameters - method options and parameters1600 */1601 API.prototype.get_page_list = function(parameters) {1602 if (parameters === undefined) {1603 parameters = {};1604 }1605 let deferred = Q.defer();1606 let domain = this.domain,1607 path = "/pages";1608 let body = {},1609 queryParameters = {},1610 headers = {},1611 form = {};1612 headers["Accept"] = ["application/json"];1613 headers["Content-Type"] = ["application/json"];1614 queryParameters = mergeQueryParams(parameters, queryParameters);1615 this.request(1616 "GET",1617 domain + path,1618 parameters,1619 body,1620 headers,1621 queryParameters,1622 form,1623 deferred1624 );1625 return deferred.promise;1626 };1627 /**1628 *1629 * @method1630 * @name API#patch_page_detail1631 * @param {object} parameters - method options and parameters1632 * @param {string} parameters.pageId -1633 */1634 API.prototype.patch_page_detail = function(parameters) {1635 if (parameters === undefined) {1636 parameters = {};1637 }1638 let deferred = Q.defer();1639 let domain = this.domain,1640 path = "/pages/{page_id}";1641 let body = {},1642 queryParameters = {},1643 headers = {},1644 form = {};1645 headers["Accept"] = ["application/json"];1646 headers["Content-Type"] = ["application/json"];1647 path = path.replace("{page_id}", parameters["pageId"]);1648 if (parameters["pageId"] === undefined) {1649 deferred.reject(new Error("Missing required parameter: pageId"));1650 return deferred.promise;1651 }1652 queryParameters = mergeQueryParams(parameters, queryParameters);1653 this.request(1654 "PATCH",1655 domain + path,1656 parameters,1657 body,1658 headers,1659 queryParameters,1660 form,1661 deferred1662 );1663 return deferred.promise;1664 };1665 /**1666 *1667 * @method1668 * @name API#delete_page_detail1669 * @param {object} parameters - method options and parameters1670 * @param {string} parameters.pageId -1671 */1672 API.prototype.delete_page_detail = function(parameters) {1673 if (parameters === undefined) {1674 parameters = {};1675 }1676 let deferred = Q.defer();1677 let domain = this.domain,1678 path = "/pages/{page_id}";1679 let body = {},1680 queryParameters = {},1681 headers = {},1682 form = {};1683 headers["Accept"] = ["application/json"];1684 headers["Content-Type"] = ["application/json"];1685 path = path.replace("{page_id}", parameters["pageId"]);1686 if (parameters["pageId"] === undefined) {1687 deferred.reject(new Error("Missing required parameter: pageId"));1688 return deferred.promise;1689 }1690 queryParameters = mergeQueryParams(parameters, queryParameters);1691 this.request(1692 "DELETE",1693 domain + path,1694 parameters,1695 body,1696 headers,1697 queryParameters,1698 form,1699 deferred1700 );1701 return deferred.promise;1702 };1703 /**1704 *1705 * @method1706 * @name API#get_page_detail1707 * @param {object} parameters - method options and parameters1708 * @param {string} parameters.pageId -1709 */1710 API.prototype.get_page_detail = function(parameters) {1711 if (parameters === undefined) {1712 parameters = {};1713 }1714 let deferred = Q.defer();1715 let domain = this.domain,1716 path = "/pages/{page_id}";1717 let body = {},1718 queryParameters = {},1719 headers = {},1720 form = {};1721 headers["Accept"] = ["application/json"];1722 headers["Content-Type"] = ["application/json"];1723 path = path.replace("{page_id}", parameters["pageId"]);1724 if (parameters["pageId"] === undefined) {1725 deferred.reject(new Error("Missing required parameter: pageId"));1726 return deferred.promise;1727 }1728 queryParameters = mergeQueryParams(parameters, queryParameters);1729 this.request(1730 "GET",1731 domain + path,1732 parameters,1733 body,1734 headers,1735 queryParameters,1736 form,1737 deferred1738 );1739 return deferred.promise;1740 };1741 /**1742 *1743 * @method1744 * @name API#get_scoreboard_list1745 * @param {object} parameters - method options and parameters1746 */1747 API.prototype.get_scoreboard_list = function(parameters) {1748 if (parameters === undefined) {1749 parameters = {};1750 }1751 let deferred = Q.defer();1752 let domain = this.domain,1753 path = "/scoreboard";1754 let body = {},1755 queryParameters = {},1756 headers = {},1757 form = {};1758 headers["Accept"] = ["application/json"];1759 headers["Content-Type"] = ["application/json"];1760 queryParameters = mergeQueryParams(parameters, queryParameters);1761 this.request(1762 "GET",1763 domain + path,1764 parameters,1765 body,1766 headers,1767 queryParameters,1768 form,1769 deferred1770 );1771 return deferred.promise;1772 };1773 /**1774 *1775 * @method1776 * @name API#get_scoreboard_detail1777 * @param {object} parameters - method options and parameters1778 * @param {string} parameters.count - How many top teams to return1779 */1780 API.prototype.get_scoreboard_detail = function(parameters) {1781 if (parameters === undefined) {1782 parameters = {};1783 }1784 let deferred = Q.defer();1785 let domain = this.domain,1786 path = "/scoreboard/top/{count}";1787 let body = {},1788 queryParameters = {},1789 headers = {},1790 form = {};1791 headers["Accept"] = ["application/json"];1792 headers["Content-Type"] = ["application/json"];1793 path = path.replace("{count}", parameters["count"]);1794 if (parameters["count"] === undefined) {1795 deferred.reject(new Error("Missing required parameter: count"));1796 return deferred.promise;1797 }1798 queryParameters = mergeQueryParams(parameters, queryParameters);1799 this.request(1800 "GET",1801 domain + path,1802 parameters,1803 body,1804 headers,1805 queryParameters,1806 form,1807 deferred1808 );1809 return deferred.promise;1810 };1811 /**1812 *1813 * @method1814 * @name API#get_challenge_solve_statistics1815 * @param {object} parameters - method options and parameters1816 */1817 API.prototype.get_challenge_solve_statistics = function(parameters) {1818 if (parameters === undefined) {1819 parameters = {};1820 }1821 let deferred = Q.defer();1822 let domain = this.domain,1823 path = "/statistics/challenges/solves";1824 let body = {},1825 queryParameters = {},1826 headers = {},1827 form = {};1828 headers["Accept"] = ["application/json"];1829 headers["Content-Type"] = ["application/json"];1830 queryParameters = mergeQueryParams(parameters, queryParameters);1831 this.request(1832 "GET",1833 domain + path,1834 parameters,1835 body,1836 headers,1837 queryParameters,1838 form,1839 deferred1840 );1841 return deferred.promise;1842 };1843 /**1844 *1845 * @method1846 * @name API#get_challenge_solve_percentages1847 * @param {object} parameters - method options and parameters1848 */1849 API.prototype.get_challenge_solve_percentages = function(parameters) {1850 if (parameters === undefined) {1851 parameters = {};1852 }1853 let deferred = Q.defer();1854 let domain = this.domain,1855 path = "/statistics/challenges/solves/percentages";1856 let body = {},1857 queryParameters = {},1858 headers = {},1859 form = {};1860 headers["Accept"] = ["application/json"];1861 headers["Content-Type"] = ["application/json"];1862 queryParameters = mergeQueryParams(parameters, queryParameters);1863 this.request(1864 "GET",1865 domain + path,1866 parameters,1867 body,1868 headers,1869 queryParameters,1870 form,1871 deferred1872 );1873 return deferred.promise;1874 };1875 /**1876 *1877 * @method1878 * @name API#get_challenge_property_counts1879 * @param {object} parameters - method options and parameters1880 * @param {string} parameters.column -1881 */1882 API.prototype.get_challenge_property_counts = function(parameters) {1883 if (parameters === undefined) {1884 parameters = {};1885 }1886 let deferred = Q.defer();1887 let domain = this.domain,1888 path = "/statistics/challenges/{column}";1889 let body = {},1890 queryParameters = {},1891 headers = {},1892 form = {};1893 headers["Accept"] = ["application/json"];1894 headers["Content-Type"] = ["application/json"];1895 path = path.replace("{column}", parameters["column"]);1896 if (parameters["column"] === undefined) {1897 deferred.reject(new Error("Missing required parameter: column"));1898 return deferred.promise;1899 }1900 queryParameters = mergeQueryParams(parameters, queryParameters);1901 this.request(1902 "GET",1903 domain + path,1904 parameters,1905 body,1906 headers,1907 queryParameters,1908 form,1909 deferred1910 );1911 return deferred.promise;1912 };1913 /**1914 *1915 * @method1916 * @name API#get_submission_property_counts1917 * @param {object} parameters - method options and parameters1918 * @param {string} parameters.column -1919 */1920 API.prototype.get_submission_property_counts = function(parameters) {1921 if (parameters === undefined) {1922 parameters = {};1923 }1924 let deferred = Q.defer();1925 let domain = this.domain,1926 path = "/statistics/submissions/{column}";1927 let body = {},1928 queryParameters = {},1929 headers = {},1930 form = {};1931 headers["Accept"] = ["application/json"];1932 headers["Content-Type"] = ["application/json"];1933 path = path.replace("{column}", parameters["column"]);1934 if (parameters["column"] === undefined) {1935 deferred.reject(new Error("Missing required parameter: column"));1936 return deferred.promise;1937 }1938 queryParameters = mergeQueryParams(parameters, queryParameters);1939 this.request(1940 "GET",1941 domain + path,1942 parameters,1943 body,1944 headers,1945 queryParameters,1946 form,1947 deferred1948 );1949 return deferred.promise;1950 };1951 /**1952 *1953 * @method1954 * @name API#get_team_statistics1955 * @param {object} parameters - method options and parameters1956 */1957 API.prototype.get_team_statistics = function(parameters) {1958 if (parameters === undefined) {1959 parameters = {};1960 }1961 let deferred = Q.defer();1962 let domain = this.domain,1963 path = "/statistics/teams";1964 let body = {},1965 queryParameters = {},1966 headers = {},1967 form = {};1968 headers["Accept"] = ["application/json"];1969 headers["Content-Type"] = ["application/json"];1970 queryParameters = mergeQueryParams(parameters, queryParameters);1971 this.request(1972 "GET",1973 domain + path,1974 parameters,1975 body,1976 headers,1977 queryParameters,1978 form,1979 deferred1980 );1981 return deferred.promise;1982 };1983 /**1984 *1985 * @method1986 * @name API#get_user_statistics1987 * @param {object} parameters - method options and parameters1988 */1989 API.prototype.get_user_statistics = function(parameters) {1990 if (parameters === undefined) {1991 parameters = {};1992 }1993 let deferred = Q.defer();1994 let domain = this.domain,1995 path = "/statistics/users";1996 let body = {},1997 queryParameters = {},1998 headers = {},1999 form = {};2000 headers["Accept"] = ["application/json"];2001 headers["Content-Type"] = ["application/json"];2002 queryParameters = mergeQueryParams(parameters, queryParameters);2003 this.request(2004 "GET",2005 domain + path,2006 parameters,2007 body,2008 headers,2009 queryParameters,2010 form,2011 deferred2012 );2013 return deferred.promise;2014 };2015 /**2016 *2017 * @method2018 * @name API#get_user_property_counts2019 * @param {object} parameters - method options and parameters2020 * @param {string} parameters.column -2021 */2022 API.prototype.get_user_property_counts = function(parameters) {2023 if (parameters === undefined) {2024 parameters = {};2025 }2026 let deferred = Q.defer();2027 let domain = this.domain,2028 path = "/statistics/users/{column}";2029 let body = {},2030 queryParameters = {},2031 headers = {},2032 form = {};2033 headers["Accept"] = ["application/json"];2034 headers["Content-Type"] = ["application/json"];2035 path = path.replace("{column}", parameters["column"]);2036 if (parameters["column"] === undefined) {2037 deferred.reject(new Error("Missing required parameter: column"));2038 return deferred.promise;2039 }2040 queryParameters = mergeQueryParams(parameters, queryParameters);2041 this.request(2042 "GET",2043 domain + path,2044 parameters,2045 body,2046 headers,2047 queryParameters,2048 form,2049 deferred2050 );2051 return deferred.promise;2052 };2053 /**2054 *2055 * @method2056 * @name API#post_submissions_list2057 * @param {object} parameters - method options and parameters2058 */2059 API.prototype.post_submissions_list = function(parameters) {2060 if (parameters === undefined) {2061 parameters = {};2062 }2063 let deferred = Q.defer();2064 let domain = this.domain,2065 path = "/submissions";2066 let body = {},2067 queryParameters = {},2068 headers = {},2069 form = {};2070 headers["Accept"] = ["application/json"];2071 headers["Content-Type"] = ["application/json"];2072 queryParameters = mergeQueryParams(parameters, queryParameters);2073 this.request(2074 "POST",2075 domain + path,2076 parameters,2077 body,2078 headers,2079 queryParameters,2080 form,2081 deferred2082 );2083 return deferred.promise;2084 };2085 /**2086 *2087 * @method2088 * @name API#get_submissions_list2089 * @param {object} parameters - method options and parameters2090 */2091 API.prototype.get_submissions_list = function(parameters) {2092 if (parameters === undefined) {2093 parameters = {};2094 }2095 let deferred = Q.defer();2096 let domain = this.domain,2097 path = "/submissions";2098 let body = {},2099 queryParameters = {},2100 headers = {},2101 form = {};2102 headers["Accept"] = ["application/json"];2103 headers["Content-Type"] = ["application/json"];2104 queryParameters = mergeQueryParams(parameters, queryParameters);2105 this.request(2106 "GET",2107 domain + path,2108 parameters,2109 body,2110 headers,2111 queryParameters,2112 form,2113 deferred2114 );2115 return deferred.promise;2116 };2117 /**2118 *2119 * @method2120 * @name API#delete_submission2121 * @param {object} parameters - method options and parameters2122 * @param {string} parameters.submissionId - A Submission ID2123 */2124 API.prototype.delete_submission = function(parameters) {2125 if (parameters === undefined) {2126 parameters = {};2127 }2128 let deferred = Q.defer();2129 let domain = this.domain,2130 path = "/submissions/{submission_id}";2131 let body = {},2132 queryParameters = {},2133 headers = {},2134 form = {};2135 headers["Accept"] = ["application/json"];2136 headers["Content-Type"] = ["application/json"];2137 path = path.replace("{submission_id}", parameters["submissionId"]);2138 if (parameters["submissionId"] === undefined) {2139 deferred.reject(new Error("Missing required parameter: submissionId"));2140 return deferred.promise;2141 }2142 queryParameters = mergeQueryParams(parameters, queryParameters);2143 this.request(2144 "DELETE",2145 domain + path,2146 parameters,2147 body,2148 headers,2149 queryParameters,2150 form,2151 deferred2152 );2153 return deferred.promise;2154 };2155 /**2156 *2157 * @method2158 * @name API#get_submission2159 * @param {object} parameters - method options and parameters2160 * @param {string} parameters.submissionId - A Submission ID2161 */2162 API.prototype.get_submission = function(parameters) {2163 if (parameters === undefined) {2164 parameters = {};2165 }2166 let deferred = Q.defer();2167 let domain = this.domain,2168 path = "/submissions/{submission_id}";2169 let body = {},2170 queryParameters = {},2171 headers = {},2172 form = {};2173 headers["Accept"] = ["application/json"];2174 headers["Content-Type"] = ["application/json"];2175 path = path.replace("{submission_id}", parameters["submissionId"]);2176 if (parameters["submissionId"] === undefined) {2177 deferred.reject(new Error("Missing required parameter: submissionId"));2178 return deferred.promise;2179 }2180 queryParameters = mergeQueryParams(parameters, queryParameters);2181 this.request(2182 "GET",2183 domain + path,2184 parameters,2185 body,2186 headers,2187 queryParameters,2188 form,2189 deferred2190 );2191 return deferred.promise;2192 };2193 /**2194 *2195 * @method2196 * @name API#post_tag_list2197 * @param {object} parameters - method options and parameters2198 */2199 API.prototype.post_tag_list = function(parameters) {2200 if (parameters === undefined) {2201 parameters = {};2202 }2203 let deferred = Q.defer();2204 let domain = this.domain,2205 path = "/tags";2206 let body = {},2207 queryParameters = {},2208 headers = {},2209 form = {};2210 headers["Accept"] = ["application/json"];2211 headers["Content-Type"] = ["application/json"];2212 queryParameters = mergeQueryParams(parameters, queryParameters);2213 this.request(2214 "POST",2215 domain + path,2216 parameters,2217 body,2218 headers,2219 queryParameters,2220 form,2221 deferred2222 );2223 return deferred.promise;2224 };2225 /**2226 *2227 * @method2228 * @name API#get_tag_list2229 * @param {object} parameters - method options and parameters2230 */2231 API.prototype.get_tag_list = function(parameters) {2232 if (parameters === undefined) {2233 parameters = {};2234 }2235 let deferred = Q.defer();2236 let domain = this.domain,2237 path = "/tags";2238 let body = {},2239 queryParameters = {},2240 headers = {},2241 form = {};2242 headers["Accept"] = ["application/json"];2243 headers["Content-Type"] = ["application/json"];2244 queryParameters = mergeQueryParams(parameters, queryParameters);2245 this.request(2246 "GET",2247 domain + path,2248 parameters,2249 body,2250 headers,2251 queryParameters,2252 form,2253 deferred2254 );2255 return deferred.promise;2256 };2257 /**2258 *2259 * @method2260 * @name API#patch_tag2261 * @param {object} parameters - method options and parameters2262 * @param {string} parameters.tagId - A Tag ID2263 */2264 API.prototype.patch_tag = function(parameters) {2265 if (parameters === undefined) {2266 parameters = {};2267 }2268 let deferred = Q.defer();2269 let domain = this.domain,2270 path = "/tags/{tag_id}";2271 let body = {},2272 queryParameters = {},2273 headers = {},2274 form = {};2275 headers["Accept"] = ["application/json"];2276 headers["Content-Type"] = ["application/json"];2277 path = path.replace("{tag_id}", parameters["tagId"]);2278 if (parameters["tagId"] === undefined) {2279 deferred.reject(new Error("Missing required parameter: tagId"));2280 return deferred.promise;2281 }2282 queryParameters = mergeQueryParams(parameters, queryParameters);2283 this.request(2284 "PATCH",2285 domain + path,2286 parameters,2287 body,2288 headers,2289 queryParameters,2290 form,2291 deferred2292 );2293 return deferred.promise;2294 };2295 /**2296 *2297 * @method2298 * @name API#delete_tag2299 * @param {object} parameters - method options and parameters2300 * @param {string} parameters.tagId - A Tag ID2301 */2302 API.prototype.delete_tag = function(parameters) {2303 if (parameters === undefined) {2304 parameters = {};2305 }2306 let deferred = Q.defer();2307 let domain = this.domain,2308 path = "/tags/{tag_id}";2309 let body = {},2310 queryParameters = {},2311 headers = {},2312 form = {};2313 headers["Accept"] = ["application/json"];2314 headers["Content-Type"] = ["application/json"];2315 path = path.replace("{tag_id}", parameters["tagId"]);2316 if (parameters["tagId"] === undefined) {2317 deferred.reject(new Error("Missing required parameter: tagId"));2318 return deferred.promise;2319 }2320 queryParameters = mergeQueryParams(parameters, queryParameters);2321 this.request(2322 "DELETE",2323 domain + path,2324 parameters,2325 body,2326 headers,2327 queryParameters,2328 form,2329 deferred2330 );2331 return deferred.promise;2332 };2333 /**2334 *2335 * @method2336 * @name API#get_tag2337 * @param {object} parameters - method options and parameters2338 * @param {string} parameters.tagId - A Tag ID2339 */2340 API.prototype.get_tag = function(parameters) {2341 if (parameters === undefined) {2342 parameters = {};2343 }2344 let deferred = Q.defer();2345 let domain = this.domain,2346 path = "/tags/{tag_id}";2347 let body = {},2348 queryParameters = {},2349 headers = {},2350 form = {};2351 headers["Accept"] = ["application/json"];2352 headers["Content-Type"] = ["application/json"];2353 path = path.replace("{tag_id}", parameters["tagId"]);2354 if (parameters["tagId"] === undefined) {2355 deferred.reject(new Error("Missing required parameter: tagId"));2356 return deferred.promise;2357 }2358 queryParameters = mergeQueryParams(parameters, queryParameters);2359 this.request(2360 "GET",2361 domain + path,2362 parameters,2363 body,2364 headers,2365 queryParameters,2366 form,2367 deferred2368 );2369 return deferred.promise;2370 };2371 /**2372 *2373 * @method2374 * @name API#post_team_list2375 * @param {object} parameters - method options and parameters2376 */2377 API.prototype.post_team_list = function(parameters) {2378 if (parameters === undefined) {2379 parameters = {};2380 }2381 let deferred = Q.defer();2382 let domain = this.domain,2383 path = "/teams";2384 let body = {},2385 queryParameters = {},2386 headers = {},2387 form = {};2388 headers["Accept"] = ["application/json"];2389 headers["Content-Type"] = ["application/json"];2390 queryParameters = mergeQueryParams(parameters, queryParameters);2391 this.request(2392 "POST",2393 domain + path,2394 parameters,2395 body,2396 headers,2397 queryParameters,2398 form,2399 deferred2400 );2401 return deferred.promise;2402 };2403 /**2404 *2405 * @method2406 * @name API#get_team_list2407 * @param {object} parameters - method options and parameters2408 */2409 API.prototype.get_team_list = function(parameters) {2410 if (parameters === undefined) {2411 parameters = {};2412 }2413 let deferred = Q.defer();2414 let domain = this.domain,2415 path = "/teams";2416 let body = {},2417 queryParameters = {},2418 headers = {},2419 form = {};2420 headers["Accept"] = ["application/json"];2421 headers["Content-Type"] = ["application/json"];2422 queryParameters = mergeQueryParams(parameters, queryParameters);2423 this.request(2424 "GET",2425 domain + path,2426 parameters,2427 body,2428 headers,2429 queryParameters,2430 form,2431 deferred2432 );2433 return deferred.promise;2434 };2435 /**2436 *2437 * @method2438 * @name API#patch_team_private2439 * @param {object} parameters - method options and parameters2440 * @param {string} parameters.teamId - Current Team2441 */2442 API.prototype.patch_team_private = function(parameters) {2443 if (parameters === undefined) {2444 parameters = {};2445 }2446 let deferred = Q.defer();2447 let domain = this.domain,2448 path = "/teams/me";2449 let body = {},2450 queryParameters = {},2451 headers = {},2452 form = {};2453 headers["Accept"] = ["application/json"];2454 headers["Content-Type"] = ["application/json"];2455 if (parameters["teamId"] !== undefined) {2456 queryParameters["team_id"] = parameters["teamId"];2457 }2458 queryParameters = mergeQueryParams(parameters, queryParameters);2459 this.request(2460 "PATCH",2461 domain + path,2462 parameters,2463 body,2464 headers,2465 queryParameters,2466 form,2467 deferred2468 );2469 return deferred.promise;2470 };2471 /**2472 *2473 * @method2474 * @name API#get_team_private2475 * @param {object} parameters - method options and parameters2476 * @param {string} parameters.teamId - Current Team2477 */2478 API.prototype.get_team_private = function(parameters) {2479 if (parameters === undefined) {2480 parameters = {};2481 }2482 let deferred = Q.defer();2483 let domain = this.domain,2484 path = "/teams/me";2485 let body = {},2486 queryParameters = {},2487 headers = {},2488 form = {};2489 headers["Accept"] = ["application/json"];2490 headers["Content-Type"] = ["application/json"];2491 if (parameters["teamId"] !== undefined) {2492 queryParameters["team_id"] = parameters["teamId"];2493 }2494 queryParameters = mergeQueryParams(parameters, queryParameters);2495 this.request(2496 "GET",2497 domain + path,2498 parameters,2499 body,2500 headers,2501 queryParameters,2502 form,2503 deferred2504 );2505 return deferred.promise;2506 };2507 /**2508 *2509 * @method2510 * @name API#patch_team_public2511 * @param {object} parameters - method options and parameters2512 * @param {string} parameters.teamId - Team ID2513 */2514 API.prototype.patch_team_public = function(parameters) {2515 if (parameters === undefined) {2516 parameters = {};2517 }2518 let deferred = Q.defer();2519 let domain = this.domain,2520 path = "/teams/{team_id}";2521 let body = {},2522 queryParameters = {},2523 headers = {},2524 form = {};2525 headers["Accept"] = ["application/json"];2526 headers["Content-Type"] = ["application/json"];2527 path = path.replace("{team_id}", parameters["teamId"]);2528 if (parameters["teamId"] === undefined) {2529 deferred.reject(new Error("Missing required parameter: teamId"));2530 return deferred.promise;2531 }2532 queryParameters = mergeQueryParams(parameters, queryParameters);2533 this.request(2534 "PATCH",2535 domain + path,2536 parameters,2537 body,2538 headers,2539 queryParameters,2540 form,2541 deferred2542 );2543 return deferred.promise;2544 };2545 /**2546 *2547 * @method2548 * @name API#delete_team_public2549 * @param {object} parameters - method options and parameters2550 * @param {string} parameters.teamId - Team ID2551 */2552 API.prototype.delete_team_public = function(parameters) {2553 if (parameters === undefined) {2554 parameters = {};2555 }2556 let deferred = Q.defer();2557 let domain = this.domain,2558 path = "/teams/{team_id}";2559 let body = {},2560 queryParameters = {},2561 headers = {},2562 form = {};2563 headers["Accept"] = ["application/json"];2564 headers["Content-Type"] = ["application/json"];2565 path = path.replace("{team_id}", parameters["teamId"]);2566 if (parameters["teamId"] === undefined) {2567 deferred.reject(new Error("Missing required parameter: teamId"));2568 return deferred.promise;2569 }2570 queryParameters = mergeQueryParams(parameters, queryParameters);2571 this.request(2572 "DELETE",2573 domain + path,2574 parameters,2575 body,2576 headers,2577 queryParameters,2578 form,2579 deferred2580 );2581 return deferred.promise;2582 };2583 /**2584 *2585 * @method2586 * @name API#get_team_public2587 * @param {object} parameters - method options and parameters2588 * @param {string} parameters.teamId - Team ID2589 */2590 API.prototype.get_team_public = function(parameters) {2591 if (parameters === undefined) {2592 parameters = {};2593 }2594 let deferred = Q.defer();2595 let domain = this.domain,2596 path = "/teams/{team_id}";2597 let body = {},2598 queryParameters = {},2599 headers = {},2600 form = {};2601 headers["Accept"] = ["application/json"];2602 headers["Content-Type"] = ["application/json"];2603 path = path.replace("{team_id}", parameters["teamId"]);2604 if (parameters["teamId"] === undefined) {2605 deferred.reject(new Error("Missing required parameter: teamId"));2606 return deferred.promise;2607 }2608 queryParameters = mergeQueryParams(parameters, queryParameters);2609 this.request(2610 "GET",2611 domain + path,2612 parameters,2613 body,2614 headers,2615 queryParameters,2616 form,2617 deferred2618 );2619 return deferred.promise;2620 };2621 /**2622 *2623 * @method2624 * @name API#get_team_awards2625 * @param {object} parameters - method options and parameters2626 * @param {string} parameters.teamId - Team ID or 'me'2627 */2628 API.prototype.get_team_awards = function(parameters) {2629 if (parameters === undefined) {2630 parameters = {};2631 }2632 let deferred = Q.defer();2633 let domain = this.domain,2634 path = "/teams/{team_id}/awards";2635 let body = {},2636 queryParameters = {},2637 headers = {},2638 form = {};2639 headers["Accept"] = ["application/json"];2640 headers["Content-Type"] = ["application/json"];2641 path = path.replace("{team_id}", parameters["teamId"]);2642 if (parameters["teamId"] === undefined) {2643 deferred.reject(new Error("Missing required parameter: teamId"));2644 return deferred.promise;2645 }2646 queryParameters = mergeQueryParams(parameters, queryParameters);2647 this.request(2648 "GET",2649 domain + path,2650 parameters,2651 body,2652 headers,2653 queryParameters,2654 form,2655 deferred2656 );2657 return deferred.promise;2658 };2659 /**2660 *2661 * @method2662 * @name API#get_team_fails2663 * @param {object} parameters - method options and parameters2664 * @param {string} parameters.teamId - Team ID or 'me'2665 */2666 API.prototype.get_team_fails = function(parameters) {2667 if (parameters === undefined) {2668 parameters = {};2669 }2670 let deferred = Q.defer();2671 let domain = this.domain,2672 path = "/teams/{team_id}/fails";2673 let body = {},2674 queryParameters = {},2675 headers = {},2676 form = {};2677 headers["Accept"] = ["application/json"];2678 headers["Content-Type"] = ["application/json"];2679 path = path.replace("{team_id}", parameters["teamId"]);2680 if (parameters["teamId"] === undefined) {2681 deferred.reject(new Error("Missing required parameter: teamId"));2682 return deferred.promise;2683 }2684 queryParameters = mergeQueryParams(parameters, queryParameters);2685 this.request(2686 "GET",2687 domain + path,2688 parameters,2689 body,2690 headers,2691 queryParameters,2692 form,2693 deferred2694 );2695 return deferred.promise;2696 };2697 /**2698 *2699 * @method2700 * @name API#get_team_solves2701 * @param {object} parameters - method options and parameters2702 * @param {string} parameters.teamId - Team ID or 'me'2703 */2704 API.prototype.get_team_solves = function(parameters) {2705 if (parameters === undefined) {2706 parameters = {};2707 }2708 let deferred = Q.defer();2709 let domain = this.domain,2710 path = "/teams/{team_id}/solves";2711 let body = {},2712 queryParameters = {},2713 headers = {},2714 form = {};2715 headers["Accept"] = ["application/json"];2716 headers["Content-Type"] = ["application/json"];2717 path = path.replace("{team_id}", parameters["teamId"]);2718 if (parameters["teamId"] === undefined) {2719 deferred.reject(new Error("Missing required parameter: teamId"));2720 return deferred.promise;2721 }2722 queryParameters = mergeQueryParams(parameters, queryParameters);2723 this.request(2724 "GET",2725 domain + path,2726 parameters,2727 body,2728 headers,2729 queryParameters,2730 form,2731 deferred2732 );2733 return deferred.promise;2734 };2735 /**2736 *2737 * @method2738 * @name API#post_unlock_list2739 * @param {object} parameters - method options and parameters2740 */2741 API.prototype.post_unlock_list = function(parameters) {2742 if (parameters === undefined) {2743 parameters = {};2744 }2745 let deferred = Q.defer();2746 let domain = this.domain,2747 path = "/unlocks";2748 let body = {},2749 queryParameters = {},2750 headers = {},2751 form = {};2752 headers["Accept"] = ["application/json"];2753 headers["Content-Type"] = ["application/json"];2754 queryParameters = mergeQueryParams(parameters, queryParameters);2755 this.request(2756 "POST",2757 domain + path,2758 parameters,2759 body,2760 headers,2761 queryParameters,2762 form,2763 deferred2764 );2765 return deferred.promise;2766 };2767 /**2768 *2769 * @method2770 * @name API#get_unlock_list2771 * @param {object} parameters - method options and parameters2772 */2773 API.prototype.get_unlock_list = function(parameters) {2774 if (parameters === undefined) {2775 parameters = {};2776 }2777 let deferred = Q.defer();2778 let domain = this.domain,2779 path = "/unlocks";2780 let body = {},2781 queryParameters = {},2782 headers = {},2783 form = {};2784 headers["Accept"] = ["application/json"];2785 headers["Content-Type"] = ["application/json"];2786 queryParameters = mergeQueryParams(parameters, queryParameters);2787 this.request(2788 "GET",2789 domain + path,2790 parameters,2791 body,2792 headers,2793 queryParameters,2794 form,2795 deferred2796 );2797 return deferred.promise;2798 };2799 /**2800 *2801 * @method2802 * @name API#post_user_list2803 * @param {object} parameters - method options and parameters2804 */2805 API.prototype.post_user_list = function(parameters) {2806 if (parameters === undefined) {2807 parameters = {};2808 }2809 let deferred = Q.defer();2810 let domain = this.domain,2811 path = "/users";2812 let body = {},2813 queryParameters = {},2814 headers = {},2815 form = {};2816 headers["Accept"] = ["application/json"];2817 headers["Content-Type"] = ["application/json"];2818 queryParameters = mergeQueryParams(parameters, queryParameters);2819 this.request(2820 "POST",2821 domain + path,2822 parameters,2823 body,2824 headers,2825 queryParameters,2826 form,2827 deferred2828 );2829 return deferred.promise;2830 };2831 /**2832 *2833 * @method2834 * @name API#get_user_list2835 * @param {object} parameters - method options and parameters2836 */2837 API.prototype.get_user_list = function(parameters) {2838 if (parameters === undefined) {2839 parameters = {};2840 }2841 let deferred = Q.defer();2842 let domain = this.domain,2843 path = "/users";2844 let body = {},2845 queryParameters = {},2846 headers = {},2847 form = {};2848 headers["Accept"] = ["application/json"];2849 headers["Content-Type"] = ["application/json"];2850 queryParameters = mergeQueryParams(parameters, queryParameters);2851 this.request(2852 "GET",2853 domain + path,2854 parameters,2855 body,2856 headers,2857 queryParameters,2858 form,2859 deferred2860 );2861 return deferred.promise;2862 };2863 /**2864 *2865 * @method2866 * @name API#patch_user_private2867 * @param {object} parameters - method options and parameters2868 */2869 API.prototype.patch_user_private = function(parameters) {2870 if (parameters === undefined) {2871 parameters = {};2872 }2873 let deferred = Q.defer();2874 let domain = this.domain,2875 path = "/users/me";2876 let body = {},2877 queryParameters = {},2878 headers = {},2879 form = {};2880 headers["Accept"] = ["application/json"];2881 headers["Content-Type"] = ["application/json"];2882 queryParameters = mergeQueryParams(parameters, queryParameters);2883 this.request(2884 "PATCH",2885 domain + path,2886 parameters,2887 body,2888 headers,2889 queryParameters,2890 form,2891 deferred2892 );2893 return deferred.promise;2894 };2895 /**2896 *2897 * @method2898 * @name API#get_user_private2899 * @param {object} parameters - method options and parameters2900 */2901 API.prototype.get_user_private = function(parameters) {2902 if (parameters === undefined) {2903 parameters = {};2904 }2905 let deferred = Q.defer();2906 let domain = this.domain,2907 path = "/users/me";2908 let body = {},2909 queryParameters = {},2910 headers = {},2911 form = {};2912 headers["Accept"] = ["application/json"];2913 headers["Content-Type"] = ["application/json"];2914 queryParameters = mergeQueryParams(parameters, queryParameters);2915 this.request(2916 "GET",2917 domain + path,2918 parameters,2919 body,2920 headers,2921 queryParameters,2922 form,2923 deferred2924 );2925 return deferred.promise;2926 };2927 /**2928 *2929 * @method2930 * @name API#patch_user_public2931 * @param {object} parameters - method options and parameters2932 * @param {integer} parameters.userId - User ID2933 */2934 API.prototype.patch_user_public = function(parameters) {2935 if (parameters === undefined) {2936 parameters = {};2937 }2938 let deferred = Q.defer();2939 let domain = this.domain,2940 path = "/users/{user_id}";2941 let body = {},2942 queryParameters = {},2943 headers = {},2944 form = {};2945 headers["Accept"] = ["application/json"];2946 headers["Content-Type"] = ["application/json"];2947 path = path.replace("{user_id}", parameters["userId"]);2948 if (parameters["userId"] === undefined) {2949 deferred.reject(new Error("Missing required parameter: userId"));2950 return deferred.promise;2951 }2952 queryParameters = mergeQueryParams(parameters, queryParameters);2953 this.request(2954 "PATCH",2955 domain + path,2956 parameters,2957 body,2958 headers,2959 queryParameters,2960 form,2961 deferred2962 );2963 return deferred.promise;2964 };2965 /**2966 *2967 * @method2968 * @name API#delete_user_public2969 * @param {object} parameters - method options and parameters2970 * @param {integer} parameters.userId - User ID2971 */2972 API.prototype.delete_user_public = function(parameters) {2973 if (parameters === undefined) {2974 parameters = {};2975 }2976 let deferred = Q.defer();2977 let domain = this.domain,2978 path = "/users/{user_id}";2979 let body = {},2980 queryParameters = {},2981 headers = {},2982 form = {};2983 headers["Accept"] = ["application/json"];2984 headers["Content-Type"] = ["application/json"];2985 path = path.replace("{user_id}", parameters["userId"]);2986 if (parameters["userId"] === undefined) {2987 deferred.reject(new Error("Missing required parameter: userId"));2988 return deferred.promise;2989 }2990 queryParameters = mergeQueryParams(parameters, queryParameters);2991 this.request(2992 "DELETE",2993 domain + path,2994 parameters,2995 body,2996 headers,2997 queryParameters,2998 form,2999 deferred3000 );3001 return deferred.promise;3002 };3003 /**3004 *3005 * @method3006 * @name API#get_user_public3007 * @param {object} parameters - method options and parameters3008 * @param {integer} parameters.userId - User ID3009 */3010 API.prototype.get_user_public = function(parameters) {3011 if (parameters === undefined) {3012 parameters = {};3013 }3014 let deferred = Q.defer();3015 let domain = this.domain,3016 path = "/users/{user_id}";3017 let body = {},3018 queryParameters = {},3019 headers = {},3020 form = {};3021 headers["Accept"] = ["application/json"];3022 headers["Content-Type"] = ["application/json"];3023 path = path.replace("{user_id}", parameters["userId"]);3024 if (parameters["userId"] === undefined) {3025 deferred.reject(new Error("Missing required parameter: userId"));3026 return deferred.promise;3027 }3028 queryParameters = mergeQueryParams(parameters, queryParameters);3029 this.request(3030 "GET",3031 domain + path,3032 parameters,3033 body,3034 headers,3035 queryParameters,3036 form,3037 deferred3038 );3039 return deferred.promise;3040 };3041 /**3042 *3043 * @method3044 * @name API#get_user_awards3045 * @param {object} parameters - method options and parameters3046 * @param {string} parameters.userId - User ID or 'me'3047 */3048 API.prototype.get_user_awards = function(parameters) {3049 if (parameters === undefined) {3050 parameters = {};3051 }3052 let deferred = Q.defer();3053 let domain = this.domain,3054 path = "/users/{user_id}/awards";3055 let body = {},3056 queryParameters = {},3057 headers = {},3058 form = {};3059 headers["Accept"] = ["application/json"];3060 headers["Content-Type"] = ["application/json"];3061 path = path.replace("{user_id}", parameters["userId"]);3062 if (parameters["userId"] === undefined) {3063 deferred.reject(new Error("Missing required parameter: userId"));3064 return deferred.promise;3065 }3066 queryParameters = mergeQueryParams(parameters, queryParameters);3067 this.request(3068 "GET",3069 domain + path,3070 parameters,3071 body,3072 headers,3073 queryParameters,3074 form,3075 deferred3076 );3077 return deferred.promise;3078 };3079 /**3080 *3081 * @method3082 * @name API#get_user_fails3083 * @param {object} parameters - method options and parameters3084 * @param {string} parameters.userId - User ID or 'me'3085 */3086 API.prototype.get_user_fails = function(parameters) {3087 if (parameters === undefined) {3088 parameters = {};3089 }3090 let deferred = Q.defer();3091 let domain = this.domain,3092 path = "/users/{user_id}/fails";3093 let body = {},3094 queryParameters = {},3095 headers = {},3096 form = {};3097 headers["Accept"] = ["application/json"];3098 headers["Content-Type"] = ["application/json"];3099 path = path.replace("{user_id}", parameters["userId"]);3100 if (parameters["userId"] === undefined) {3101 deferred.reject(new Error("Missing required parameter: userId"));3102 return deferred.promise;3103 }3104 queryParameters = mergeQueryParams(parameters, queryParameters);3105 this.request(3106 "GET",3107 domain + path,3108 parameters,3109 body,3110 headers,3111 queryParameters,3112 form,3113 deferred3114 );3115 return deferred.promise;3116 };3117 /**3118 *3119 * @method3120 * @name API#get_user_solves3121 * @param {object} parameters - method options and parameters3122 * @param {string} parameters.userId - User ID or 'me'3123 */3124 API.prototype.get_user_solves = function(parameters) {3125 if (parameters === undefined) {3126 parameters = {};3127 }3128 let deferred = Q.defer();3129 let domain = this.domain,3130 path = "/users/{user_id}/solves";3131 let body = {},3132 queryParameters = {},3133 headers = {},3134 form = {};3135 headers["Accept"] = ["application/json"];3136 headers["Content-Type"] = ["application/json"];3137 path = path.replace("{user_id}", parameters["userId"]);3138 if (parameters["userId"] === undefined) {3139 deferred.reject(new Error("Missing required parameter: userId"));3140 return deferred.promise;3141 }3142 queryParameters = mergeQueryParams(parameters, queryParameters);3143 this.request(3144 "GET",3145 domain + path,3146 parameters,3147 body,3148 headers,3149 queryParameters,3150 form,3151 deferred3152 );3153 return deferred.promise;3154 };3155 return API;3156})();3157// eslint-disable-next-line no-undef...

Full Screen

Full Screen

patch.js

Source:patch.js Github

copy

Full Screen

1import Q from "q";2import { API } from "./api";3function mergeQueryParams(parameters, queryParameters) {4 return { ...parameters, ...queryParameters };5}6function serializeQueryParams(parameters) {7 let str = [];8 for (let p in parameters) {9 if (parameters.hasOwnProperty(p)) {10 str.push(encodeURIComponent(p) + "=" + encodeURIComponent(parameters[p]));11 }12 }13 return str.join("&");14}15API.prototype.requestRaw = function(16 method,17 url,18 parameters,19 body,20 headers,21 queryParameters,22 form,23 deferred24) {25 const queryParams =26 queryParameters && Object.keys(queryParameters).length27 ? serializeQueryParams(queryParameters)28 : null;29 const urlWithParams = url + (queryParams ? "?" + queryParams : "");30 if (body && !Object.keys(body).length) {31 body = undefined;32 }33 fetch(urlWithParams, {34 method,35 headers,36 body: body37 })38 .then(response => {39 return response.json();40 })41 .then(body => {42 deferred.resolve(body);43 })44 .catch(error => {45 deferred.reject(error);46 });47};48API.prototype.patch_user_public = function(parameters, body) {49 if (parameters === undefined) {50 parameters = {};51 }52 let deferred = Q.defer();53 let domain = this.domain,54 path = "/users/{user_id}";55 let queryParameters = {},56 headers = {},57 form = {};58 headers["Accept"] = ["application/json"];59 headers["Content-Type"] = ["application/json"];60 path = path.replace("{user_id}", parameters["userId"]);61 if (parameters["userId"] === undefined) {62 deferred.reject(new Error("Missing required parameter: userId"));63 return deferred.promise;64 }65 this.request(66 "PATCH",67 domain + path,68 parameters,69 body,70 headers,71 queryParameters,72 form,73 deferred74 );75 return deferred.promise;76};77API.prototype.patch_user_private = function(parameters, body) {78 if (parameters === undefined) {79 parameters = {};80 }81 let deferred = Q.defer();82 let domain = this.domain,83 path = "/users/me";84 let headers = {},85 form = {};86 headers["Accept"] = ["application/json"];87 headers["Content-Type"] = ["application/json"];88 this.request(89 "PATCH",90 domain + path,91 parameters,92 body,93 headers,94 {},95 form,96 deferred97 );98 return deferred.promise;99};100API.prototype.post_unlock_list = function(parameters, body) {101 let deferred = Q.defer();102 let domain = this.domain,103 path = "/unlocks";104 let headers = {},105 form = {};106 headers["Accept"] = ["application/json"];107 headers["Content-Type"] = ["application/json"];108 this.request(109 "POST",110 domain + path,111 parameters,112 body,113 headers,114 {},115 form,116 deferred117 );118 return deferred.promise;119};120API.prototype.post_notification_list = function(parameters, body) {121 if (parameters === undefined) {122 parameters = {};123 }124 let deferred = Q.defer();125 let domain = this.domain,126 path = "/notifications";127 let queryParameters = {},128 headers = {},129 form = {};130 headers["Accept"] = ["application/json"];131 headers["Content-Type"] = ["application/json"];132 this.request(133 "POST",134 domain + path,135 parameters,136 body,137 headers,138 queryParameters,139 form,140 deferred141 );142 return deferred.promise;143};144API.prototype.post_files_list = function(parameters, body) {145 let deferred = Q.defer();146 let domain = this.domain,147 path = "/files";148 let queryParameters = {},149 headers = {},150 form = {};151 headers["Accept"] = ["application/json"];152 headers["Content-Type"] = ["application/json"];153 this.requestRaw(154 "POST",155 domain + path,156 parameters,157 body,158 headers,159 queryParameters,160 form,161 deferred162 );163 return deferred.promise;164};165API.prototype.patch_config = function(parameters, body) {166 if (parameters === undefined) {167 parameters = {};168 }169 let deferred = Q.defer();170 let domain = this.domain,171 path = "/configs/{config_key}";172 let queryParameters = {},173 headers = {},174 form = {};175 headers["Accept"] = ["application/json"];176 headers["Content-Type"] = ["application/json"];177 path = path.replace("{config_key}", parameters["configKey"]);178 if (parameters["configKey"] === undefined) {179 deferred.reject(new Error("Missing required parameter: configKey"));180 return deferred.promise;181 }182 this.request(183 "PATCH",184 domain + path,185 parameters,186 body,187 headers,188 queryParameters,189 form,190 deferred191 );192 return deferred.promise;193};194API.prototype.patch_config_list = function(parameters, body) {195 if (parameters === undefined) {196 parameters = {};197 }198 let deferred = Q.defer();199 let domain = this.domain,200 path = "/configs";201 let queryParameters = {},202 headers = {},203 form = {};204 headers["Accept"] = ["application/json"];205 headers["Content-Type"] = ["application/json"];206 queryParameters = mergeQueryParams(parameters, queryParameters);207 this.request(208 "PATCH",209 domain + path,210 parameters,211 body,212 headers,213 queryParameters,214 form,215 deferred216 );217 return deferred.promise;218};219API.prototype.post_tag_list = function(parameters, body) {220 if (parameters === undefined) {221 parameters = {};222 }223 let deferred = Q.defer();224 let domain = this.domain,225 path = "/tags";226 let queryParameters = {},227 headers = {},228 form = {};229 headers["Accept"] = ["application/json"];230 headers["Content-Type"] = ["application/json"];231 queryParameters = mergeQueryParams(parameters, queryParameters);232 this.request(233 "POST",234 domain + path,235 parameters,236 body,237 headers,238 queryParameters,239 form,240 deferred241 );242 return deferred.promise;243};244API.prototype.patch_team_public = function(parameters, body) {245 if (parameters === undefined) {246 parameters = {};247 }248 let deferred = Q.defer();249 let domain = this.domain,250 path = "/teams/{team_id}";251 let queryParameters = {},252 headers = {},253 form = {};254 headers["Accept"] = ["application/json"];255 headers["Content-Type"] = ["application/json"];256 path = path.replace("{team_id}", parameters["teamId"]);257 if (parameters["teamId"] === undefined) {258 deferred.reject(new Error("Missing required parameter: teamId"));259 return deferred.promise;260 }261 queryParameters = mergeQueryParams(parameters, queryParameters);262 this.request(263 "PATCH",264 domain + path,265 parameters,266 body,267 headers,268 queryParameters,269 form,270 deferred271 );272 return deferred.promise;273};274API.prototype.post_challenge_attempt = function(parameters, body) {275 if (parameters === undefined) {276 parameters = {};277 }278 let deferred = Q.defer();279 let domain = this.domain,280 path = "/challenges/attempt";281 let queryParameters = {},282 headers = {},283 form = {};284 headers["Accept"] = ["application/json"];285 headers["Content-Type"] = ["application/json"];286 queryParameters = mergeQueryParams(parameters, queryParameters);287 this.request(288 "POST",289 domain + path,290 parameters,291 body,292 headers,293 queryParameters,294 form,295 deferred296 );297 return deferred.promise;298};299API.prototype.get_hint = function(parameters) {300 if (parameters === undefined) {301 parameters = {};302 }303 let deferred = Q.defer();304 let domain = this.domain,305 path = "/hints/{hint_id}";306 let body = {},307 queryParameters = {},308 headers = {},309 form = {};310 headers["Accept"] = ["application/json"];311 headers["Content-Type"] = ["application/json"];312 path = path.replace("{hint_id}", parameters["hintId"]);313 if (parameters["hintId"] === undefined) {314 deferred.reject(new Error("Missing required parameter: hintId"));315 return deferred.promise;316 }317 delete parameters["hintId"];318 queryParameters = mergeQueryParams(parameters, queryParameters);319 this.request(320 "GET",321 domain + path,322 parameters,323 body,324 headers,325 queryParameters,326 form,327 deferred328 );329 return deferred.promise;...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1import { MockBuilder, MockRender, ngMocks } from 'ng-mocks';2import { AppModule } from './app.module';3import { AppComponent } from './app.component';4describe('AppComponent', () => {5 beforeEach(() => MockBuilder(AppComponent, AppModule));6 it('should render the component', () => {7 const fixture = MockRender(AppComponent);8 expect(ngMocks.formatText(fixture)).toEqual('Hello World!');9 });10});11import { Component } from '@angular/core';12@Component({13 <h1>{{ title }}</h1>14 h1 {15 color: red;16 }17})18export class AppComponent {19 title = 'Hello World!';20}21import { NgModule } from '@angular/core';22import { BrowserModule } from '@angular/platform-browser';23import { AppComponent } from './app.component';24@NgModule({25 imports: [BrowserModule],26})27export class AppModule {}28import { MockBuilder, MockRender, ngMocks } from 'ng-mocks';29import { AppModule } from './app.module';30import { AppComponent } from './app.component';31describe('AppComponent', () => {32 beforeEach(() => MockBuilder(AppComponent, AppModule));33 it('should render the component', () => {34 const fixture = MockRender(AppComponent);35 expect(ngMocks.formatText(fixture)).toEqual('Hello World!');36 });37});38import { Component } from '@angular/core';39@Component({40 <h1>{{ title }}</h1>41 h1 {42 color: red;43 }44})45export class AppComponent {46 title = 'Hello World!';47}48import { NgModule } from '@angular/core';49import { BrowserModule } from '@angular/platform-browser';50import { AppComponent } from './app.component';51@NgModule({52 imports: [BrowserModule

Full Screen

Using AI Code Generation

copy

Full Screen

1import { MockBuilder, MockRender, ngMocks } from 'ng-mocks';2import { AppModule } from './app.module';3import { AppComponent } from './app.component';4describe('AppComponent', () => {5 beforeEach(() => MockBuilder(AppComponent, AppModule));6 it('renders the component', () => {7 const fixture = MockRender(AppComponent);8 expect(ngMocks.formatText(fixture)).toEqual('Hello World');9 });10});11This is because ng-mocks is not available in the test environment. To fix this, we need to add ng-mocks to the test environment. To do this, we need to modify the test.ts file to import ng-mocks and add it to the test environment:12import 'zone.js/dist/zone-testing';13import { getTestBed } from '@angular/core/testing';14import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';15import { ngMocks } from 'ng-mocks';16declare const require: any;17getTestBed().initTestEnvironment(18 platformBrowserDynamicTesting()19);20const context = require.context('./', true, /\.spec\.ts$/);21context.keys().map(context);22ngMocks.globalMock('test', {23 formatText: () => 'Hello World',24});

Full Screen

Using AI Code Generation

copy

Full Screen

1import { MockBuilder, MockRender } from 'ng-mocks';2import { AppModule } from './app.module';3import { AppComponent } from './app.component';4describe('AppComponent', () => {5 beforeEach(() => MockBuilder(AppComponent, AppModule));6 it('should create the app', () => {7 const fixture = MockRender(AppComponent, { title: 'Test' });8 const app = fixture.debugElement.componentInstance;9 expect(app.title).toEqual('Test');10 });11});12import { Component } from '@angular/core';13@Component({14 <h1>{{ title }}</h1>15})16export class AppComponent {17 title = 'app';18}19import { NgModule } from '@angular/core';20import { AppComponent } from './app.component';21@NgModule({22})23export class AppModule {}24import { MockBuilder, MockRender, MockInstance } from 'ng-mocks';25import { AppComponent } from './app.component';26import { AppModule } from './app.module';27import { ApiService } from './services/api.service';28describe('AppComponent', () => {29 beforeEach(() => MockBuilder(AppComponent, AppModule));30 it('should create the app', () => {31 const apiService = MockInstance(ApiService, 'get', () => 'test');32 const fixture = MockRender(AppComponent, { apiService });33 const app = fixture.debugElement.componentInstance;34 expect(app.apiService.get()).toEqual('test');35 });36});37import { Component } from '@angular/core';38import { ApiService } from './services/api.service';39@Component({40})41export class AppComponent {42 title = 'app';43 constructor(public apiService:

Full Screen

Using AI Code Generation

copy

Full Screen

1import { MockBuilder, MockRender, ngMocks } from 'ng-mocks';2import { MyComponent } from './my.component';3import { MyModule } from './my.module';4beforeEach(() => MockBuilder(MyComponent).keep(MyModule));5it('has an input', () => {6 const fixture = MockRender(MyComponent, { value: 'test' });7 expect(ngMocks.formatText(fixture)).toEqual('test');8});9import { Component, Input } from '@angular/core';10@Component({11 template: '{{ value }}',12})13export class MyComponent {14 @Input() public value: string;15}16import { NgModule } from '@angular/core';17import { CommonModule } from '@angular/common';18import { MyComponent } from './my.component';19@NgModule({20 imports: [CommonModule],21})22export class MyModule {}23import { MyComponent } from './my.component';24describe('MyComponent', () => {25 it('has an input', () => {26 const component = new MyComponent();27 component.value = 'test';28 expect(component.value).toEqual('test');29 });30});31import { MockBuilder, MockRender } from 'ng-mocks';32import { MyComponent } from './my.component';33import { MyModule } from './my.module';34beforeEach(() => MockBuilder(MyComponent).keep(MyModule));35it('has an input', () => {36 const fixture = MockRender(MyComponent, { value: 'test' });37 expect(fixture.nativeElement.textContent).toEqual('test');38});39import { Component, Input } from '@angular/core';40@Component({41 template: '{{ value }}',42})43export class MyComponent {44 @Input() public value: string;45}46import { NgModule } from '@angular/core';47import { CommonModule } from '@angular/common';48import { MyComponent } from './my.component';49@NgModule({50 imports: [CommonModule],51})52export class MyModule {}53import { MyComponent } from './my.component';54describe('MyComponent', () => {

Full Screen

Using AI Code Generation

copy

Full Screen

1import { MockBuilder, MockedComponentFixture, MockRender, ngMocks } from 'ng-mocks';2import { AppComponent } from './app.component';3describe('AppComponent', () => {4 ngMocks.faster();5 let component: AppComponent;6 let fixture: MockedComponentFixture<AppComponent>;7 beforeEach(() => MockBuilder(AppComponent));8 beforeEach(() => {9 fixture = MockRender(AppComponent);10 component = fixture.point.componentInstance;11 });12 it('should create the component', () => {13 expect(component).toBeTruthy();14 });15 it('should render title in a h1 tag', () => {16 const title = 'My Title';17 ngMocks.parameters(fixture, { title });18 fixture.detectChanges();19 const compiled = fixture.nativeElement;20 expect(compiled.querySelector('h1').textContent).toContain(title);21 });22});23import { Injectable } from '@angular/core';24@Injectable({25})26export class UserService {27 getUsers() {28 { name: 'Bob', age: 34 },29 { name: 'Alice', age: 26 },30 { name: 'John', age: 45 },31 ];32 }33}34import

Full Screen

Using AI Code Generation

copy

Full Screen

1import { parameters } from 'ng-mocks';2import { MyModule } from './my-module';3describe('MyModule', () => {4 it('should work', () => {5 const fixture = MockRender(MyModule, parameters(MyModule, { test: 'test' }));6 });7});8import { Component, Input } from '@angular/core';9@Component({10 template: '{{ test }}',11})12export class MyComponent {13 @Input() public test: string;14}15@NgModule({16})17export class MyModule {}

Full Screen

Using AI Code Generation

copy

Full Screen

1import { MockRender } from 'ng-mocks';2it('renders the component', () => {3 const fixture = MockRender(TestComponent, { test: 'A' });4 expect(fixture.point.componentInstance.test).toBe('A');5});6import { TestComponent } from './test.component';7describe('TestComponent', () => {8 let component: TestComponent;9 beforeEach(() => {10 component = new TestComponent();11 });12 it('should create', () => {13 expect(component).toBeTruthy();14 });15});16import { Component, Input } from '@angular/core';17@Component({18 {{ test }}19})20export class TestComponent {21 @Input() test: string;22}23import { async, ComponentFixture, TestBed } from '@angular/core/testing';24import { TestComponent } from './test.component';25describe('TestComponent', () => {26 let component: TestComponent;27 let fixture: ComponentFixture<TestComponent>;28 beforeEach(async(() => {29 TestBed.configureTestingModule({30 }).compileComponents();31 }));32 beforeEach(() => {33 fixture = TestBed.createComponent(TestComponent);34 component = fixture.componentInstance;35 fixture.detectChanges();36 });37 it('should create', () => {38 expect(component).toBeTruthy();39 });40});41<p>{{ test }}</p>42import { OnInit } from '@angular/core';43import * as ɵngcc0 from '@angular/core';44export declare class TestComponent implements OnInit {45 test: string;46 constructor();47 ngOnInit(): void;48 static ɵfac: ɵngcc0.ɵɵFactoryDef<TestComponent, never>;49 static ɵcmp: ɵngcc0.ɵɵComponentDefWithMeta<TestComponent, "app-test", never, { "test": "test"; }, {}, never, never>;50}51import * as tslib_1 from "tslib";52import { Component } from '@angular/core';

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run ng-mocks automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful