HomeSort by relevance Sort by last modified time
    Searched refs:InstArithmetic (Results 1 - 21 of 21) sorted by null

  /external/swiftshader/third_party/subzero/src/
WasmTranslator.cpp 408 InstArithmetic::create(Func, InstArithmetic::Add, Dest, Left, Right));
412 Control()->appendInst(InstArithmetic::create(Func, InstArithmetic::Fadd,
418 InstArithmetic::create(Func, InstArithmetic::Sub, Dest, Left, Right));
422 Control()->appendInst(InstArithmetic::create(Func, InstArithmetic::Fsub,
428 InstArithmetic::create(Func, InstArithmetic::Mul, Dest, Left, Right))
    [all...]
IceTargetLoweringARM32.cpp 457 const InstArithmetic::OpKind Op =
458 llvm::cast<InstArithmetic>(Instr)->getOp();
463 case InstArithmetic::Fdiv:
464 case InstArithmetic::Frem:
465 case InstArithmetic::Sdiv:
466 case InstArithmetic::Srem:
467 case InstArithmetic::Udiv:
468 case InstArithmetic::Urem:
485 case InstArithmetic::Udiv:
488 case InstArithmetic::Sdiv
    [all...]
IceInstrumentation.h 59 virtual void instrumentArithmetic(LoweringContext &, class InstArithmetic *) {
IceConverter.cpp 277 return convertArithInstruction(Instr, Ice::InstArithmetic::Add);
279 return convertArithInstruction(Instr, Ice::InstArithmetic::Sub);
281 return convertArithInstruction(Instr, Ice::InstArithmetic::Mul);
283 return convertArithInstruction(Instr, Ice::InstArithmetic::Udiv);
285 return convertArithInstruction(Instr, Ice::InstArithmetic::Sdiv);
287 return convertArithInstruction(Instr, Ice::InstArithmetic::Urem);
289 return convertArithInstruction(Instr, Ice::InstArithmetic::Srem);
291 return convertArithInstruction(Instr, Ice::InstArithmetic::Shl);
293 return convertArithInstruction(Instr, Ice::InstArithmetic::Lshr);
295 return convertArithInstruction(Instr, Ice::InstArithmetic::Ashr)
    [all...]
IceTargetLoweringX86BaseImpl.h 175 if (auto *Arith = llvm::dyn_cast<InstArithmetic>(Instr)) {
180 case InstArithmetic::And:
181 case InstArithmetic::Or:
649 inline bool canRMW(const InstArithmetic *Arith) {
664 case InstArithmetic::Add:
665 case InstArithmetic::Sub:
666 case InstArithmetic::And:
667 case InstArithmetic::Or:
668 case InstArithmetic::Xor:
670 case InstArithmetic::Shl
    [all...]
IceASanInstrumentation.cpp 228 InstArithmetic *ShadowIndexCalc;
229 InstArithmetic *ShadowLocCalc;
267 InstArithmetic::create(Func, InstArithmetic::Lshr, ShadowIndexVar,
270 InstArithmetic::create(Func, InstArithmetic::Add, FirstShadowLocVar,
331 Context.insert(InstArithmetic::create(Func, InstArithmetic::Add,
IceTargetLoweringMIPS32.cpp 359 const InstArithmetic::OpKind Op =
360 llvm::cast<InstArithmetic>(Instr)->getOp();
374 case InstArithmetic::Udiv:
377 case InstArithmetic::Sdiv:
380 case InstArithmetic::Urem:
383 case InstArithmetic::Srem:
403 if (Op != InstArithmetic::Frem) {
    [all...]
IceInst.h 305 class InstArithmetic : public InstHighLevel {
306 InstArithmetic() = delete;
307 InstArithmetic(const InstArithmetic &) = delete;
308 InstArithmetic &operator=(const InstArithmetic &) = delete;
318 static InstArithmetic *create(Cfg *Func, OpKind Op, Variable *Dest,
320 return new (Func->allocate<InstArithmetic>())
321 InstArithmetic(Func, Op, Dest, Source1, Source2);
336 InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, Operand *Source1
    [all...]
PNaClTranslator.cpp     [all...]
IceInstrumentation.cpp 67 instrumentArithmetic(Context, llvm::cast<InstArithmetic>(Instr));
IceInst.cpp 281 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest,
288 const char *InstArithmetic::getInstName() const {
295 const char *InstArithmetic::getOpName(OpKind Op) {
296 return Op < InstArithmetic::_num ? InstArithmeticAttributes[Op].DisplayString
300 bool InstArithmetic::isCommutative() const {
738 void InstArithmetic::dump(const Cfg *Func) const {
    [all...]
IceCfg.cpp 582 if (auto *A = llvm::dyn_cast<InstArithmetic>(InstrA)) {
583 auto *B = llvm::cast<InstArithmetic>(InstrB);
619 if (Instr.isDeleted() || !llvm::isa<InstArithmetic>(&Instr))
    [all...]
IceTargetLowering.h 401 virtual void lowerArithmetic(const InstArithmetic *Instr) = 0;
503 void scalarizeArithmetic(InstArithmetic::OpKind K, Variable *Dest,
IceCfgNode.cpp     [all...]
IceTargetLowering.cpp 418 lowerArithmetic(llvm::cast<InstArithmetic>(Instr));
    [all...]
IceTargetLoweringARM32.h 211 SafeBoolChain lowerInt1Arithmetic(const InstArithmetic *Instr);
212 void lowerInt64Arithmetic(InstArithmetic::OpKind Op, Variable *Dest,
214 void lowerArithmetic(const InstArithmetic *Instr) override;
694 // _br_short_circuit is used when lowering InstArithmetic::And and
695 // InstArithmetic::Or and a short circuit branch is needed.
    [all...]
IceTargetLoweringMIPS32.h 766 void lowerArithmetic(const InstArithmetic *Instr) override;
767 void lowerInt64Arithmetic(const InstArithmetic *Instr, Variable *Dest,
    [all...]
IceTargetLoweringX86Base.h 267 void lowerArithmetic(const InstArithmetic *Instr) override;
    [all...]
IceInstX86Base.h 263 Variable *Beacon, InstArithmetic::OpKind Op,
272 InstArithmetic::OpKind getOp() const { return Op; }
282 InstArithmetic::OpKind Op;
284 InstArithmetic::OpKind Op, Variable *Beacon);
    [all...]
IceInstX86BaseImpl.h 52 InstArithmetic::OpKind Op,
415 Str << "rmw " << InstArithmetic::getOpName(getOp()) << " " << Ty << " *";
    [all...]
  /external/swiftshader/src/Reactor/
SubzeroReactor.cpp 693 static bool isCommutative(Ice::InstArithmetic::OpKind op)
697 case Ice::InstArithmetic::Add:
698 case Ice::InstArithmetic::Fadd:
699 case Ice::InstArithmetic::Mul:
700 case Ice::InstArithmetic::Fmul:
701 case Ice::InstArithmetic::And:
702 case Ice::InstArithmetic::Or:
703 case Ice::InstArithmetic::Xor:
710 static Value *createArithmetic(Ice::InstArithmetic::OpKind op, Value *lhs, Value *rhs)
712 assert(lhs->getType() == rhs->getType() || (llvm::isa<Ice::Constant>(rhs) && (op == Ice::InstArithmetic::Shl || Ice::InstArithmetic::Lshr || Ice::InstArithmetic::Ashr)))
    [all...]

Completed in 1645 milliseconds