Lines Matching refs:legalize
1444 return legalize(ConstInt);
1453 return legalize(MemOperand);
1473 return legalize(ConstInt);
1492 return legalize(MemOperand);
1540 Operand *TotalSize = legalize(Instr->getSizeInBytes());
1736 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
1984 Operand *Src0 = legalize(Instr->getSrc(0));
1985 Operand *Src1 = legalize(Instr->getSrc(1));
2089 Src1Lo = legalize(Src1Lo, Legal_Reg | Legal_Mem);
2101 Src0Lo = legalize(Src0Lo, Legal_Reg | Legal_Mem);
2331 Src1 = legalize(Src1, Legal_Reg | Legal_Mem);
2336 Src0 = legalize(Src0, Legal_Reg | Legal_Mem);
2374 Src1 = legalize(Src1, Legal_Reg | Legal_Mem);
2439 Src1 = legalize(Src1, Legal_Reg | Legal_Mem);
2466 Src1 = legalize(Src1, Legal_Reg | Legal_Mem);
2544 Src1 = legalize(Src1, Legal_Reg | Legal_Mem);
2649 Operand *Src0 = legalize(Cond, Legal_Reg | Legal_Mem);
2747 InstStore::create(Func, legalize(StackArgs[i]), StackArgLocations[i]));
2751 XmmArgs[i] = legalizeToReg(legalize(XmmArgs[i]),
2759 legalize(GprArgs[i].second, Legal_Default | Legal_Rematerializable);
2822 legalize(Instr->getCallTarget(), Legal_Reg | Legal_Imm | Legal_AddrAbs);
2900 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
2972 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
3019 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
3031 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3040 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3050 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
3068 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
3098 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
3132 Operand *Src0RM = legalize(Instr->getSrc(0), Legal_Reg | Legal_Mem);
3159 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3211 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3247 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3252 Src0 = legalize(Src0);
3302 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3350 _pshufd(T, legalize(SourceVectNotLegalized, Legal_Reg | Legal_Mem), Mask);
3450 Src0 = legalize(Src0);
3451 Operand *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
3538 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3539 Operand *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
3590 Operand *Src0 = legalize(Icmp->getSrc(0));
3591 Operand *Src1 = legalize(Icmp->getSrc(1));
3627 Operand *Src0 = legalize(Icmp->getSrc(0));
3628 Operand *Src1 = legalize(Icmp->getSrc(1));
3663 Operand *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
3664 Operand *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
3747 Operand *Src0 = legalize(Icmp->getSrc(0));
3748 Operand *Src1 = legalize(Icmp->getSrc(1));
3770 Src0LoRM = legalize(loOperand(Src0), Legal_Reg | Legal_Mem);
3775 Src0HiRM = legalize(hiOperand(Src0), Legal_Reg | Legal_Mem);
3784 Src0LoRM = legalize(loOperand(Src0), Legal_Reg | Legal_Mem);
3785 Src0HiRM = legalize(hiOperand(Src0), Legal_Reg | Legal_Mem);
3834 Operand *Src1LoRI = legalize(loOperand(Src1), Legal_Reg | Legal_Imm);
3835 Operand *Src1HiRI = legalize(hiOperand(Src1), Legal_Reg | Legal_Imm);
3929 Src = legalize(Select->getTrueOperand(), Legal_Reg | Legal_Imm);
3931 Src = legalize(Select->getFalseOperand(), Legal_Reg | Legal_Imm);
3944 Operand *Src0 = legalize(Arith->getSrc(0));
3945 Operand *Src1 = legalize(Arith->getSrc(1));
4008 legalize(ElementToInsertNotLegalized, Legal_Reg | Legal_Mem);
4010 legalize(SourceVectNotLegalized, Legal_Reg | Legal_Mem);
4034 legalize(SourceVectNotLegalized, Legal_Reg | Legal_Mem);
4041 Operand *T = legalize(ElementToInsertNotLegalized, Legal_Reg | Legal_Mem);
4125 Operand *PtrToMem = legalize(Instr->getArg(0));
4126 Operand *Expected = legalize(Instr->getArg(1));
4127 Operand *Desired = legalize(Instr->getArg(2));
4278 Val = legalize(Val);
4301 Operand *ValRM = legalize(Val, Legal_Reg | Legal_Mem);
4352 Operand *Val = legalize(Instr->getArg(0));
4369 Operand *Val = legalize(Instr->getArg(0));
4384 Operand *Src = legalize(Instr->getArg(0));
4447 Operand *Src = legalize(Instr->getArg(0));
4541 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4542 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4553 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4554 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4580 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4581 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4592 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4593 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4604 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4605 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4616 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4617 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4628 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4629 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4640 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4641 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4652 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
4653 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
4673 Operand *Src0RM = legalize(Src, Legal_Reg | Legal_Mem);
4704 auto *SrcRM = legalize(Src, Legal_Reg | Legal_Mem);
4964 Val = legalize(Val);
5098 Operand *FirstValRM = legalize(FirstVal, Legal_Mem | Legal_Reg);
6130 Operand *RetValue = legalize(Instr->getRetValue());
6164 auto *SrcRM = legalize(Src, Legal_Reg | Legal_Mem);
6184 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6280 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6301 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6332 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6342 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6343 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6353 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6363 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6364 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6407 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6416 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6417 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6426 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6435 auto *Src0RM = legalize(Src0, Legal_Reg | Legal_Mem);
6436 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6517 auto *Src1RM = legalize(Src1, Legal_Reg | Legal_Mem);
6592 auto *Src1RM = legalize(Src0, Legal_Reg | Legal_Mem);
6705 Operand *CmpResult = legalize(Condition, Legal_Reg | Legal_Mem);
6723 SrcT = legalize(SrcT, Legal_Reg | Legal_Imm);
6726 SrcF = legalize(SrcF, Legal_Reg | Legal_Imm);
6761 SrcF = legalize(SrcF);
6763 SrcT = legalize(SrcT, Legal_Reg | Legal_Mem);
6774 Src = legalize(Src);
6790 SrcLegal = legalize(Src, Legal_Reg, Dest->getRegNum());
6794 SrcLegal = legalize(Src, Legal_Reg | Legal_Imm);
6829 _mov(T, legalize(SelectSrcT, Legal_Reg | Legal_Mem));
6830 _maxss(T, legalize(SelectSrcF, Legal_Reg | Legal_Mem));
6833 _movp(T, legalize(SelectSrcT, Legal_Reg | Legal_Mem));
6834 _maxps(T, legalize(SelectSrcF, Legal_Reg | Legal_Mem));
6842 _mov(T, legalize(SelectSrcT, Legal_Reg | Legal_Mem));
6843 _minss(T, legalize(SelectSrcF, Legal_Reg | Legal_Mem));
6846 _movp(T, legalize(SelectSrcT, Legal_Reg | Legal_Mem));
6847 _minps(T, legalize(SelectSrcF, Legal_Reg | Legal_Mem));
6880 Operand *SrcTRM = legalize(SrcT, Legal_Reg | Legal_Mem);
6881 Operand *SrcFRM = legalize(SrcF, Legal_Reg | Legal_Mem);
6890 Operand *ConditionRM = legalize(Condition, Legal_Reg | Legal_Mem);
6924 Operand *ConditionRM = legalize(Condition, Legal_Reg | Legal_Mem);
6946 Operand *ValueHi = legalize(hiOperand(Value), Legal_Reg | Legal_Imm);
6948 Operand *ValueLo = legalize(loOperand(Value), Legal_Reg | Legal_Imm);
6953 Value = legalize(Value, Legal_Reg | Legal_Imm);
7039 Operand *RangeIndexRM = legalize(RangeIndex, Legal_Reg | Legal_Mem);
7111 Src0 = legalize(Src0); // get Base/Index into physical registers
7122 Src0Lo = legalize(Src0Lo, Legal_Reg | Legal_Mem);
7123 Src0Hi = legalize(Src0Hi, Legal_Reg | Legal_Mem);
7140 Src0Hi = legalize(Src0Hi, Legal_Reg | Legal_Mem);
7291 Operand *SrcLo = legalize(loOperand(Src), Legal_Reg | Legal_Imm);
7292 Operand *SrcHi = legalize(hiOperand(Src), Legal_Reg | Legal_Imm);
7328 Src = legalize(Src, Legal_Reg | Legal_Imm);
7332 Src = legalize(Src, Legal_Reg | Legal_Imm);
7336 Src = legalize(Src, Legal_Reg | Legal_Imm);
7340 Src = legalize(Src, Legal_Reg | Legal_Imm);
7344 Src = legalize(Src, Legal_Reg | Legal_Imm);
7790 _movd(Reg, legalize(ConstantMask, Legal_Reg | Legal_Mem));
7904 Operand *TargetX86Base<TraitsType>::legalize(Operand *From, LegalMask Allowed,
7947 legalize(Base, Legal_Reg | Legal_Rematerializable));
7953 legalize(Index, Legal_Reg | Legal_Rematerializable));
8070 return llvm::cast<Variable>(legalize(From, Legal_Reg, RegNum));
8112 return legalize(Src0, IsSrc1ImmOrReg ? (Legal_Reg | Legal_Mem) : Legal_Reg);
8132 Base = llvm::cast<Variable>(legalize(Offset, Legal_Reg));
8135 Offset = llvm::cast<Constant>(legalize(Offset));
8144 return llvm::cast<X86OperandMem>(DoLegalize ? legalize(Mem) : Mem);