/external/swiftshader/third_party/subzero/src/ |
WasmTranslator.cpp | 549 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); 559 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); 569 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); 579 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); 589 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)) [all...] |
IceInstrumentation.h | 63 virtual void instrumentCast(LoweringContext &, class InstCast *) {}
|
IceTargetLoweringMIPS32.cpp | 423 auto *CastInstr = llvm::cast<InstCast>(Instr); 424 const InstCast::OpKind CastKind = CastInstr->getCastKind(); 438 Context.insert<InstCast>(CastKind, Dst, Op); 450 case InstCast::Fptosi: 451 case InstCast::Fptoui: { 456 const bool DestIsSigned = CastKind == InstCast::Fptosi; 479 case InstCast::Sitofp: 480 case InstCast::Uitofp: { 485 const bool SourceIsSigned = CastKind == InstCast::Sitofp; 508 case InstCast::Bitcast: [all...] |
IceConverter.cpp | 249 return convertCastInstruction(cast<ZExtInst>(Instr), Ice::InstCast::Zext); 251 return convertCastInstruction(cast<SExtInst>(Instr), Ice::InstCast::Sext); 254 Ice::InstCast::Trunc); 257 Ice::InstCast::Fptrunc); 260 Ice::InstCast::Fpext); 263 Ice::InstCast::Fptosi); 266 Ice::InstCast::Fptoui); 269 Ice::InstCast::Sitofp); 272 Ice::InstCast::Uitofp); 275 Ice::InstCast::Bitcast) [all...] |
IceInst.h | 466 class InstCast : public InstHighLevel { 467 InstCast() = delete; 468 InstCast(const InstCast &) = delete; 469 InstCast &operator=(const InstCast &) = delete; 481 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, 483 return new (Func->allocate<InstCast>()) 484 InstCast(Func, CastKind, Dest, Source); 492 InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) [all...] |
IceInstrumentation.cpp | 76 instrumentCast(Context, llvm::cast<InstCast>(Instr));
|
IceTargetLoweringARM32.cpp | 512 InstCast::OpKind CastKind; 519 CastKind = InstCast::Zext; 523 CastKind = InstCast::Sext; 527 CastKind = InstCast::Zext; 531 CastKind = InstCast::Sext; 545 // we just insert a InstCast right before the call to the helper. 547 Context.insert<InstCast>(CastKind, Src0_32, Src0); 550 // For extending Src1, we will just insert an InstCast if Src1 is not a 557 if (CastKind == InstCast::Zext) { 565 Context.insert<InstCast>(CastKind, Src1_32, Src1) [all...] |
IceTargetLoweringX86BaseImpl.h | 188 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { 192 case InstCast::Trunc: 208 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { 212 case InstCast::Sext: 214 case InstCast::Zext: 882 } else if (auto *Cast = llvm::dyn_cast<InstCast>(Next)) { 886 NewInst = InstCast::create(Func, Cast->getCastKind(), [all...] |
IceInst.cpp | 357 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) 795 const char *InstCast::getCastName(InstCast::OpKind Kind) { 796 if (Kind < InstCast::OpKind::_num) 798 llvm_unreachable("Invalid InstCast::OpKind"); 802 void InstCast::dump(const Cfg *Func) const { [all...] |
PNaClTranslator.cpp | [all...] |
IceTargetLowering.h | 406 virtual void lowerCast(const InstCast *Instr) = 0;
|
IceCfg.cpp | [all...] |
IceTargetLowering.cpp | 433 lowerCast(llvm::cast<InstCast>(Instr)); [all...] |
IceTargetLoweringMIPS32.h | 773 void lowerCast(const InstCast *Instr) override; [all...] |
IceTargetLoweringARM32.h | 218 void lowerCast(const InstCast *Instr) override; [all...] |
IceTargetLoweringX86Base.h | 272 void lowerCast(const InstCast *Instr) override; [all...] |
/external/swiftshader/src/Reactor/ |
SubzeroReactor.cpp | 866 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, result, vector.loadValue()); 879 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, result, vector.loadValue()); 925 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, vector, value); 937 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, vector, value); 1013 static Value *createCast(Ice::InstCast::OpKind op, Value *v, Type *destType) 1021 Ice::InstCast *cast = Ice::InstCast::create(::function, op, result, v) [all...] |