Home
last modified time | relevance | path

Searched refs:GetInstruction (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_liveness_analysis_test.cc44 HloInstruction* GetInstruction(HloModule* module, const string& name) { in GetInstruction() function in xla::__anon7b0dbd5d0111::HloLivenessAnalysisTest
71 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add"), {})); in TEST_F()
72 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
73 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
88 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add.2"), {})); in TEST_F()
89 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
90 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
91 EXPECT_FALSE(liveness.IsLive(GetInstruction(module.get(), "add.1"), {})); in TEST_F()
106 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {})); in TEST_F()
107 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {0})); in TEST_F()
[all …]
Dhlo_clone_context.h67 HloInstruction* GetInstruction(const HloInstruction* old_instruction) const { in GetInstruction() function
Dhlo_computation.cc1010 new_operands.push_back(context->GetInstruction(replaced_operand)); in CloneWithReplacements()
1020 /*root_instruction=*/context->GetInstruction( in CloneWithReplacements()
1025 HloInstruction* new_instr = context->GetInstruction(instr); in CloneWithReplacements()
1032 context->GetInstruction(replaced_successor))); in CloneWithReplacements()
Dhlo_module.cc582 clone_sequence.push_back(context.GetInstruction(instruction)); in Clone()
/external/boringssl/src/fipstools/
Dcavp_aes_gcm_test.cc50 if (!t->GetInstruction(&key_len_str, "Keylen") || in TestAEADEncrypt()
51 !t->GetInstruction(&iv_len_str, "IVlen") || in TestAEADEncrypt()
52 !t->GetInstruction(&pt_len_str, "PTlen") || in TestAEADEncrypt()
53 !t->GetInstruction(&aad_len_str, "AADlen") || in TestAEADEncrypt()
54 !t->GetInstruction(&tag_len_str, "Taglen")) { in TestAEADEncrypt()
88 if (!t->GetInstruction(&key_len, "Keylen") || in TestAEADDecrypt()
89 !t->GetInstruction(&iv_len, "IVlen") || in TestAEADDecrypt()
90 !t->GetInstruction(&pt_len_str, "PTlen") || in TestAEADDecrypt()
91 !t->GetInstruction(&aad_len_str, "AADlen") || in TestAEADDecrypt()
92 !t->GetInstruction(&tag_len, "Taglen")) { in TestAEADDecrypt()
Dcavp_ctr_drbg_test.cc30 if (!t->GetInstruction(&test_type, "AES-256 no df") || in TestCTRDRBG()
31 !t->GetInstruction(&prediction_resistance, "PredictionResistance") || in TestCTRDRBG()
32 !t->GetInstruction(&entropy_input_len, "EntropyInputLen") || in TestCTRDRBG()
33 !t->GetInstruction(&nonce_len, "NonceLen") || in TestCTRDRBG()
34 !t->GetInstruction(&personalization_str_len, in TestCTRDRBG()
36 !t->GetInstruction(&additional_input_len, "AdditionalInputLen") || in TestCTRDRBG()
37 !t->GetInstruction(&returned_bits_len, "ReturnedBitsLen") || in TestCTRDRBG()
Dcavp_rsa2_keygen_test.cc31 if (!t->GetInstruction(&mod_str, "mod") || in TestRSA2KeyGen()
32 !t->GetInstruction(&table, "Table for M-R Test") || in TestRSA2KeyGen()
Dcavp_hmac_test.cc29 if (!t->GetInstruction(&md_len_str, "L")) { in TestHMAC()
Dcavp_sha_test.cc44 if (!t->GetInstruction(&out_len, "L") || in TestSHA()
Dcavp_keywrap_test.cc70 if (!t->GetInstruction(&unused, "PLAINTEXT LENGTH") || in TestCipher()
Dcavp_tlskdf_test.cc59 !t->GetInstruction(&key_block_len_str, "key block length") || in TestTLSKDF()
Dcavp_sha_monte_test.cc45 if (!t->GetInstruction(&out_len, "L") || in TestSHAMonte()
Dcavp_tdes_test.cc76 t->GetInstruction(&num_keys_str, "NumKeys"); in TestKAT()
197 if (!t->GetInstruction(&num_keys_str, "NumKeys")) { in TestMCT()
Dcavp_rsa2_sigver_test.cc44 if (!t->GetInstruction(&mod_str, "mod")) { in TestRSA2SigVer()
Dcavp_rsa2_siggen_test.cc43 if (!t->GetInstruction(&mod_str, "mod") || in TestRSA2SigGen()
/external/boringssl/src/crypto/test/
Dwycheproof_util.cc47 instruction ? t->GetInstruction(&name, key) : t->GetAttribute(&name, key); in GetWycheproofDigest()
74 instruction ? t->GetInstruction(&name, key) : t->GetAttribute(&name, key); in GetWycheproofCurve()
97 bool ok = instruction ? t->GetInstruction(&value, key) in GetWycheproofBIGNUM()
Dfile_test.h186 bool GetInstruction(std::string *out_value, const std::string &key);
Dfile_test.cc278 bool FileTest::GetInstruction(std::string *out_value, const std::string &key) { in GetInstruction() function in FileTest
299 return GetInstruction(&value, key) && ConvertToBytes(out, value); in GetInstructionBytes()
/external/boringssl/src/crypto/cmac/
Dcmac_test.cc127 ASSERT_TRUE(t->GetInstruction(&key_size, "keySize")); in TEST()
128 ASSERT_TRUE(t->GetInstruction(&tag_size, "tagSize")); in TEST()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_extractor.cc72 new_operands.push_back(clone_context_.GetInstruction(operand)); in DefaultAction()
/external/boringssl/src/crypto/cipher_extra/
Daead_test.cc703 ASSERT_TRUE(t->GetInstruction(&tag_size_str, "tagSize")); in RunWycheproofTestCase()
767 ASSERT_TRUE(t->GetInstruction(&key_size_str, "keySize")); in TEST()
788 ASSERT_TRUE(t->GetInstruction(&key_size_str, "keySize")); in TEST()
Dcipher_test.cc316 ASSERT_TRUE(t->GetInstruction(&key_size, "keySize")); in TEST()
/external/boringssl/src/crypto/fipsmodule/aes/
Daes_test.cc141 ASSERT_TRUE(t->GetInstruction(&key_size, "keySize")); in TEST()
/external/boringssl/src/crypto/evp/
Devp_test.cc475 ASSERT_TRUE(t->GetInstruction(&s_len, "sLen")); in RunWycheproofTest()