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

  /external/llvm/lib/Target/Alpha/
AlphaISelDAGToDAG.cpp 92 !CurDAG->MaskedValueIsZero(LHS,
141 return CurDAG->getTargetConstant(Imm, MVT::i64);
197 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
204 return CurDAG->getRegister(GlobalRetAddr, TLI.getPointerTy()).getNode();
222 return CurDAG->SelectNodeTo(N, Alpha::LDA, MVT::i64,
223 CurDAG->getTargetFrameIndex(FI, MVT::i32),
232 SDValue Chain = CurDAG->getEntryNode();
236 Chain = CurDAG->getCopyToReg(Chain, dl, Alpha::R24, N1,
238 Chain = CurDAG->getCopyToReg(Chain, dl, Alpha::R25, N2,
240 Chain = CurDAG->getCopyToReg(Chain, dl, Alpha::R27, N0,
    [all...]
  /external/llvm/lib/Target/CellSPU/
SPUISelDAGToDAG.cpp 171 return CurDAG->getTargetConstant(Imm, MVT::i32);
176 return CurDAG->getTargetConstant(Imm, SPUtli.getPointerTy());
186 (SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i16).getNode() != 0)) ||
188 ((SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) ||
189 (SPU::get_ILHUvec_imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) ||
190 (SPU::get_vec_u18imm(bvNode, *CurDAG, MVT::i32).getNode() != 0) ||
191 (SPU::get_v4i32_imm(bvNode, *CurDAG).getNode() != 0))) ||
193 ((SPU::get_vec_i16imm(bvNode, *CurDAG, MVT::i64).getNode() != 0) ||
194 (SPU::get_ILHUvec_imm(bvNode, *CurDAG, MVT::i64).getNode() != 0) ||
195 (SPU::get_vec_u18imm(bvNode, *CurDAG, MVT::i64).getNode() != 0))))
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 55 return CurDAG->getTargetConstant(Imm, MVT::i32);
94 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
95 Offset = CurDAG->getTargetConstant(0, MVT::i32);
104 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
105 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
116 Offset = CurDAG->getTargetConstant(0, MVT::i32);
126 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
137 Offset = CurDAG->getTargetConstant(0, MVT::i32);
147 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
164 return CurDAG->getMachineNode(XCore::MKMSK_rus, dl
    [all...]
  /external/llvm/lib/Target/MBlaze/
MBlazeISelDAGToDAG.cpp 90 return CurDAG->getTargetConstant(Imm, MVT::i32);
156 Disp = CurDAG->getTargetConstant(imm, MVT::i32);
158 Base = CurDAG->getTargetFrameIndex(FI->getIndex(), N.getValueType());
167 Disp = CurDAG->getTargetConstant(Imm, CN->getValueType(0));
168 Base = CurDAG->getRegister(MBlaze::R0, CN->getValueType(0));
172 Disp = CurDAG->getTargetConstant(0, TM.getTargetLowering()->getPointerTy());
174 Base = CurDAG->getTargetFrameIndex(FI->getIndex(), N.getValueType());
184 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
209 SDValue imm = CurDAG->getTargetConstant(0, MVT::i32);
212 SDValue TFI = CurDAG->getTargetFrameIndex(FI, VT)
    [all...]
  /external/llvm/lib/Target/Mips/
MipsISelDAGToDAG.cpp 95 return CurDAG->getTargetConstant(Imm, MVT::i32);
110 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
119 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
120 Offset = CurDAG->getTargetConstant(0, MVT::i32);
127 Base = CurDAG->getRegister(Mips::GP, MVT::i32);
136 Base = CurDAG->getRegister(Mips::GP, MVT::i32);
143 if (CurDAG->isBaseWithConstantOffset(Addr)) {
150 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
154 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), MVT::i32);
183 Offset = CurDAG->getTargetConstant(0, MVT::i32)
    [all...]
