/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | groups.test | 17 # CHECK-NEXT: Signature: foo 29 # CHECK-NEXT: Signature: bar 58 # JSON-NEXT: "Signature": "foo", 82 # JSON-NEXT: "Signature": "bar", 161 # DUP-LLVM-NEXT: Signature: foo 173 # DUP-LLVM-NEXT: Signature: bar 192 ## Check what we do when we are unable to dump the signature symbol name. 211 # SYMTAB-LLVM-NEXT: Signature: <?> 223 # SYMTAB-LLVM-NEXT: Signature: <?> 243 ## This tests the behavior for two more cases when we are unable to dump the signature symbol name. [all …]
|
/llvm-project/polly/lib/External/isl/interface/ |
H A D | template_cpp.cc | 312 /* A signature of a method in terms of kinds, 315 struct Signature { struct 320 Signature apply(const Substitution &match) const; argument 323 /* Return the parameters of this signature. 327 std::vector<std::string> Signature::params() const in params() 342 Signature Signature::apply(const Substitution &subs) const in apply() 401 static Substitution shared_param_renamer(const Signature &sig, const Kind &kind) in shared_param_renamer() 409 static Signature un_params = { { }, { { } } }; 410 static Signature un_set = { { Domain }, { { Domain } } }; 411 static Signature un_map = { { Domain, Range }, { { Domain, Range } } }; [all …]
|
/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 679 // type in a Signature. 683 // The signature of a function we want to describe with a summary. This is a 684 // concessive signature, meaning there may be irrelevant types in the 685 // signature which we do not check against a function with concrete types. 687 class Signature { class in __anon2859deef0111::StdLibraryFunctionsChecker 695 // Construct a signature from optional types. If any of the optional types 696 // are not set then the signature will be invalid. 697 Signature(ArgTypes ArgTys, RetType RetTy) { in Signature() function in __anon2859deef0111::StdLibraryFunctionsChecker::Signature 743 /// * function prototype (signature) 751 /// The signature an [all...] |
/llvm-project/clang/lib/Analysis/ |
H A D | IssueHash.cpp | 30 // Get a string representation of the parts of the signature that can be 35 std::string Signature; in GetSignature() local 38 // distinct hash value for every instantiation. Use the signature from the in GetSignature() 46 Signature.append(Target->getReturnType().getAsString()).append(" "); in GetSignature() 47 Signature.append(Target->getQualifiedNameAsString()).append("("); in GetSignature() 51 Signature.append(", "); in GetSignature() 52 Signature.append(Target->getParamDecl(i)->getType().getAsString()); in GetSignature() 56 Signature.append(", ..."); in GetSignature() 57 Signature.append(")"); in GetSignature() 63 return Signature; in GetSignature() [all …]
|
/llvm-project/llvm/lib/Support/ |
H A D | BalancedPartitioning.cpp | 215 // Init signature cost caches in runIteration() 216 for (auto &Signature : Signatures) { in runIteration() 217 if (Signature.CachedGainIsValid) in runIteration() 219 unsigned L = Signature.LeftCount; in runIteration() 220 unsigned R = Signature.RightCount; in runIteration() 221 assert((L > 0 || R > 0) && "incorrect signature"); in runIteration() 223 Signature.CachedGainLR = 0.f; in runIteration() 224 Signature.CachedGainRL = 0.f; in runIteration() 226 Signature.CachedGainLR = Cost - logCost(L - 1, R + 1); in runIteration() 228 Signature in runIteration() 214 for (auto &Signature : Signatures) { runIteration() local 285 auto &Signature = Signatures[UN]; moveFunctionNode() local 292 auto &Signature = Signatures[UN]; moveFunctionNode() local [all...] |
/llvm-project/llvm/docs/DirectX/ |
H A D | DXContainer.rst | 102 #. `ISG1`_ - Stores the input signature for Shader Model 5.1+. 103 #. ISGN\* - Stores the input signature for Shader Model 4 and earlier. 104 #. `OSG1`_ - Stores the output signature for Shader Model 5.1+. 105 #. OSG5\* - Stores the output signature for Shader Model 5. 106 #. OSGN\* - Stores the output signature for Shader Model 4 and earlier. 107 #. PCSG\* - Stores the patch constant signature for Shader Model 5.1 and earlier. 110 #. `PSG1`_ - Stores the patch constant signature for Shader Model 6+. 114 #. RTS0 - Stores compiled root signature. 146 Program Signature (SG1) Parts 159 The program signature parts (ISG1, OSG1, & PSG1) all use the same data [all …]
|
/llvm-project/clang/lib/Headers/ |
H A D | ptrauth.h | 55 /* An integer type of the appropriate size for a generic signature. */ 59 a signature that attests to the validity of that pointer. Because 60 this signature must use only "spare" bits of the pointer, a 61 signature's validity is probabilistic in practice: it is unlikely 62 but still plausible that an invalidly-derived signature will 63 somehow equal the correct signature and therefore successfully 72 signature in the result, and so the result will not seem to be 76 authentication will expect a (likely) non-zero signature to 87 /* Strip the signature from a value without authenticating it. 90 legal function pointer because of the missing signature, an [all...] |
/llvm-project/clang/utils/TableGen/ |
H A D | ClangOpenCLBuiltinEmitter.cpp | 54 // many OpenCL builtins share the same signature. 71 // signature, where the first entry is the return type and subsequent 127 // function attributes, and extension are equal for each signature. 150 // A signature is stored as a list of indexes of the TypeTable. 154 // 15, 2, 15 can represent a function with the signature: 164 // This means that the signature of this convert_float2_rtn overload has 181 // function. Each pair consists of a signature and a cumulative index. 193 // cumulative index of the associated signature in the SignaturesList> 198 // ptrToPrototype1 has the following signature: <double, double> 221 // cos | sin | Signature | Inde 463 VerifySignature(const std::vector<Record * > & Signature,const Record * BuiltinRec) VerifySignature() argument 518 auto Signature = B->getValueAsListOfDefs("Signature"); GetOverloads() local 689 for (const auto &Signature : Fct.second) { GroupBySignature() local 1074 expandTypesInSignature(const std::vector<Record * > & Signature,SmallVectorImpl<SmallVector<std::string,2>> & Types) expandTypesInSignature() argument 1185 emitTypeExtensionGuards(const SmallVectorImpl<std::string> & Signature) emitTypeExtensionGuards() argument 1238 for (const auto &Signature : FTypes) { emit() local 1301 for (const auto &Signature : FTypes) { emit() local [all...] |
H A D | RISCVVEmitter.cpp | 73 // Compressed function signature table. 78 void insert(ArrayRef<PrototypeDescriptor> Signature); 83 // Create compressed signature table from SemaRecords. 86 // Query the Signature, return INVALID_INDEX if not found. 87 unsigned getIndex(ArrayRef<PrototypeDescriptor> Signature); 89 /// Print signature table in RVVHeader Record to \p OS 321 // Sort signature entries by length, let longer signature insert first, to in createHeader() 342 [&](const SmallVector<PrototypeDescriptor> &Signature) { in createHeader() 343 if (Signature in createHeader() 259 __anon213b614f0202(const SmallVector<PrototypeDescriptor> &Signature) init() argument 278 insert(ArrayRef<PrototypeDescriptor> Signature) insert() argument 287 getIndex(ArrayRef<PrototypeDescriptor> Signature) getIndex() argument [all...] |
/llvm-project/clang-tools-extra/clangd/ |
H A D | CodeCompletionStrings.cpp | 119 void getSignature(const CodeCompletionString &CCS, std::string *Signature, in getSignature() argument 155 // In general our string looks like <qualifiers><name><signature>. in getSignature() 170 *RequiredQualifiers = std::move(*Signature); in getSignature() 171 Signature->clear(); in getSignature() 178 // TODO: Make previous parameters part of the signature for Objective-C in getSignature() 190 // - Snippet/Signature suffix: `(id)argument` in getSignature() 198 // - Snippet/Signature suffix: `(id)` in getSignature() 201 *RequiredQualifiers = std::move(*Signature); in getSignature() 204 Signature->clear(); in getSignature() 205 } else { // Subsequent argument, considered part of snippet/signature. in getSignature() [all …]
|
/llvm-project/clang-tools-extra/clangd/unittests/ |
H A D | CodeCompletionStringsTests.cpp | 30 Signature.clear(); in computeSignature() 32 getSignature(CCS, &Signature, &Snippet, ResultKind, in computeSignature() 41 std::string Signature; member in clang::clangd::__anonde4d15820111::CompletionStringTest 85 EXPECT_EQ(Signature, ""); in TEST_F() 101 EXPECT_EQ(Signature, "(p1, p2)"); in TEST_F() 126 EXPECT_EQ(Signature, "(p1, p2 = 0, p3 = 0)"); in TEST_F() 137 EXPECT_EQ(Signature, "($p}1\\)"); in TEST_F() 178 // Arguments dropped from snippet, kept in signature. in TEST_F() 179 EXPECT_EQ(Signature, "<typename T, int U>(arg1, arg2)"); in TEST_F() 188 EXPECT_EQ(Signature, "info ok"); in TEST_F() [all …]
|
/llvm-project/clang/test/SemaObjC/ |
H A D | objc-literal-sig.m | 45 …_yes; // expected-error{{literal construction method 'numberWithBool:' has incompatible signature}} 46 …_yes; // expected-error{{literal construction method 'numberWithBool:' has incompatible signature}} 47 … expected-error{{literal construction method 'arrayWithObjects:count:' has incompatible signature}} 48 … expected-error{{literal construction method 'arrayWithObjects:count:' has incompatible signature}} 49 …or{{literal construction method 'dictionaryWithObjects:forKeys:count:' has incompatible signature}} 50 …or{{literal construction method 'dictionaryWithObjects:forKeys:count:' has incompatible signature}} 51 …// expected-error{{literal construction method 'stringWithUTF8String:' has incompatible signature}} 52 …// expected-error{{literal construction method 'stringWithUTF8String:' has incompatible signature}}
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | UseRangesCheck.cpp | 105 explicit StdReplacer(SmallVector<UseRangesCheck::Signature> Signatures) in getReplaceName() 111 ArrayRef<UseRangesCheck::Signature> in getReplacementSignatures() 117 SmallVector<UseRangesCheck::Signature> Signatures; 142 static const Signature SingleRangeArgs = {{0}}; in getReplacerMap() 145 static const Signature TwoRangeArgs = {{0}, {2}}; in getReplacerMap() 148 static const Signature SinglePivotRange = {{0, 2}}; in getReplacerMap() 150 static const Signature SingleRangeFunc[] = {SingleRangeArgs}; in getReplacerMap() 152 static const Signature TwoRangeFunc[] = {TwoRangeArgs}; in getReplacerMap() 154 static const Signature SinglePivotFunc[] = {SinglePivotRange}; in getReplacerMap() 156 static const std::pair<ArrayRef<Signature>, ArrayRe in getReplacerMap() [all...] |
/llvm-project/clang/docs/ |
H A D | PointerAuthentication.rst | 66 implementation technique: computing and storing a cryptographic signature along 76 is included in the signature as a salt (see `Discriminators`_ for details.) 111 - ``sign_generic(value)`` produces a cryptographic signature for arbitrary 139 a cryptographic signature, other implementations may be possible. See 146 - A signed pointer is a pointer with a signature stored in the 150 enabled) are unused. The signature width then depends on this addressing 167 signing key, and stores it in the high bits as the signature. ``auth`` 168 removes the signature, computes the same hash, and compares the result with 169 the stored signature. ``strip`` removes the signature without 183 A discriminator is arbitrary extra data which alters the signature calculated [all …]
|
/llvm-project/llvm/lib/Analysis/models/ |
H A D | gen-inline-oz-test-model.py | 106 def build_mock_model(path, signature, advice): argument 107 """Build and save the mock model with the given signature""" 111 return {signature["output"]: tf.constant(value=advice, dtype=tf.int64)} 114 action = {"action": module.action.get_concrete_function(signature["inputs"])} 120 f.write(signature["output_spec"]) 142 signature = get_signature() 143 build_mock_model(model_path, signature, constant_advice)
|
/llvm-project/mlir/lib/Dialect/MemRef/Transforms/ |
H A D | NormalizeMemRefs.cpp | 216 /// function signature. This updates the function's return type at the caller in updateFunctionSignature() 218 /// the calling function's signature. in updateFunctionSignature() 219 /// TODO: An update to the calling function signature is required only if the in updateFunctionSignature() 228 // External function's signature was already updated in in updateFunctionSignature() 236 // function signature is required. in updateFunctionSignature() 242 // function's return signature then no update is required. in updateFunctionSignature() 245 // Update function's return type signature. in updateFunctionSignature() 258 // We create a new function type and modify the function signature with this in updateFunctionSignature() 264 // Since we update the function signature, it might affect the result types at in updateFunctionSignature() 266 // function in ReturnOps, the caller function's signature wil in updateFunctionSignature() [all...] |
/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeAnalyzer.cpp | 442 char Signature[6]; in ReadSignature() 443 if (Error Err = tryRead(Signature[0], 8)) in ReadSignature() 445 if (Error Err = tryRead(Signature[1], 8)) in ReadSignature() 449 if (Signature[0] == 'C' && Signature[1] == 'P') { in ReadSignature() 450 if (Error Err = tryRead(Signature[2], 8)) in ReadSignature() 452 if (Error Err = tryRead(Signature[3], 8)) in ReadSignature() 454 if (Signature[2] == 'C' && Signature[3] == 'H') in ReadSignature() 456 } else if (Signature[ in ReadSignature() 440 char Signature[6]; ReadSignature() local [all...] |
/llvm-project/clang/test/utils/update_cc_test_checks/ |
H A D | mangled_names.test | 8 ## Also try the --function-signature flag 9 # RUN: %update_cc_test_checks %t.c --function-signature 11 ## Running it again should implicitly add the function-signature flag due to UTC_ARGS: 14 ## Verify that running without the --function-signature flag removes the -SAME: lines: 20 # RUN: %update_cc_test_checks %t.c --function-signature --version 2 22 ## Restore the original file without --function-signature and check that
|
/llvm-project/lld/wasm/ |
H A D | SymbolTable.cpp | 154 // Returns true if the function types match, false is there is a signature 158 const WasmSignature *oldSig = existing->signature; in signatureMatches() 160 // If either function is missing a signature (this happens for bitcode in signatureMatches() 192 const WasmSignature *oldSig = existingTag->signature; in checkTagType() 194 warn("Tag signature mismatch: " + existing->getName() + in checkTagType() 331 const WasmSignature *signature, in addDefinedFunction() 335 ("function signature mismatch: " + symName + "\n>>> defined as " + in addDefinedFunction() 336 toString(*sym->signature) + " in " + toString(sym->getFile()) + in addDefinedFunction() 337 "\n>>> defined as " + toString(*signature) + " in " + toString(file)) in addDefinedFunction() 349 reportFunctionSignatureMismatch(symName, a, b->signature, in addDefinedFunction() [all...] |
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | UseRangesCheck.cpp | 42 static std::string getFullPrefix(ArrayRef<UseRangesCheck::Indexes> Signature) { in operator ==() 45 for (const UseRangesCheck::Indexes &Item : Signature) in operator ==() 134 // As we match on the first matched signature, we need to sort the in registerMatchers() 136 // signature that is a subset of another signature will be matched after the in registerMatchers() 138 SmallVector<Signature> SigVec(Replacer->getReplacementSignatures()); in registerMatchers() 140 for (const auto &Signature : SigVec) { in registerMatchers() 142 for (const auto &ArgPair : Signature) in registerMatchers() 143 Matchers.push_back(makeMatcherPair(getFullPrefix(Signature), ArgPair, in registerMatchers() 213 for (const Signature in check() 48 getFullPrefix(ArrayRef<UseRangesCheck::Indexes> Signature) getFullPrefix() argument 153 for (const auto &Signature : SigVec) { registerMatchers() local [all...] |
/llvm-project/llvm/test/tools/UpdateTestChecks/update_test_checks/ |
H A D | basic.test | 8 ## Also try the --function-signature flag 9 # RUN: %update_test_checks %t.ll --function-signature 11 ## Verify that running without the --function-signature flag does not removes 12 ## the -SAME: lines since the generated file will have --function-signature in 17 ## Restore the original file without --function-signature and check that
|
/llvm-project/clang-tools-extra/clang-tidy/boost/ |
H A D | UseRangesCheck.cpp | 30 BoostReplacer(ArrayRef<UseRangesCheck::Signature> Signatures, in BoostReplacer() 34 ArrayRef<UseRangesCheck::Signature> getReplacementSignatures() const final { in getReplacementSignatures() 61 SmallVector<UseRangesCheck::Signature> Signatures; 89 StringRef HeaderName, ArrayRef<UseRangesCheck::Signature> Signatures, in CustomBoostAlgorithmHeaderReplacer() 109 ArrayRef<UseRangesCheck::Signature> Signatures, in BoostAlgorithmReplacer() 133 ArrayRef<UseRangesCheck::Signature> Signatures, in CustomBoostAlgorithmReplacer() 155 explicit MakeOverloadReplacer(ArrayRef<UseRangesCheck::Signature> Signatures) in MakeOverloadReplacer() 158 ArrayRef<UseRangesCheck::Signature> 174 SmallVector<UseRangesCheck::Signature> Signatures; 182 ArrayRef<UseRangesCheck::Signature> Signature in FixedBoostReplace() [all...] |
/llvm-project/llvm/include/llvm/Object/ |
H A D | CVDebugRecord.h | 16 struct Signature { struct 32 uint8_t Signature[16]; member 40 support::ulittle32_t Signature; member 46 struct OMF::Signature Signature; member
|
/llvm-project/lldb/source/Utility/ |
H A D | ZipFile.cpp | 25 char signature[sizeof(kSignature)]; member 43 char signature[sizeof(kSignature)]; member 69 char signature[sizeof(kSignature)]; member 94 if (::memcmp(eocd->signature, EocdRecord::kSignature, in FindEocdRecord() 112 // The signature should match. in GetFile() 113 if (::memcmp(local_file_header->signature, LocalFileHeader::kSignature, in GetFile() 139 // The signature should match. in FindFile() 140 if (::memcmp(cd->signature, CdRecord::kSignature, in FindFile()
|
/llvm-project/clang/test/Modules/ |
H A D | ASTSignature.c | 20 // CHECK: <SIGNATURE abbrevid={{[0-9]+}}/> blob data = '[[SIGNATURE:.*]]' 22 // CHECK-NOT: <SIGNATURE abbrevid={{[0-9]+}}/> blob data = '[[SIGNATURE]]' 25 // or the file signature stopped hashing some parts of the AST file.
|