/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Optimizer.cpp | 33 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 [all...] |
H A D | SubzeroReactor.cpp | 60 // These functions only accept and return Subzero (Ice) types, and do not access any globals. 64 Ice::Cfg *createFunction(Ice::GlobalContext *context, Ice::Type returnType, const std::vector<Ice::Type> ¶mTypes) 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 [all...] |
H A D | Optimizer.hpp | 24 void optimize(Ice::Cfg *function, Nucleus::OptimizerReport *report = nullptr);
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceConverter.cpp | 1 //===- subzero/src/IceConverter.cpp - Converts LLVM to Ice ---------------===// 71 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 in convertFunction() 809 namespace Ice { global() namespace [all...] |
H A D | PNaClTranslator.cpp | 79 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 3261 namespace Ice { global() namespace [all...] |
H A D | IceGlobalInits.cpp | 28 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 in dumpType() [all...] |
H A D | IceClFlags.cpp | 11 /// \brief Defines commandline flags parsing of class Ice::ClFlags. 98 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 [all...] |
H A D | IceRegistersX8632.h | 27 namespace Ice { namespace 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 in getRegisterSet() [all...] |
H A D | main.cpp | 25 /// standalone, we will end up creating a Ice::BrowserCompileServer or 26 /// Ice::CLCompileServer object. Method 27 /// Ice::CompileServer::runAndReturnErrorCode is used for the invocation. 30 /// We can only compile the Ice::BrowserCompileServer object with the PNaCl 42 if (Ice::BuildDefs::browser()) { in main() 44 return Ice::BrowserCompileServer().runAndReturnErrorCode(); in main() 46 return Ice::CLCompileServer(argc, argv).runAndReturnErrorCode(); in main()
|
H A D | IceCompiler.cpp | 49 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() 123 // Ice. in run() 127 TimerMarker T1(Ice::TimerStack::TT_parse, &Ctx); in run() 169 TimerMarker T1(Ice::TimerStack::TT_emitAsm, &Ctx); in run() 186 } // end of namespace Ice
|
H A D | IceCompileServer.cpp | 47 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() 274 } // end of namespace Ice
|
H A D | IceStringPool.h | 27 namespace Ice { namespace 166 } // end of namespace Ice 169 template <typename T> struct hash<Ice::StringID<T>> { 170 size_t operator()(const Ice::StringID<T> &Key) const { in operator ()() 173 return hash<Ice::StringPool::IDType>()(Key.getID()); in operator ()()
|
H A D | IceInst.h | 35 namespace Ice { namespace 179 // fixed. llvm::ilist<Ice::Inst> doesn't work under g++ because the 180 // resize(size_t, Ice::Inst) method is incorrectly declared and thus doesn't 181 // allow the abstract class Ice::Inst. The method should be declared 182 // resize(size_t, const Ice::Inst &). virtual void emit(const Cfg *Func) 1131 } // end of namespace Ice 1139 struct ilist_traits<Ice::Inst> : public ilist_default_traits<Ice::Inst> { 1140 Ice::Inst *createSentinel() const { in createSentinel() 1141 return static_cast<Ice in createSentinel() 1156 namespace Ice { global() namespace [all...] |
H A D | LinuxMallocProfiling.cpp | 65 namespace Ice { namespace 96 } // end of namespace Ice 100 namespace Ice { 108 } // end of namespace Ice
|
H A D | IceClFlags.h | 11 /// \brief Declares Ice::ClFlags which implements command line processing. 53 namespace Ice { namespace 66 // cl_type_traits specialized cl::list<Ice::VerboseItem>, non-MINIMAL build. 67 template <> struct cl_type_traits<Ice::VerboseItem, cl_detail::dev_list_flag> { 68 using storage_type = Ice::VerboseMask; 201 } // end of namespace Ice
|
H A D | IceIntrinsics.h | 1 //===- subzero/src/IceIntrinsics.h - List of Ice Intrinsics -----*- C++ -*-===// 22 namespace Ice { namespace 147 ValidateIntrinsicValue validateIntrinsic(const Ice::InstIntrinsic *Intrinsic, 168 } // end of namespace Ice
|
H A D | IceTranslator.h | 28 namespace Ice { namespace 88 std::unique_ptr<Ice::Cfg> Func; 91 } // end of namespace Ice
|
H A D | IceTypeConverter.cpp | 20 namespace Ice { namespace 56 return Ice::IceType_NUM; in convertToIceTypeOther() 60 } // namespace Ice
|
H A D | IceTargetLowering.cpp | 44 // unique_ptr<Ice::TargetLowering> createTargetLowering(Ice::Cfg *); 45 // unique_ptr<Ice::TargetDataLowering> 46 // createTargetDataLowering(Ice::GlobalContext*); 47 // unique_ptr<Ice::TargetHeaderLowering> 48 // createTargetHeaderLowering(Ice::GlobalContext *); 49 // void staticInit(::Ice::GlobalContext *); 53 std::unique_ptr<::Ice::TargetLowering> \ 54 createTargetLowering(::Ice::Cfg *Func); \ 55 std::unique_ptr<::Ice 66 namespace Ice { global() namespace [all...] |
H A D | IceRegistersX8664.h | 27 namespace Ice { namespace 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() 469 } // end of namespace Ice
|
H A D | IceTargetLoweringX86.h | 24 namespace Ice { namespace 35 class TargetX86 : public ::Ice::TargetLowering { 121 } // end of namespace Ice
|
H A D | IceRevision.h | 18 namespace Ice { namespace 30 } // end of namespace Ice
|
H A D | IceRevision.cpp | 23 namespace Ice { namespace 27 } // end of namespace Ice
|
H A D | IceVariableSplitting.h | 19 namespace Ice { namespace 23 } // end of namespace Ice
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/ |
H A D | BitcodeMunge.cpp | 23 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 in resetMungeFlags() [all...] |