Searched refs:Code (Results 1 - 25 of 499) sorted by relevance

1234567891011>>

/external/v8/src/ic/
H A Dic-compiler.h19 // Finds the Code object stored in the Heap::non_monomorphic_cache().
20 static Code* FindPreMonomorphic(Isolate* isolate, Code::Kind kind,
24 static Handle<Code> ComputeLoad(Isolate* isolate, InlineCacheState ic_state,
26 static Handle<Code> ComputeStore(Isolate* isolate, InlineCacheState ic_state,
29 static Handle<Code> ComputeMonomorphic(Code::Kind kind, Handle<Name> name,
31 Handle<Code> handler,
33 static Handle<Code> ComputePolymorphic(Code
[all...]
H A Daccess-compiler.cc14 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags,
19 Handle<Code> code = factory()->NewCode(desc, flags, masm()->CodeObject());
31 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags,
42 Handle<Code> code(masm->isolate()->builtins()->builtin(name));
47 Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) {
48 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) {
51 DCHECK(kind == Code
[all...]
H A Daccess-compiler.h18 static Builtins::Name MissBuiltin(Code::Kind kind) {
20 case Code::LOAD_IC:
22 case Code::STORE_IC:
24 case Code::KEYED_LOAD_IC:
26 case Code::KEYED_STORE_IC:
37 PropertyAccessCompiler(Isolate* isolate, Code::Kind kind,
45 Code::Kind kind() const { return kind_; }
61 static Register* GetCallingConvention(Code::Kind);
68 static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code);
70 Handle<Code> GetCodeWithFlag
[all...]
H A Dic-compiler.cc16 Handle<Code> PropertyICCompiler::Find(Handle<Name> name,
17 Handle<Map> stub_holder, Code::Kind kind,
20 Code::Flags flags =
21 Code::ComputeMonomorphicFlags(kind, extra_state, cache_holder);
23 if (probe->IsCode()) return handle(Code::cast(probe));
24 return Handle<Code>::null();
36 Handle<Code> PropertyICCompiler::CompileMonomorphic(Handle<HeapType> type,
37 Handle<Code> handler,
44 Code::StubType stub_type = handler->type();
49 Handle<Code> PropertyICCompile
[all...]
H A Dhandler-compiler.h20 static Handle<Code> Find(Handle<Name> name, Handle<Map> map, Code::Kind kind,
21 CacheHolderFlag cache_holder, Code::StubType type);
24 PropertyHandlerCompiler(Isolate* isolate, Code::Kind kind,
88 Handle<Code> GetCode(Code::Kind kind, Code::StubType type, Handle<Name> name);
105 : PropertyHandlerCompiler(isolate, Code::LOAD_IC, type, holder,
110 Handle<Code> CompileLoadField(Handle<Name> name, FieldIndex index);
112 Handle<Code> CompileLoadCallbac
[all...]
H A Dic.h80 static void RegisterWeakMapDependency(Handle<Code> stub);
84 static void InvalidateMaps(Code* stub);
112 static bool IsCleared(Code* code) {
132 Handle<Code> target() const { return target_; }
141 Code* GetCode() const;
143 Code* GetOriginalCode() const;
146 inline void set_target(Code* code);
159 static inline Code* GetTargetAtAddress(Address address,
161 static inline void SetTargetAtAddress(Address address, Code* target,
166 static void PostPatching(Address address, Code* targe
[all...]
H A Dstub-cache.cc25 static Code::Flags CommonStubCacheChecks(Name* name, Map* map,
26 Code::Flags flags) {
27 flags = Code::RemoveTypeAndHolderFromFlags(flags);
37 DCHECK_EQ(Code::HANDLER, Code::ExtractKindFromFlags(flags));
38 STATIC_ASSERT((Code::ICStateField::kMask & 1) == 1);
41 DCHECK(Code::ExtractTypeFromFlags(flags) == 0);
42 DCHECK(Code::ExtractCacheHolderFromFlags(flags) == 0);
48 Code* StubCache::Set(Name* name, Map* map, Code* cod
[all...]
H A Dstub-cache.h37 Code* value;
43 Code* Set(Name* name, Map* map, Code* code);
44 Code* Get(Name* name, Map* map, Code::Flags flags);
49 Code::Flags flags, Handle<Context> native_context,
55 void GenerateProbe(MacroAssembler* masm, Code::Flags flags, bool leave_frame,
108 static int PrimaryOffset(Name* name, Code::Flags flags, Map* map) {
121 (static_cast<uint32_t>(flags) & ~Code::kFlagsNotUsedInLookup);
130 static int SecondaryOffset(Name* name, Code
[all...]
H A Dhandler-compiler.cc16 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name,
18 Code::Kind kind,
20 Code::StubType type) {
21 Code::Flags flags = Code::ComputeHandlerFlags(kind, type, cache_holder);
23 if (probe->IsCode()) return handle(Code::cast(probe));
24 return Handle<Code>::null();
28 Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent(
36 return Handle<Code>();
61 Handle<Code> handle
[all...]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
H A DDecoder.java13 int Code; field in class:Decoder
29 Code = 0;
32 Code = (Code << 8) | Stream.read();
41 int t = ((Code - Range) >>> 31);
42 Code -= Range & (t - 1);
47 Code = (Code << 8) | Stream.read();
58 if ((Code ^ 0x80000000) < (newBound ^ 0x80000000))
64 Code
[all...]
/external/proguard/examples/dictionaries/
H A Dcompact.txt9 Code
/external/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp22 void expectRewritten(const std::string &Code, argument
30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code))
31 << "Parsing error in \"" << Code << "\"";
33 FileID ID = Context.createInMemoryFile("input.cc", Code);
40 std::string Code = "void f() { int i = 1; }"; local
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
47 std::string Code = "#define A void f() { int i = 1; }\nA"; local
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback);
54 std::string Code = "#define A void f() { int i = 1; }"; local
57 expectRewritten(Code, Expecte
61 std::string Code = "void f() { int i = 1; }"; local
69 std::string Code = "void f() { int i = false ? 1 : i * 2; }"; local
80 std::string Code = "bool a; void f() { if (a) f(); else a = true; }"; local
91 std::string Code = "void f() { if (false) int i = 0; }"; local
[all...]
/external/clang/unittests/Format/
H A DFormatTestProto.cpp22 static std::string format(llvm::StringRef Code, unsigned Offset, argument
25 DEBUG(llvm::errs() << Code << "\n\n");
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges);
28 std::string Result = applyAllReplacements(Code, Replaces);
34 static std::string format(llvm::StringRef Code) { argument
37 return format(Code, 0, Code.size(), Style);
40 static void verifyFormat(llvm::StringRef Code) { argument
41 EXPECT_EQ(Code.str(), format(test::messUp(Code)));
[all...]
/external/clang/unittests/ASTMatchers/
H A DASTMatchersTest.h63 const std::string &Code, const T &AMatcher, bool ExpectMatch,
82 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, Filename,
84 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
94 << "Could not find match in \"" << Code << "\"";
97 << "Found unexpected match in \"" << Code << "\"";
103 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { argument
104 return matchesConditionally(Code, AMatcher, true, "-std=c++11");
108 testing::AssertionResult notMatches(const std::string &Code, argument
110 return matchesConditionally(Code, AMatcher, false, "-std=c++11");
114 testing::AssertionResult matchesObjC(const std::string &Code, argument
62 matchesConditionally( const std::string &Code, const T &AMatcher, bool ExpectMatch, llvm::StringRef CompileArg, const FileContentMappings &VirtualMappedFiles = FileContentMappings(), const std::string &Filename = �) argument
122 notMatchesObjC(const std::string &Code, const T &AMatcher) argument
133 matchesConditionallyWithCuda( const std::string &Code, const T &AMatcher, bool ExpectMatch, llvm::StringRef CompileArg) argument
188 matchesWithCuda(const std::string &Code, const T &AMatcher) argument
194 notMatchesWithCuda(const std::string &Code, const T &AMatcher) argument
201 matchAndVerifyResultConditionally(const std::string &Code, const T &AMatcher, BoundNodesCallback *FindResultVerifier, bool ExpectResult) argument
245 matchAndVerifyResultTrue(const std::string &Code, const T &AMatcher, BoundNodesCallback *FindResultVerifier) argument
253 matchAndVerifyResultFalse(const std::string &Code, const T &AMatcher, BoundNodesCallback *FindResultVerifier) argument
[all...]
/external/llvm/autoconf/m4/
H A Dconfig_project.m46 AS_HELP_STRING([--with-llvmsrc],[Location of LLVM Source Code]),
10 AS_HELP_STRING([--with-llvmobj],[Location of LLVM Object Code]),
/external/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoder.cs126 public uint Code; field in class:SevenZip.Compression.RangeCoder.Decoder
135 Code = 0;
138 Code = (Code << 8) | (byte)Stream.ReadByte();
156 Code = (Code << 8) | (byte)Stream.ReadByte();
165 Code = (Code << 8) | (byte)Stream.ReadByte();
172 return Code / (Range /= total);
177 Code
[all...]
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DLocal.java25 private final Code code;
30 private Local(Code code, TypeId<T> type) {
35 static <T> Local<T> get(Code code, TypeId<T> type) {
/external/lzma/CPP/7zip/Compress/
H A DRangeCoder.h114 UInt32 Code; member in class:NCompress::NRangeCoder::CDecoder
121 Code = (Code << 8) | Stream.ReadByte();
130 Code = 0;
133 Code = (Code << 8) | Stream.ReadByte();
140 return (Code) / ( Range /= total);
145 Code -= start * Range;
153 UInt32 code = Code;
177 Code
[all...]
/external/v8/src/compiler/
H A Dpipeline.h30 Handle<Code> GenerateCode();
34 Handle<Code> GenerateCodeForMachineGraph(Linkage* linkage, Graph* graph,
52 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule,
/external/v8/src/
H A Dgdb-jit.h35 Handle<Code> code,
41 static void AddCode(const char* name, Code* code, CodeTag tag, Script* script,
44 static void RemoveCode(Code* code);
H A Dtype-info.cc22 Handle<Code> code, Handle<TypeFeedbackVector> feedback_vector,
69 Handle<Code> code = Handle<Code>::cast(maybe_code);
79 Handle<Code> code = Handle<Code>::cast(maybe_code);
87 Handle<Code> code = Handle<Code>::cast(maybe_code);
122 Handle<Code> code = Handle<Code>::cast(maybe_code);
123 if (code->kind() == Code
[all...]
H A Dperf-jit.h53 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared) {}
58 virtual void LogRecordedBuffer(Code* code, SharedFunctionInfo* shared,
105 virtual void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared) {
111 virtual void LogRecordedBuffer(Code* code, SharedFunctionInfo* shared,
/external/clang/unittests/AST/
H A DStmtPrinterTest.cpp70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, argument
79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args))
81 << "Parsing error in \"" << Code.str() << "\"";
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, argument
106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted);
110 StringRef Code,
116 return PrintedStmtMatches(Code,
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, argument
129 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted);
133 StringRef Code,
109 PrintedStmtCXX98Matches( StringRef Code, StringRef ContainingFunction, StringRef ExpectedPrinted) argument
132 PrintedStmtMSMatches( StringRef Code, StringRef ContainingFunction, StringRef ExpectedPrinted) argument
[all...]
H A DNamedDeclPrinterTest.cpp64 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args, argument
74 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName))
76 << "Parsing error in \"" << Code.str() << "\"";
96 PrintedNamedDeclCXX98Matches(StringRef Code, StringRef DeclName, argument
99 return PrintedNamedDeclMatches(Code,
108 PrintedWrittenNamedDeclCXX11Matches(StringRef Code, StringRef DeclName, argument
111 return PrintedNamedDeclMatches(Code,
/external/llvm/include/llvm/Transforms/Utils/
H A DCmpInstAnalysis.h56 Value *getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS,

Completed in 556 milliseconds

1234567891011>>