MipsISelLowering.cpp 199 // Transforms a subgraph in CurDAG if the following pattern is found:
206 static bool SelectMadd(SDNode* ADDENode, SelectionDAG* CurDAG) {
242 SDValue Chain = CurDAG->getEntryNode();
248 SDValue MAdd = CurDAG->getNode(MultOpc, dl,
256 SDValue CopyFromLo = CurDAG->getCopyFromReg(Chain, dl, Mips::LO, MVT::i32,
258 SDValue CopyFromHi = CurDAG->getCopyFromReg(CopyFromLo.getValue(1), dl,
264 CurDAG->ReplaceAllUsesOfValueWith(SDValue(ADDCNode, 0), CopyFromLo);
267 CurDAG->ReplaceAllUsesOfValueWith(SDValue(ADDENode, 0), CopyFromHi);
273 // Transforms a subgraph in CurDAG if the following pattern is found:
280 static bool SelectMsub(SDNode* SUBENode, SelectionDAG* CurDAG) {
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCISelDAGToDAG.cpp 64 return CurDAG->getTargetConstant(Imm, MVT::i32);
70 return CurDAG->getTargetConstant(Imm, MVT::i64);
75 return CurDAG->getTargetConstant(Imm, PPCLowering.getPointerTy());
108 return PPCLowering.SelectAddressRegImm(N, Disp, Base, *CurDAG);
123 return PPCLowering.SelectAddressRegReg(N, Base, Index, *CurDAG);
129 return PPCLowering.SelectAddressRegRegOnly(N, Base, Index, *CurDAG);
136 return PPCLowering.SelectAddressRegImmShift(N, Disp, Base, *CurDAG);
251 return CurDAG->getRegister(GlobalBaseReg,
381 CurDAG->ComputeMaskedBits(Op0, APInt::getAllOnesValue(32), LKZ, LKO);
382 CurDAG->ComputeMaskedBits(Op1, APInt::getAllOnesValue(32), RKZ, RKO)
    [all...]
  /external/llvm/lib/Target/ARM/
ARMISelDAGToDAG.cpp 84 return CurDAG->getTargetConstant(Imm, MVT::i32);
385 ShReg = CurDAG->getRegister(0, MVT::i32);
392 Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal),
404 !CurDAG->isBaseWithConstantOffset(N)) {
408 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
409 OffImm = CurDAG->getTargetConstant(0, MVT::i32);
419 OffImm = CurDAG->getTargetConstant(0, MVT::i32);
432 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
434 OffImm = CurDAG->getTargetConstant(RHSC, MVT::i32);
441 OffImm = CurDAG->getTargetConstant(0, MVT::i32)
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelDAGToDAG.cpp 70 return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
76 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
77 Offset = CurDAG->getTargetConstant(0, MVT::i32);
90 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
94 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), MVT::i32);
110 Offset = CurDAG->getTargetConstant(0, MVT::i32);
133 R2 = CurDAG->getRegister(SP::G0, MVT::i32);
156 TopPart = SDValue(CurDAG->getMachineNode(SP::SRAri, dl, MVT::i32, DivLHS,
157 CurDAG->getTargetConstant(31, MVT::i32)), 0);
159 TopPart = CurDAG->getRegister(SP::G0, MVT::i32)
    [all...]
  /external/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp 234 CurDAG->getTargetFrameIndex(AM.Base_FrameIndex, TLI.getPointerTy()) :
241 Disp = CurDAG->getTargetGlobalAddress(AM.GV, DebugLoc(),
245 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32,
248 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags);
250 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags);
252 Disp = CurDAG->getBlockAddress(AM.BlockAddr, MVT::i32,
255 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i32);
260 Segment = CurDAG->getRegister(0, MVT::i32);
266 return CurDAG->getTargetConstant(Imm, MVT::i8);
272 return CurDAG->getTargetConstant(Imm, MVT::i32)
    [all...]
  /external/llvm/lib/Target/Blackfin/
BlackfinISelDAGToDAG.cpp 74 FixRegisterClasses(*CurDAG);
87 SDValue TFI = CurDAG->getTargetFrameIndex(FI, MVT::i32);
88 return CurDAG->SelectNodeTo(N, BF::ADDpp, MVT::i32, TFI,
89 CurDAG->getTargetConstant(0, MVT::i32));
101 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
102 Offset = CurDAG->getTargetConstant(0, MVT::i32);
111 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
112 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), MVT::i32);
  /external/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 104 return CurDAG->getTargetConstant(Imm, MVT::i8);
110 return CurDAG->getTargetConstant(Imm, MVT::i16);
116 return CurDAG->getTargetConstant(Imm, MVT::i32);
247 SDValue Zero = CurDAG->getConstant(0, N.getValueType());
248 SDValue Neg = CurDAG->getNode(ISD::SUB, dl, N.getValueType(), Zero, RHS);
254 CurDAG->RepositionNode(N.getNode(), Zero.getNode());
259 CurDAG->RepositionNode(N.getNode(), Neg.getNode());
303 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) {
342 Base = CurDAG->getTargetFrameIndex(AM.Base.FrameIndex, TLI.getPointerTy());
343 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i64)
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 233 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) {
258 AM.Base.Reg = CurDAG->getRegister(0, VT);
262 CurDAG->getTargetFrameIndex(AM.Base.FrameIndex, TLI.getPointerTy()) :
266 Disp = CurDAG->getTargetGlobalAddress(AM.GV, N->getDebugLoc(),
270 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i16,
273 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i16, 0/*AM.SymbolFlags*/);
275 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/);
277 Disp = CurDAG->getBlockAddress(AM.BlockAddr, MVT::i32,
280 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i16);
348 return CurDAG->getMachineNode(Opcode, N->getDebugLoc()
    [all...]
  /external/llvm/lib/Target/PTX/
PTXISelDAGToDAG.cpp 82 SDValue PredOp = CurDAG->getTargetConstant(PTX::PRED_NORMAL, MVT::i32);
90 return CurDAG->getMachineNode(PTX::BRAdp, dl, MVT::Other, Ops, 4);
102 R2 = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT());
119 Offset = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT());
155 Offset = CurDAG->getTargetConstant(0, Addr.getValueType().getSimpleVT());
173 imm = CurDAG->getTargetConstant(*CN->getConstantIntValue(),
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGISel.cpp 188 CurDAG(new SelectionDAG(tm)),
189 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)),
200 delete CurDAG;
272 CurDAG->init(*MF);
392 // Release function-specific state. SDB and CurDAG are already cleared
409 CurDAG->setRoot(SDB->getControlRoot());
421 Worklist.push_back(CurDAG->getRoot().getNode());
453 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src);
455 CurDAG->ComputeMaskedBits(Src, Mask, KnownZero, KnownOne);
477 << " '" << BlockName << "'\n"; CurDAG->dump())
    [all...]
SelectionDAGBuilder.cpp     [all...]
  /external/llvm/include/llvm/CodeGen/
SelectionDAGISel.h 48 SelectionDAG *CurDAG;
204 CurDAG->ReplaceAllUsesOfValueWith(F, T, &ISU);
211 CurDAG->ReplaceAllUsesOfValuesWith(F, T, Num, &ISU);
218 CurDAG->ReplaceAllUsesWith(F, T, &ISU);

Completed in 915 milliseconds