Searched refs:CurDAG (Results 1 - 22 of 22) sorted by relevance

/external/llvm/lib/Target/R600/
H A DAMDGPUISelDAGToDAG.cpp150 return CurDAG->getTargetConstant(Imm, MVT::i32);
158 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
159 R2 = CurDAG->getTargetConstant(0, MVT::i32);
162 R2 = CurDAG->getTargetConstant(0, MVT::i32);
169 R2 = CurDAG->getTargetConstant(0, MVT::i32);
191 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64);
192 R2 = CurDAG->getTargetConstant(0, MVT::i64);
195 R2 = CurDAG->getTargetConstant(0, MVT::i64);
202 R2 = CurDAG->getTargetConstant(0, MVT::i64);
290 SDValue RegClass = CurDAG
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreISelDAGToDAG.cpp53 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);
122 Reg = CurDAG->getRegister(XCore::CP, MVT::i32);
125 Reg = CurDAG->getRegister(XCore::DP, MVT::i32);
144 return CurDAG->getMachineNode(XCore::MKMSK_rus, dl,
149 CurDAG->getTargetConstantPool(ConstantInt::get(
150 Type::getInt32Ty(*CurDAG
212 replaceInChain(SelectionDAG *CurDAG, SDValue Chain, SDValue Old, SDValue New) argument
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp83 return CurDAG->getTargetConstant(Imm, MVT::i32);
89 return CurDAG->getTargetConstant(Imm, MVT::i64);
94 return CurDAG->getTargetConstant(Imm, PPCLowering->getPointerTy());
127 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, false);
147 return PPCLowering->SelectAddressRegReg(N, Base, Index, *CurDAG);
153 return PPCLowering->SelectAddressRegRegOnly(N, Base, Index, *CurDAG);
160 return PPCLowering->SelectAddressRegImm(N, Disp, Base, *CurDAG, true);
287 return CurDAG->getRegister(GlobalBaseReg,
420 CurDAG->computeKnownBits(Op0, LKZ, LKO);
421 CurDAG
[all...]
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp70 return CurDAG->getRegister(GlobalBaseReg,
77 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(),
79 Offset = CurDAG->getTargetConstant(0, MVT::i32);
93 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(),
98 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), MVT::i32);
114 Offset = CurDAG->getTargetConstant(0, MVT::i32);
138 R2 = CurDAG->getRegister(SP::G0, getTargetLowering()->getPointerTy());
166 TopPart = SDValue(CurDAG->getMachineNode(SP::SRAri, dl, MVT::i32, DivLHS,
167 CurDAG->getTargetConstant(31, MVT::i32)), 0);
169 TopPart = CurDAG
[all...]
/external/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp87 return CurDAG->getTargetConstant(Imm, MVT::i32);
137 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), MVT::i32);
138 Reg = CurDAG->getRegister(ARM::CPSR, MVT::i32);
330 for (SelectionDAG::allnodes_iterator I = CurDAG->allnodes_begin(),
331 E = CurDAG->allnodes_end(); I != E; ) {
395 Srl = CurDAG->getNode(ISD::SRL, SDLoc(Srl), MVT::i32,
397 CurDAG->getConstant(Srl_imm+TZ, MVT::i32));
398 N1 = CurDAG->getNode(ISD::AND, SDLoc(N1), MVT::i32,
399 Srl, CurDAG->getConstant(And_imm, MVT::i32));
400 N1 = CurDAG
1438 getAL(SelectionDAG *CurDAG) argument
[all...]
/external/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp49 SDNode *Mul = CurDAG->getMachineNode(Opc, DL, MVT::Glue, N->getOperand(0),
55 Lo = CurDAG->getMachineNode(Opcode, DL, Ty, MVT::Glue, InFlag);
60 Hi = CurDAG->getMachineNode(Opcode, DL, Ty, InFlag);
123 return CurDAG->getRegister(Mips16SPAliasReg,
128 SDValue AliasFPReg = CurDAG->getRegister(Mips::S0,
156 AliasReg = CurDAG->getRegister(Mips::SP, getTargetLowering()->getPointerTy());
166 Alias = CurDAG->getTargetConstant(0, ValTy);
170 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
171 Offset = CurDAG->getTargetConstant(0, ValTy);
187 if (CurDAG
[all...]
H A DMipsSEISelDAGToDAG.cpp245 SDNode *Carry = CurDAG->getMachineNode(Mips::SLTu, DL, VT, Ops);
246 SDNode *AddCarry = CurDAG->getMachineNode(Mips::ADDu, DL, VT,
248 return CurDAG->SelectNodeTo(Node, MOp, VT, MVT::Glue, LHS,
258 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
259 Offset = CurDAG->getTargetConstant(0, ValTy);
269 if (CurDAG->isBaseWithConstantOffset(Addr)) {
277 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy);
281 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy);
355 Offset = CurDAG->getTargetConstant(0, Addr.getValueType());
462 Imm = CurDAG
[all...]
H A DMipsISelDAGToDAG.cpp62 return CurDAG->getRegister(GlobalBaseReg,
181 DEBUG(errs() << "Selecting: "; Node->dump(CurDAG); errs() << "\n");
185 DEBUG(errs() << "== "; Node->dump(CurDAG); errs() << "\n");
219 DEBUG(Node->dump(CurDAG));
221 DEBUG(ResNode->dump(CurDAG));
H A DMipsISelDAGToDAG.h119 return CurDAG->getTargetConstant(Imm, Node->getValueType(0));
H A DMipsSEISelLowering.cpp381 // Transforms a subgraph in CurDAG if the following pattern is found:
388 static bool selectMADD(SDNode *ADDENode, SelectionDAG *CurDAG) { argument
427 SDValue ACCIn = CurDAG->getNode(MipsISD::MTLOHI, DL, MVT::Untyped,
434 SDValue MAdd = CurDAG->getNode(MultOpc, DL, MVT::Untyped,
441 SDValue LoOut = CurDAG->getNode(MipsISD::MFLO, DL, MVT::i32, MAdd);
442 CurDAG->ReplaceAllUsesOfValueWith(SDValue(ADDCNode, 0), LoOut);
445 SDValue HiOut = CurDAG->getNode(MipsISD::MFHI, DL, MVT::i32, MAdd);
446 CurDAG->ReplaceAllUsesOfValueWith(SDValue(ADDENode, 0), HiOut);
453 // Transforms a subgraph in CurDAG if the following pattern is found:
460 static bool selectMSUB(SDNode *SUBENode, SelectionDAG *CurDAG) { argument
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp234 CurDAG->MaskedValueIsZero(N.getOperand(0), CN->getAPIntValue())) {
259 AM.Base.Reg = CurDAG->getRegister(0, VT);
263 CurDAG->getTargetFrameIndex(AM.Base.FrameIndex,
268 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(N),
272 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i16,
275 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i16, 0/*AM.SymbolFlags*/);
277 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i16, 0/*AM.SymbolFlags*/);
279 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, 0,
282 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i16);
350 return CurDAG
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILISelDAGToDAG.cpp97 return CurDAG->getTargetConstant(Imm, MVT::i32);
105 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
106 R2 = CurDAG->getTargetConstant(0, MVT::i32);
109 R2 = CurDAG->getTargetConstant(0, MVT::i32);
116 R2 = CurDAG->getTargetConstant(0, MVT::i32);
138 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64);
139 R2 = CurDAG->getTargetConstant(0, MVT::i64);
142 R2 = CurDAG->getTargetConstant(0, MVT::i64);
149 R2 = CurDAG->getTargetConstant(0, MVT::i64);
167 SDValue TFI = CurDAG
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILISelDAGToDAG.cpp97 return CurDAG->getTargetConstant(Imm, MVT::i32);
105 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
106 R2 = CurDAG->getTargetConstant(0, MVT::i32);
109 R2 = CurDAG->getTargetConstant(0, MVT::i32);
116 R2 = CurDAG->getTargetConstant(0, MVT::i32);
138 R1 = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i64);
139 R2 = CurDAG->getTargetConstant(0, MVT::i64);
142 R2 = CurDAG->getTargetConstant(0, MVT::i64);
149 R2 = CurDAG->getTargetConstant(0, MVT::i64);
167 SDValue TFI = CurDAG
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp123 return CurDAG->getTargetConstant(bitPos, MVT::i32);
151 return CurDAG->getTargetConstant( - Imm, MVT::i32);
159 return CurDAG->getTargetConstant(Imm - 1, MVT::i8);
164 return CurDAG->getTargetConstant(Imm - 1, MVT::i32);
170 return CurDAG->getTargetConstant(Imm - 1, MVT::i32);
402 CurDAG->getTargetGlobalAddress(GV, dl, PointerTy, 0);
403 SDNode* NewBase = CurDAG->getMachineNode(Hexagon::CONST32_set,
414 SDValue TargetConstOff = CurDAG->getTargetConstant(Offset, PointerTy);
415 SDNode* Result = CurDAG->getMachineNode(Opcode, dl,
452 SDValue TargetConst = CurDAG
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp241 CurDAG->getTargetFrameIndex(AM.Base_FrameIndex,
249 Disp = CurDAG->getTargetGlobalAddress(AM.GV, SDLoc(),
253 Disp = CurDAG->getTargetConstantPool(AM.CP, MVT::i32,
257 Disp = CurDAG->getTargetExternalSymbol(AM.ES, MVT::i32, AM.SymbolFlags);
260 Disp = CurDAG->getTargetJumpTable(AM.JT, MVT::i32, AM.SymbolFlags);
262 Disp = CurDAG->getTargetBlockAddress(AM.BlockAddr, MVT::i32, AM.Disp,
265 Disp = CurDAG->getTargetConstant(AM.Disp, MVT::i32);
270 Segment = CurDAG->getRegister(0, MVT::i32);
276 return CurDAG->getTargetConstant(Imm, MVT::i8);
282 return CurDAG
371 MoveBelowOrigChain(SelectionDAG *CurDAG, SDValue Load, SDValue Call, SDValue OrigChain) argument
1716 getAtomicLoadArithTargetConstant(SelectionDAG *CurDAG, SDLoc dl, enum AtomicOpc &Op, MVT NVT, SDValue Val) argument
1926 isLoadIncOrDecStore(StoreSDNode *StoreNode, unsigned Opc, SDValue StoredVal, SelectionDAG *CurDAG, LoadSDNode* &LoadNode, SDValue &InputChain) argument
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp250 Val = CurDAG->getTargetConstant(Immed, MVT::i32);
251 Shift = CurDAG->getTargetConstant(ShVal, MVT::i32);
284 return SelectArithImmed(CurDAG->getConstant(Immed, MVT::i32), Val, Shift);
332 Shift = CurDAG->getTargetConstant(ShVal, MVT::i32);
449 SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, MVT::i64);
472 return CurDAG->getMachineNode(MLAOpc, SDLoc(N), N->getValueType(0), Ops);
484 SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, MVT::i64);
515 return CurDAG->getMachineNode(SMULLOpc, SDLoc(N), N->getValueType(0), Ops);
522 static SDValue narrowIfNeeded(SelectionDAG *CurDAG, SDValue N) { argument
526 SDValue SubReg = CurDAG
664 Widen(SelectionDAG *CurDAG, SDValue N) argument
1298 isBitfieldExtractOpFromAnd(SelectionDAG *CurDAG, SDNode *N, unsigned &Opc, SDValue &Opd0, unsigned &LSB, unsigned &MSB, unsigned NumberOfIgnoredLowBits, bool BiggerPattern) argument
1491 isBitfieldExtractOp(SelectionDAG *CurDAG, SDNode *N, unsigned &Opc, SDValue &Opd0, unsigned &LSB, unsigned &MSB, unsigned NumberOfIgnoredLowBits = 0, bool BiggerPattern = false) argument
1751 getLeftShift(SelectionDAG *CurDAG, SDValue Op, int ShlAmount) argument
1780 isBitfieldPositioningOp(SelectionDAG *CurDAG, SDValue Op, SDValue &Src, int &ShiftAmount, int &MaskWidth) argument
1831 isBitfieldInsertOpFromOr(SDNode *N, unsigned &Opc, SDValue &Dst, SDValue &Src, unsigned &ImmR, unsigned &ImmS, SelectionDAG *CurDAG) argument
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp135 return CurDAG->getTargetConstant(Imm, Node->getValueType(0));
421 if (Opcode == ISD::ADD || CurDAG->isBaseWithConstantOffset(N)) {
581 Base = CurDAG->getRegister(0, VT);
585 Base = CurDAG->getTargetFrameIndex(FrameIndex, VT);
591 SDValue Trunc = CurDAG->getNode(ISD::TRUNCATE, DL, VT, Base);
592 insertDAGNode(CurDAG, Base.getNode(), Trunc);
597 Disp = CurDAG->getTargetConstant(AM.Disp, VT);
609 Index = CurDAG->getRegister(0, VT);
668 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne);
717 CurDAG
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGISel.cpp340 CurDAG(new SelectionDAG(tm, OL)),
341 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)),
353 delete CurDAG;
439 CurDAG->init(*MF, TLI);
440 FuncInfo->set(Fn, *MF, CurDAG);
579 // Release function-specific state. SDB and CurDAG are already cleared
599 CurDAG->setRoot(SDB->getControlRoot());
611 Worklist.push_back(CurDAG->getRoot().getNode());
642 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src);
643 CurDAG
2114 HandleMergeInputChains(SmallVectorImpl<SDNode*> &ChainNodesMatched, SelectionDAG *CurDAG) argument
[all...]
H A DSelectionDAGBuilder.cpp7454 MVT RegisterVT = TLI->getRegisterType(*CurDAG->getContext(), VT);
7455 unsigned NumRegs = TLI->getNumRegisters(*CurDAG->getContext(), VT);
7507 MVT RegVT = TLI->getRegisterType(*CurDAG->getContext(), VT);
7545 MVT PartVT = TLI->getRegisterType(*CurDAG->getContext(), VT);
7546 unsigned NumParts = TLI->getNumRegisters(*CurDAG->getContext(), VT);
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGISel.h48 SelectionDAG *CurDAG; member in class:llvm::SelectionDAGISel
182 CurDAG->ReplaceAllUsesOfValueWith(F, T);
188 CurDAG->ReplaceAllUsesOfValuesWith(F, T, Num);
194 CurDAG->ReplaceAllUsesWith(F, T);
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp329 return CurDAG->getMachineNode(NVPTX::texsurf_handles, SDLoc(N), MVT::i64,
364 return CurDAG->getMachineNode(Opc, SDLoc(N), N->getValueType(0), Src);
389 return CurDAG->getMachineNode(Opc, SDLoc(N), N->getValueType(0), Src);
481 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops);
510 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops);
564 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops);
616 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops);
742 LD = CurDAG->getMachineNode(Opcode, DL, N->getVTList(), Ops);
796 LD = CurDAG->getMachineNode(Opcode, DL, N->getVTList(), Ops);
900 LD = CurDAG
[all...]
H A DNVPTXISelDAGToDAG.h78 return CurDAG->getTargetConstant(Imm, MVT::i32);

Completed in 3217 milliseconds