/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | WasmTranslator.cpp | 549 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 559 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 569 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 579 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 589 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 599 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 609 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 619 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 629 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() 639 InstCast::create(Func, InstCast::Zext, Dest, TmpDest)); in Binop() [all …]
|
D | IceTargetLoweringMIPS32.cpp | 421 auto *CastInstr = llvm::cast<InstCast>(Instr); in genTargetHelperCallFor() 422 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() 436 Context.insert<InstCast>(CastKind, Dst, Op); in genTargetHelperCallFor() 448 case InstCast::Fptosi: in genTargetHelperCallFor() 449 case InstCast::Fptoui: { in genTargetHelperCallFor() 454 const bool DestIsSigned = CastKind == InstCast::Fptosi; in genTargetHelperCallFor() 477 case InstCast::Sitofp: in genTargetHelperCallFor() 478 case InstCast::Uitofp: { in genTargetHelperCallFor() 483 const bool SourceIsSigned = CastKind == InstCast::Sitofp; in genTargetHelperCallFor() 506 case InstCast::Bitcast: { in genTargetHelperCallFor() [all …]
|
D | IceConverter.cpp | 249 return convertCastInstruction(cast<ZExtInst>(Instr), Ice::InstCast::Zext); in convertInstruction() 251 return convertCastInstruction(cast<SExtInst>(Instr), Ice::InstCast::Sext); in convertInstruction() 254 Ice::InstCast::Trunc); in convertInstruction() 257 Ice::InstCast::Fptrunc); in convertInstruction() 260 Ice::InstCast::Fpext); in convertInstruction() 263 Ice::InstCast::Fptosi); in convertInstruction() 266 Ice::InstCast::Fptoui); in convertInstruction() 269 Ice::InstCast::Sitofp); in convertInstruction() 272 Ice::InstCast::Uitofp); in convertInstruction() 275 Ice::InstCast::Bitcast); in convertInstruction() [all …]
|
D | IceTargetLoweringARM32.cpp | 502 InstCast::OpKind CastKind; in genTargetHelperCallFor() 509 CastKind = InstCast::Zext; in genTargetHelperCallFor() 513 CastKind = InstCast::Sext; in genTargetHelperCallFor() 517 CastKind = InstCast::Zext; in genTargetHelperCallFor() 521 CastKind = InstCast::Sext; in genTargetHelperCallFor() 537 Context.insert<InstCast>(CastKind, Src0_32, Src0); in genTargetHelperCallFor() 547 if (CastKind == InstCast::Zext) { in genTargetHelperCallFor() 555 Context.insert<InstCast>(CastKind, Src1_32, Src1); in genTargetHelperCallFor() 595 auto *CastInstr = llvm::cast<InstCast>(Instr); in genTargetHelperCallFor() 596 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() [all …]
|
D | IceInst.h | 471 class InstCast : public InstHighLevel { 472 InstCast() = delete; 473 InstCast(const InstCast &) = delete; 474 InstCast &operator=(const InstCast &) = delete; 486 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create() 488 return new (Func->allocate<InstCast>()) in create() 489 InstCast(Func, CastKind, Dest, Source); in create() 497 InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source);
|
D | IceTargetLoweringX8632.cpp | 109 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { in getProducerKind() 113 case InstCast::Trunc: in getProducerKind() 128 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { in getConsumerKind() 132 case InstCast::Sext: in getConsumerKind() 134 case InstCast::Zext: in getConsumerKind() 737 } else if (auto *Cast = llvm::dyn_cast<InstCast>(Next)) { in doLoadOpt() 741 NewInst = InstCast::create(Func, Cast->getCastKind(), in doLoadOpt() 2596 void TargetX8632::lowerCast(const InstCast *Instr) { in lowerCast() 2598 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast() 2605 case InstCast::Sext: { in lowerCast() [all …]
|
D | IceTargetLoweringX8664.cpp | 118 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { in getProducerKind() 122 case InstCast::Trunc: in getProducerKind() 137 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { in getConsumerKind() 141 case InstCast::Sext: in getConsumerKind() 143 case InstCast::Zext: in getConsumerKind() 747 } else if (auto *Cast = llvm::dyn_cast<InstCast>(Next)) { in doLoadOpt() 751 NewInst = InstCast::create(Func, Cast->getCastKind(), in doLoadOpt() 2380 void TargetX8664::lowerCast(const InstCast *Instr) { in lowerCast() 2382 InstCast::OpKind CastKind = Instr->getCastKind(); in lowerCast() 2389 case InstCast::Sext: { in lowerCast() [all …]
|
D | IceInst.cpp | 347 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast() function in Ice::InstCast 778 const char *InstCast::getCastName(InstCast::OpKind Kind) { in getCastName() 779 if (Kind < InstCast::OpKind::_num) in getCastName() 785 void InstCast::dump(const Cfg *Func) const { in dump()
|
D | IceInstrumentation.h | 63 virtual void instrumentCast(LoweringContext &, class InstCast *) {} in instrumentCast() argument
|
D | PNaClTranslator.cpp | 1916 Ice::InstCast::OpKind &CastKind) { in convertCastOpToIceOp() 1924 CastKind = Ice::InstCast::Bitcast; in convertCastOpToIceOp() 1928 CastKind = Ice::InstCast::Trunc; in convertCastOpToIceOp() 1932 CastKind = Ice::InstCast::Zext; in convertCastOpToIceOp() 1936 CastKind = Ice::InstCast::Sext; in convertCastOpToIceOp() 1940 CastKind = Ice::InstCast::Fptoui; in convertCastOpToIceOp() 1944 CastKind = Ice::InstCast::Fptosi; in convertCastOpToIceOp() 1948 CastKind = Ice::InstCast::Uitofp; in convertCastOpToIceOp() 1952 CastKind = Ice::InstCast::Sitofp; in convertCastOpToIceOp() 1956 CastKind = Ice::InstCast::Fptrunc; in convertCastOpToIceOp() [all …]
|
D | IceInstrumentation.cpp | 76 instrumentCast(Context, llvm::cast<InstCast>(Instr)); in instrumentInst()
|
D | IceTargetLowering.h | 364 virtual void lowerCast(const InstCast *Instr) = 0;
|
D | IceCfg.cpp | 1062 auto *Cast = llvm::dyn_cast<InstCast>(Instr); in rematerializeCast() 1063 if (Cast == nullptr || Cast->getCastKind() != InstCast::Bitcast) in rematerializeCast()
|
D | IceTargetLowering.cpp | 389 lowerCast(llvm::cast<InstCast>(Instr)); in lower()
|
D | IceTargetLoweringMIPS32.h | 741 void lowerCast(const InstCast *Instr) override;
|
D | IceTargetLoweringX8632.h | 269 void lowerCast(const InstCast *Instr) override;
|
D | IceTargetLoweringX8664.h | 265 void lowerCast(const InstCast *Instr) override;
|
D | IceTargetLoweringARM32.h | 217 void lowerCast(const InstCast *Instr) override;
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 180 Ice::InstCast *cast = Ice::InstCast::create(function, Ice::InstCast::Trunc, to, from); in createTruncate() 1416 …auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, result, vector.loadValue(… in createLoad() 1431 …auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, result, vector.loadValue(… in createLoad() 1481 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, vector, value); in createStore() 1494 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, vector, value); in createStore() 1638 static Value *createCast(Ice::InstCast::OpKind op, Value *v, Type *destType) in createCast() 1646 Ice::InstCast *cast = Ice::InstCast::create(::function, op, result, v); in createCast() 1655 return createCast(Ice::InstCast::Trunc, v, destType); in createTrunc() 1661 return createCast(Ice::InstCast::Zext, v, destType); in createZExt() 1667 return createCast(Ice::InstCast::Sext, v, destType); in createSExt() [all …]
|