/external/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 | 423 auto *CastInstr = llvm::cast<InstCast>(Instr); in genTargetHelperCallFor() 424 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() 438 Context.insert<InstCast>(CastKind, Dst, Op); in genTargetHelperCallFor() 450 case InstCast::Fptosi: in genTargetHelperCallFor() 451 case InstCast::Fptoui: { in genTargetHelperCallFor() 456 const bool DestIsSigned = CastKind == InstCast::Fptosi; in genTargetHelperCallFor() 479 case InstCast::Sitofp: in genTargetHelperCallFor() 480 case InstCast::Uitofp: { in genTargetHelperCallFor() 485 const bool SourceIsSigned = CastKind == InstCast::Sitofp; in genTargetHelperCallFor() 508 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 | 511 InstCast::OpKind CastKind; in genTargetHelperCallFor() 518 CastKind = InstCast::Zext; in genTargetHelperCallFor() 522 CastKind = InstCast::Sext; in genTargetHelperCallFor() 526 CastKind = InstCast::Zext; in genTargetHelperCallFor() 530 CastKind = InstCast::Sext; in genTargetHelperCallFor() 546 Context.insert<InstCast>(CastKind, Src0_32, Src0); in genTargetHelperCallFor() 556 if (CastKind == InstCast::Zext) { in genTargetHelperCallFor() 564 Context.insert<InstCast>(CastKind, Src1_32, Src1); in genTargetHelperCallFor() 604 auto *CastInstr = llvm::cast<InstCast>(Instr); in genTargetHelperCallFor() 605 const InstCast::OpKind CastKind = CastInstr->getCastKind(); in genTargetHelperCallFor() [all …]
|
D | IceInst.h | 473 class InstCast : public InstHighLevel { 474 InstCast() = delete; 475 InstCast(const InstCast &) = delete; 476 InstCast &operator=(const InstCast &) = delete; 488 static InstCast *create(Cfg *Func, OpKind CastKind, Variable *Dest, in create() 490 return new (Func->allocate<InstCast>()) in create() 491 InstCast(Func, CastKind, Dest, Source); in create() 499 InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source);
|
D | IceTargetLoweringX86BaseImpl.h | 201 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { 205 case InstCast::Trunc: 221 if (auto *Cast = llvm::dyn_cast<InstCast>(Instr)) { 225 case InstCast::Sext: 227 case InstCast::Zext: 884 } else if (auto *Cast = llvm::dyn_cast<InstCast>(Next)) { 888 NewInst = InstCast::create(Func, Cast->getCastKind(), 2884 void TargetX86Base<TraitsType>::lowerCast(const InstCast *Instr) { 2886 InstCast::OpKind CastKind = Instr->getCastKind(); 2893 case InstCast::Sext: { [all …]
|
D | IceInstrumentation.h | 63 virtual void instrumentCast(LoweringContext &, class InstCast *) {} in instrumentCast() argument
|
D | IceInst.cpp | 349 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast() function in Ice::InstCast 787 const char *InstCast::getCastName(InstCast::OpKind Kind) { in getCastName() 788 if (Kind < InstCast::OpKind::_num) in getCastName() 794 void InstCast::dump(const Cfg *Func) const { in dump()
|
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 | 399 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 | 420 lowerCast(llvm::cast<InstCast>(Instr)); in lower()
|
D | IceTargetLoweringMIPS32.h | 773 void lowerCast(const InstCast *Instr) override;
|
D | IceTargetLoweringARM32.h | 218 void lowerCast(const InstCast *Instr) override;
|
D | IceTargetLoweringX86Base.h | 272 void lowerCast(const InstCast *Instr) override;
|
/external/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 180 Ice::InstCast *cast = Ice::InstCast::create(function, Ice::InstCast::Trunc, to, from); in createTruncate() 1417 …auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, result, vector.loadValue(… in createLoad() 1432 …auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, result, vector.loadValue(… in createLoad() 1482 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, vector, value); in createStore() 1495 auto bitcast = Ice::InstCast::create(::function, Ice::InstCast::Bitcast, vector, value); in createStore() 1639 static Value *createCast(Ice::InstCast::OpKind op, Value *v, Type *destType) in createCast() 1647 Ice::InstCast *cast = Ice::InstCast::create(::function, op, result, v); in createCast() 1656 return createCast(Ice::InstCast::Trunc, v, destType); in createTrunc() 1662 return createCast(Ice::InstCast::Zext, v, destType); in createZExt() 1668 return createCast(Ice::InstCast::Sext, v, destType); in createSExt() [all …]
|