Home
last modified time | relevance | path

Searched refs:Ice (Results 1 – 25 of 158) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DOptimizer.cpp33 void run(Ice::Cfg *function);
36 void analyzeUses(Ice::Cfg *function);
44 void replace(Ice::Inst *instruction, Ice::Operand *newValue);
45 void deleteInstruction(Ice::Inst *instruction);
46 bool isDead(Ice::Inst *instruction);
47 bool isStaticallyIndexedArray(Ice::Operand *allocaAddress);
48 Ice::InstAlloca *allocaOf(Ice::Operand *address);
50 static const Ice::InstIntrinsic *asLoadSubVector(const Ice::Inst *instruction);
51 static const Ice::InstIntrinsic *asStoreSubVector(const Ice::Inst *instruction);
52 static bool isLoad(const Ice::Inst &instruction);
[all …]
DSubzeroReactor.cpp64 Ice::Cfg *createFunction(Ice::GlobalContext *context, Ice::Type returnType, const std::vector<Ice::… in createFunction()
67 auto *function = Ice::Cfg::create(context, sequenceNumber).release(); in createFunction()
71 Ice::CfgLocalAllocatorScope allocScope{ function }; in createFunction()
75 Ice::Variable *arg = function->makeVariable(type); in createFunction()
79 Ice::CfgNode *node = function->makeNode(); in createFunction()
85 Ice::Type getPointerType(Ice::Type elementType) in getPointerType()
89 return Ice::IceType_i64; in getPointerType()
93 return Ice::IceType_i32; in getPointerType()
97 Ice::Variable *allocateStackVariable(Ice::Cfg *function, Ice::Type type, int arraySize = 0) in allocateStackVariable()
99 int typeSize = Ice::typeWidthInBytes(type); in allocateStackVariable()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceConverter.cpp71 explicit LLVM2ICEConverter(Ice::Converter &Converter) in LLVM2ICEConverter()
75 Ice::Converter &getConverter() const { return Converter; } in getConverter()
78 Ice::Converter &Converter;
79 Ice::GlobalContext *Ctx;
80 const Ice::TypeConverter TypeConverter;
95 explicit LLVM2ICEFunctionConverter(Ice::Converter &Converter) in LLVM2ICEFunctionConverter()
99 Func = Ice::Cfg::create(Ctx, Converter.getNextSequenceNumber()); in convertFunction()
101 Ice::CfgLocalAllocatorScope _(Func.get()); in convertFunction()
106 Ctx->getGlobalString(Ice::mangleName(F->getName()))); in convertFunction()
109 Ice::TimerMarker T(Ice::TimerStack::TT_llvmConvert, Func.get()); in convertFunction()
[all …]
DPNaClTranslator.cpp79 void dump(Ice::Ostream &Stream) const;
82 void setAsSimpleType(Ice::Type Ty) { in setAsSimpleType()
97 Ice::FuncSigType Signature;
103 Ice::Ostream &operator<<(Ice::Ostream &Stream, const ExtendedType &Ty) { in operator <<()
104 if (!Ice::BuildDefs::dump()) in operator <<()
110 Ice::Ostream &operator<<(Ice::Ostream &Stream, ExtendedType::TypeKind Kind) { in operator <<()
111 if (!Ice::BuildDefs::dump()) in operator <<()
135 Ice::Type getType() const { return Signature.getReturnType(); } in getType()
149 const Ice::FuncSigType &getSignature() const { return Signature; } in getSignature()
150 void setReturnType(Ice::Type ReturnType) { in setReturnType()
[all …]
DIceClFlags.def18 namespace Ice {
42 X(OptLevel, Ice::OptLevel, release_opt_flag, cl::desc("Optimization level"), \
43 cl::init(Ice::Opt_m1), cl::value_desc("level"), \
44 cl::values(clEnumValN(Ice::Opt_m1, "Om1", "-1"), \
45 clEnumValN(Ice::Opt_m1, "O-1", "-1"), \
46 clEnumValN(Ice::Opt_0, "O0", "0"), \
47 clEnumValN(Ice::Opt_1, "O1", "1"), \
48 clEnumValN(Ice::Opt_2, "O2", "2") CLENUMVALEND)) \
54 X(TargetArch, Ice::TargetArch, release_opt_flag, "target", \
55 cl::desc("Target architecture:"), cl::init(Ice::Target_X8632), \
[all …]
DIceGlobalInits.cpp28 void dumpLinkage(Ice::Ostream &Stream, in dumpLinkage()
30 if (!Ice::BuildDefs::dump()) in dumpLinkage()
48 void dumpCallingConv(Ice::Ostream &, llvm::CallingConv::ID CallingConv) { in dumpCallingConv()
49 if (!Ice::BuildDefs::dump()) in dumpCallingConv()
61 namespace Ice { namespace
81 if (!Ice::BuildDefs::dump()) in dumpType()
87 if (!Ice::BuildDefs::dump()) in dump()
106 if (!Ice::BuildDefs::dump()) in dumpType()
126 if (!Ice::BuildDefs::dump()) in dump()
157 if (!Ice::BuildDefs::dump()) in dumpType()
[all …]
DIceClFlags.cpp98 struct cl_type_traits<T, ::Ice::cl_detail::dev_list_flag> {
102 template <typename T> struct cl_type_traits<T, ::Ice::cl_detail::dev_opt_flag> {
107 struct cl_type_traits<T, ::Ice::cl_detail::release_opt_flag> {
112 cl_type_traits<Type, Ice::cl_detail::ClType>::cl_type Name##Obj(__VA_ARGS__);
125 namespace Ice { namespace
182 template <> struct ToSetterParam<cl::list<Ice::VerboseItem>> {
183 using ReturnType = Ice::VerboseMask;
196 ToSetterParam<cl::list<Ice::VerboseItem>>::ReturnType
197 toSetterParam(const cl::list<Ice::VerboseItem> &Param) { in toSetterParam()
198 Ice::VerboseMask VMask = Ice::IceV_None; in toSetterParam()
[all …]
DIceRegistersX8632.h27 namespace Ice {
28 using namespace ::Ice::X86;
253 initRegisterSet(const ::Ice::ClFlags & /*Flags*/, in initRegisterSet()
343 getRegisterSet(const ::Ice::ClFlags & /*Flags*/, in getRegisterSet()
351 if (scratch && (Include & ::Ice::TargetLowering::RegSet_CallerSave)) \ in getRegisterSet()
353 if (preserved && (Include & ::Ice::TargetLowering::RegSet_CalleeSave)) \ in getRegisterSet()
355 if (stackptr && (Include & ::Ice::TargetLowering::RegSet_StackPointer)) \ in getRegisterSet()
357 if (frameptr && (Include & ::Ice::TargetLowering::RegSet_FramePointer)) \ in getRegisterSet()
359 if (scratch && (Exclude & ::Ice::TargetLowering::RegSet_CallerSave)) \ in getRegisterSet()
361 if (preserved && (Exclude & ::Ice::TargetLowering::RegSet_CalleeSave)) \ in getRegisterSet()
[all …]
DIceCompileServer.cpp47 namespace Ice { namespace
194 Ice::LinuxMallocProfiling _(Flags.getNumTranslationThreads(), Ls.get()); in run()
202 return transferErrorCode(getReturnValue(Ice::EC_Args)); in run()
210 return transferErrorCode(getReturnValue(Ice::EC_Args)); in run()
225 return transferErrorCode(getReturnValue(Ice::EC_Args)); in run()
244 return transferErrorCode(getReturnValue(Ice::EC_Bitcode)); in run()
249 return transferErrorCode(getReturnValue(Ice::EC_None)); in run()
Dmain.cpp42 if (Ice::BuildDefs::browser()) { in main()
44 return Ice::BrowserCompileServer().runAndReturnErrorCode(); in main()
46 return Ice::CLCompileServer(argc, argv).runAndReturnErrorCode(); in main()
DIceCompiler.cpp49 namespace Ice { namespace
65 void Compiler::run(const Ice::ClFlags &Flags, GlobalContext &Ctx, in run()
77 TimerMarker T(Ice::TimerStack::TT_szmain, &Ctx); in run()
127 TimerMarker T1(Ice::TimerStack::TT_parse, &Ctx); in run()
169 TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx); in run()
DIceStringPool.h27 namespace Ice {
169 template <typename T> struct hash<Ice::StringID<T>> {
170 size_t operator()(const Ice::StringID<T> &Key) const {
173 return hash<Ice::StringPool::IDType>()(Key.getID());
DIceTargetLowering.cpp53 std::unique_ptr<::Ice::TargetLowering> \
54 createTargetLowering(::Ice::Cfg *Func); \
55 std::unique_ptr<::Ice::TargetDataLowering> \
56 createTargetDataLowering(::Ice::GlobalContext *Ctx); \
57 std::unique_ptr<::Ice::TargetHeaderLowering> \
58 createTargetHeaderLowering(::Ice::GlobalContext *Ctx); \
59 void staticInit(::Ice::GlobalContext *Ctx); \
60 bool shouldBePooled(const ::Ice::Constant *C); \
61 ::Ice::Type getPointerType(); \
66 namespace Ice { namespace
[all …]
DIceInst.h35 namespace Ice {
1139 struct ilist_traits<Ice::Inst> : public ilist_default_traits<Ice::Inst> {
1140 Ice::Inst *createSentinel() const {
1141 return static_cast<Ice::Inst *>(&Sentinel);
1143 static void destroySentinel(Ice::Inst *) {}
1144 Ice::Inst *provideInitialHead() const { return createSentinel(); }
1145 Ice::Inst *ensureHead(Ice::Inst *) const { return createSentinel(); }
1146 static void noteHead(Ice::Inst *, Ice::Inst *) {}
1147 void deleteNode(Ice::Inst *) {}
1150 mutable ilist_half_node<Ice::Inst> Sentinel;
[all …]
DIceClFlags.h53 namespace Ice {
67 template <> struct cl_type_traits<Ice::VerboseItem, cl_detail::dev_list_flag> {
68 using storage_type = Ice::VerboseMask;
DLinuxMallocProfiling.cpp65 namespace Ice { namespace
100 namespace Ice { namespace
DIceTranslator.h28 namespace Ice {
88 std::unique_ptr<Ice::Cfg> Func;
DIceIntrinsics.h22 namespace Ice {
147 ValidateIntrinsicValue validateIntrinsic(const Ice::InstIntrinsic *Intrinsic,
DIceTypeConverter.cpp20 namespace Ice { namespace
56 return Ice::IceType_NUM; in convertToIceTypeOther()
DIceTargetLoweringX86.h24 namespace Ice {
35 class TargetX86 : public ::Ice::TargetLowering {
DIceRegistersX8664.h27 namespace Ice {
28 using namespace ::Ice::X86;
240 initRegisterSet(const ::Ice::ClFlags &Flags, in initRegisterSet()
303 for (Ice::SizeT J = 0; J < Entry.NumAliases; ++J) { in initRegisterSet()
347 getRegisterSet(const ::Ice::ClFlags &Flags, in getRegisterSet()
DIceAssemblerX8632.h34 namespace Ice {
39 using RegisterSet = ::Ice::RegX8632;
156 AsmAddress(const X86OperandMem *Mem, Ice::Assembler *Asm,
157 const Ice::TargetLowering *Target);
161 AsmAddress(const Constant *Imm, Ice::Assembler *Asm) { in AsmAddress()
235 class AssemblerX8632 : public ::Ice::Assembler {
279 class Label final : public Ice::Label {
288 Ice::Label::finalCheck(); in finalCheck()
303 return Ice::Label::isUnused() && !hasNear(); in isUnused()
345 Ice::Label *getCfgNodeLabel(SizeT NodeNumber) override;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/
DBitcodeMunge.cpp23 Ice::ClFlags::Flags.setAllowErrorRecovery(true); in resetMungeFlags()
24 Ice::ClFlags::Flags.setDisableTranslation(false); in resetMungeFlags()
25 Ice::ClFlags::Flags.setGenerateUnitTestMessages(true); in resetMungeFlags()
26 Ice::ClFlags::Flags.setOptLevel(Ice::Opt_m1); in resetMungeFlags()
27 Ice::ClFlags::Flags.setOutFileType(Ice::FT_Iasm); in resetMungeFlags()
28 Ice::ClFlags::Flags.setTargetArch(Ice::Target_X8632); in resetMungeFlags()
29 Ice::ClFlags::Flags.setNumTranslationThreads(0); in resetMungeFlags()
30 Ice::ClFlags::Flags.setParseParallel(false); in resetMungeFlags()
38 Ice::GlobalContext Ctx(DumpStream, DumpStream, DumpStream, nullptr); in runTest()
40 Ice::PNaClTranslator Translator(&Ctx); in runTest()
[all …]
/third_party/typescript/tests/baselines/reference/
DobjectCreationOfElementAccessExpression.types76 super("Ice Cream", flavor);
77 >super("Ice Cream", flavor) : void
79 >"Ice Cream" : "Ice Cream"
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/material/
Ddata_table_demo.dart27 Dessert('Ice cream sandwich', 237, 9.0, 37, 4.3, 129, 8, 1),
38 Dessert('Ice cream sandwich with sugar', 246, 9.0, 39, 4.3, 129, 8, 1),
49 Dessert('Ice cream sandwich with honey', 301, 9.0, 49, 4.3, 129, 8, 1),
60 Dessert('Ice cream sandwich with milk', 339, 11.4, 49, 12.3, 236, 38, 1),

1234567