/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | WasmTraits.h | 24 wasm::WasmSignature Sig; 25 Sig.State = wasm::WasmSignature::Empty; 26 return Sig; 29 wasm::WasmSignature Sig; 30 Sig.State = wasm::WasmSignature::Tombstone; 31 return Sig; 33 static unsigned getHashValue(const wasm::WasmSignature &Sig) { 34 uintptr_t H = hash_value(Sig.State); 35 for (auto Ret : Sig.Returns) 37 for (auto Param : Sig [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
H A D | WebAssemblyAsmTypeCheck.cpp | 50 void WebAssemblyAsmTypeCheck::funcDecl(const wasm::WasmSignature &Sig) { in funcDecl() argument 51 LocalTypes.assign(Sig.Params.begin(), Sig.Params.end()); in funcDecl() 52 ReturnTypes.assign(Sig.Returns.begin(), Sig.Returns.end()); in funcDecl() 53 BrStack.emplace_back(Sig.Returns.begin(), Sig.Returns.end()); in funcDecl() 173 const wasm::WasmSignature &Sig) { in checkSig() argument 174 for (auto VT : llvm::reverse(Sig.Params)) in checkSig() 177 Stack.insert(Stack.end(), Sig.Returns.begin(), Sig.Returns.end()); in checkSig() 359 const auto *Sig = WasmSym->getSignature(); in typeCheck() local 360 if (!Sig || WasmSym->getType() != wasm::WASM_SYMBOL_TYPE_TAG) in typeCheck() 366 Stack.insert(Stack.end(), Sig->Params.begin(), Sig->Params.end()); in typeCheck() [all …]
|
H A D | WebAssemblyAsmTypeCheck.h | 47 bool checkSig(SMLoc ErrorLoc, const wasm::WasmSignature &Sig); 57 void funcDecl(const wasm::WasmSignature &Sig); 59 void setLastSig(const wasm::WasmSignature &Sig) { LastSig = Sig; } in setLastSig() argument
|
H A D | WebAssemblyAsmParser.cpp | 229 wasm::WasmSignature Sig; member 308 void push(NestingType NT, wasm::WasmSignature Sig = wasm::WasmSignature()) { in push() argument 309 NestingStack.push_back({NT, Sig}); in push() 319 TC.setLastSig(Top.Sig); in pop() 330 auto Sig = NestingStack.back().Sig; in popAndPushWithSameSignature() local 333 push(PushNT, Sig); in popAndPushWithSameSignature() 472 wasm::WasmSignature Sig({static_cast<wasm::ValType>(BT)}, {}); in addBlockTypeOperand() local 473 TC.setLastSig(Sig); in addBlockTypeOperand() 474 NestingStack.back().Sig = Sig; in addBlockTypeOperand() 638 NestingStack.back().Sig = *Signature; in ParseInstruction()
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | aslmain.c | 178 int Sig); 376 int Sig) in AslSignalHandler() argument 381 signal (Sig, SIG_IGN); in AslSignalHandler() 385 switch (Sig) in AslSignalHandler() 394 printf (ASL_PREFIX "Unknown interrupt signal (%d)\n", Sig); in AslSignalHandler()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | InfoStream.cpp | 55 PdbRaw_FeatureSig Sig; in reload() local 56 if (auto EC = Reader.readEnum(Sig)) in reload() 62 switch (uint32_t(Sig)) { in reload() 79 FeatureSignatures.push_back(Sig); in reload()
|
H A D | InfoStreamBuilder.cpp | 33 void InfoStreamBuilder::addFeature(PdbRaw_FeatureSig Sig) { in addFeature() 34 Features.push_back(Sig); in addFeature() 32 addFeature(PdbRaw_FeatureSig Sig) addFeature() argument
|
H A D | PDBFileBuilder.cpp | 367 std::optional<uint32_t> Sig = Info->getSignature(); 368 H->Signature = Sig ? *Sig : time(nullptr); 359 std::optional<uint32_t> Sig = Info->getSignature(); commit() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAsmPrinter.cpp | 138 static std::string getEmscriptenInvokeSymbolName(wasm::WasmSignature *Sig) { in getEmscriptenInvokeSymbolName() argument 139 assert(Sig->Returns.size() <= 1); in getEmscriptenInvokeSymbolName() 141 if (!Sig->Returns.empty()) in getEmscriptenInvokeSymbolName() 142 for (auto VT : Sig->Returns) in getEmscriptenInvokeSymbolName() 147 for (unsigned I = 1, E = Sig->Params.size(); I < E; I++) in getEmscriptenInvokeSymbolName() 148 Ret += getInvokeSig(Sig->Params[I]); in getEmscriptenInvokeSymbolName() 157 const Function *F, bool EnableEmEH, wasm::WasmSignature *Sig, in getMCSymbolForFunction() argument 161 assert(Sig); in getMCSymbolForFunction() 163 if (Sig->Returns.size() > 1) { in getMCSymbolForFunction() 167 WebAssembly::signatureToString(Sig); in getMCSymbolForFunction() [all …]
|
H A D | WebAssemblyMachineFunctionInfo.cpp | 119 auto Sig = Ctx.createWasmSignature(); in signatureFromMVTs() local 120 valTypesFromMVTs(Results, Sig->Returns); in signatureFromMVTs() 121 valTypesFromMVTs(Params, Sig->Params); in signatureFromMVTs() 122 return Sig; in signatureFromMVTs()
|
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 428 std::string Sig; in getSignature() local 429 raw_string_ostream OS(Sig); in getSignature() 435 Sig = OS.str(); in getSignature() 436 erase_if(Sig, isSpace); in getSignature() 439 std::replace(Sig.begin(), Sig.end(), ',', '.'); in getSignature() 440 return Sig; in getSignature() 577 std::string Sig = getSignature(CalleeFTy); in getInvokeWrapper() local 578 if (InvokeWrappers.contains(Sig)) in getInvokeWrapper() 579 return InvokeWrappers[Sig]; in getInvokeWrapper() 588 Function *F = getEmscriptenFunction(FTy, "__invoke_" + Sig, M); in getInvokeWrapper() [all …]
|
/freebsd/tools/test/stress2/testcases/shm/ |
H A D | shm.c | 119 Sig(int i) { in Sig() function 156 Sig(0); in test() 164 Sig(1); in test()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugInlineeLinesSubsection.cpp | 85 InlineeLinesSignature Sig = InlineeLinesSignature::Normal; in commit() local 87 Sig = InlineeLinesSignature::ExtraFiles; in commit() 89 if (auto EC = Writer.writeEnum(Sig)) in commit()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyMCTypeUtilities.cpp | 92 std::string WebAssembly::signatureToString(const wasm::WasmSignature *Sig) { in signatureToString() argument 94 S += typeListToString(Sig->Params); in signatureToString() 96 S += typeListToString(Sig->Returns); in signatureToString()
|
H A D | WebAssemblyMCTypeUtilities.h | 62 std::string signatureToString(const wasm::WasmSignature *Sig);
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Signals.inc | 85 static void SignalHandler(int Sig); // defined below. 86 static void InfoSignalHandler(int Sig); // defined below. 355 int Sig = (int)Context; 357 if (llvm::is_contained(InfoSigs, Sig)) { 358 InfoSignalHandler(Sig); 364 if (llvm::is_contained(IntSigs, Sig) || Sig == SIGPIPE) 371 static void SignalHandler(int Sig) { 386 if (Sig == SIGPIPE) 391 bool IsIntSig = llvm::is_contained(IntSigs, Sig); 396 if (Sig == SIGPIPE || IsIntSig) { [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/ |
H A D | PDBSymbolTypeFunctionSig.cpp | 30 const PDBSymbolTypeFunctionSig &Sig) in FunctionArgEnumerator() argument 32 Enumerator(Sig.findAllChildren<PDBSymbolTypeFunctionArg>()) {} in FunctionArgEnumerator()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXContainerGlobals.cpp | 39 GlobalVariable *buildSignature(Module &M, Signature &Sig, StringRef Name, 118 GlobalVariable *DXContainerGlobals::buildSignature(Module &M, Signature &Sig, in buildSignature() argument 123 Sig.write(OS); in buildSignature()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | FunctionSpecialization.h | 129 SpecSig Sig; 138 : F(F), Sig(S), Score(Score) {} 140 : F(F), Sig(S), Score(Score) {} 108 SpecSig Sig; global() member
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | WasmEmitter.cpp | 368 for (const WasmYAML::Signature &Sig : Section.Signatures) { in writeSectionContent() local 369 if (Sig.Index != ExpectedIndex) { in writeSectionContent() 370 reportError("unexpected type index: " + Twine(Sig.Index)); in writeSectionContent() 374 writeUint8(OS, Sig.Form); in writeSectionContent() 375 encodeULEB128(Sig.ParamTypes.size(), OS); in writeSectionContent() 376 for (auto ParamType : Sig.ParamTypes) in writeSectionContent() 378 encodeULEB128(Sig.ReturnTypes.size(), OS); in writeSectionContent() 379 for (auto ReturnType : Sig.ReturnTypes) in writeSectionContent()
|
H A D | DXContainerEmitter.cpp | 251 mcdxbc::Signature Sig; in writeParts() local 254 Sig.addParam(Param.Stream, Param.Name, Param.Index, Param.SystemValue, in writeParts() 259 Sig.write(OS); in writeParts()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | RISCVVEmitter.cpp | 274 for (auto &Sig : Signatures) in init() local 275 insert(Sig); in init() 307 for (const auto &Sig : SignatureTable) in print() local 308 OS << "PrototypeDescriptor(" << static_cast<int>(Sig.PT) << ", " in print() 309 << static_cast<int>(Sig.VTM) << ", " << static_cast<int>(Sig.TM) in print()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSymbolWasm.h | 132 void setSignature(wasm::WasmSignature *Sig) { Signature = Sig; } in setSignature() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
H A D | MicrosoftDemangleNodes.cpp | 482 const FunctionSignatureNode *Sig = in outputPre() local 484 Sig->outputPre(OB, OF_NoCallingConvention); in outputPre() 497 const FunctionSignatureNode *Sig = in outputPre() local 499 outputCallingConvention(OB, Sig->CallConvention); in outputPre()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | InfoStreamBuilder.h | 34 void addFeature(PdbRaw_FeatureSig Sig);
|