/external/llvm/lib/Target/X86/ |
X86SelectionDAGInfo.cpp | 30 X86SelectionDAGInfo::EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, 57 Type *IntPtrTy = getTargetData()->getIntPtrType(*DAG.getContext()); 66 TLI.LowerCallTo(Chain, Type::getVoidTy(*DAG.getContext()), 69 DAG.getExternalSymbol(bzeroEntry, IntPtr), Args, 70 DAG, dl); 110 Count = DAG.getIntPtrConstant(SizeVal); 116 Count = DAG.getIntPtrConstant(SizeVal / UBytes); 120 Chain = DAG.getCopyToReg(Chain, dl, ValReg, DAG.getConstant(Val, AVT), 125 Count = DAG.getIntPtrConstant(SizeVal) [all...] |
X86ISelLowering.h | 1 //===-- X86ISelLowering.h - X86 DAG Lowering Interface ----------*- C++ -*-===// 11 // selection DAG. 29 // X86 Specific DAG Nodes 495 SelectionDAG &DAG) const; 535 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 541 SelectionDAG &DAG) const; 564 /// DAG node. 577 const SelectionDAG &DAG, 588 SDValue getReturnAddressFrameIndex(SelectionDAG &DAG) const; 608 SelectionDAG &DAG) const [all...] |
X86ISelLowering.cpp | 1 //===-- X86ISelLowering.cpp - X86 DAG Lowering Implementation -------------===// 11 // selection DAG. 60 static SDValue getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, 66 SelectionDAG &DAG, 71 SelectionDAG &DAG, 74 static SDValue ConcatVectors(SDValue Lower, SDValue Upper, SelectionDAG &DAG); 77 /// Generate a DAG to grab 128-bits from a vector > 128 bits. This 84 SelectionDAG &DAG, 93 EVT ResultVT = EVT::getVectorVT(*DAG.getContext(), 99 return DAG.getNode(ISD::UNDEF, dl, ResultVT) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 37 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 52 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); 53 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); 59 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); 60 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); 66 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); 67 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); 72 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); 73 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); 78 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType() [all...] |
LegalizeDAG.cpp | 52 SelectionDAG &DAG; 73 DAG.TransferDbgValues(From, To); 77 explicit SelectionDAGLegalize(SelectionDAG &DAG); 179 return DAG.getVectorShuffle(NVT, dl, N1, N2, &Mask[0]); 193 return DAG.getVectorShuffle(NVT, dl, N1, N2, &NewMask[0]); 196 SelectionDAGLegalize::SelectionDAGLegalize(SelectionDAG &dag) 197 : TM(dag.getTarget()), TLI(dag.getTargetLoweringInfo()), 198 DAG(dag) { [all...] |
LegalizeIntegerTypes.cpp | 37 DEBUG(dbgs() << "Promote integer result: "; N->dump(&DAG); dbgs() << "\n"); 48 N->dump(&DAG); dbgs() << "\n"; 142 return DAG.getNode(ISD::AssertSext, N->getDebugLoc(), 149 return DAG.getNode(ISD::AssertZext, N->getDebugLoc(), 155 SDValue Res = DAG.getAtomic(N->getOpcode(), N->getDebugLoc(), 168 SDValue Res = DAG.getAtomic(N->getOpcode(), N->getDebugLoc(), 180 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT); 182 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 194 return DAG.getNode(ISD::BITCAST, dl, NOutVT, GetPromotedInteger(InOp)); 198 return DAG.getNode(ISD::ANY_EXTEND, dl, NOutVT, GetSoftenedFloat(InOp)) [all...] |
LegalizeVectorTypes.cpp | 36 N->dump(&DAG); 44 N->dump(&DAG); 128 return DAG.getNode(N->getOpcode(), N->getDebugLoc(), 134 return DAG.getNode(ISD::BITCAST, N->getDebugLoc(), 141 return DAG.getConvertRndSat(NewVT, N->getDebugLoc(), 142 Op0, DAG.getValueType(NewVT), 143 DAG.getValueType(Op0.getValueType()), 150 return DAG.getNode(ISD::EXTRACT_VECTOR_ELT, N->getDebugLoc(), 158 return DAG.getNode(ISD::FP_ROUND, N->getDebugLoc(), 164 return DAG.getNode(ISD::FPOWI, N->getDebugLoc() [all...] |
SelectionDAGBuilder.cpp | 1 //===-- SelectionDAGBuilder.cpp - Selection-DAG building ------------------===// 72 // Limit the width of DAG chains. This is important in general to prevent 73 // prevent DAG-based analysis from blowing up. For example, alias analysis and 76 // future analyses are likely to have the same behavior. Limiting DAG width is 88 static SDValue getCopyFromPartsVector(SelectionDAG &DAG, DebugLoc DL, 97 static SDValue getCopyFromParts(SelectionDAG &DAG, DebugLoc DL, 102 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, PartVT, ValueVT); 105 const TargetLowering &TLI = DAG.getTargetLoweringInfo(); 119 ValueVT : EVT::getIntegerVT(*DAG.getContext(), RoundBits); 122 EVT HalfVT = EVT::getIntegerVT(*DAG.getContext(), RoundBits/2) [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430ISelLowering.h | 1 //==-- MSP430ISelLowering.h - MSP430 DAG Lowering Interface ------*- C++ -*-==// 11 // selection DAG. 79 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 82 /// DAG node. 85 SDValue LowerShifts(SDValue Op, SelectionDAG &DAG) const; 86 SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const; 87 SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const; 88 SDValue LowerExternalSymbol(SDValue Op, SelectionDAG &DAG) const; 89 SDValue LowerBR_CC(SDValue Op, SelectionDAG &DAG) const; 90 SDValue LowerSETCC(SDValue Op, SelectionDAG &DAG) const [all...] |
/external/llvm/lib/Target/Sparc/ |
SparcISelLowering.cpp | 1 //===-- SparcISelLowering.cpp - Sparc DAG Lowering Implementation ---------===// 11 // selection DAG. 85 DebugLoc dl, SelectionDAG &DAG) const { 87 MachineFunction &MF = DAG.getMachineFunction(); 93 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), 94 DAG.getTarget(), RVLocs, *DAG.getContext()); 114 Chain = DAG.getCopyToReg(Chain, dl, VA.getLocReg(), 128 SDValue Val = DAG.getCopyFromReg(Chain, dl, Reg, getPointerTy()); 129 Chain = DAG.getCopyToReg(Chain, dl, SP::I0, Val, Flag) [all...] |
SparcISelLowering.h | 1 //===-- SparcISelLowering.h - Sparc DAG Lowering Interface ------*- C++ -*-===// 11 // selection DAG. 47 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 56 const SelectionDAG &DAG, 76 DebugLoc dl, SelectionDAG &DAG, 86 DebugLoc dl, SelectionDAG &DAG, 94 DebugLoc dl, SelectionDAG &DAG) const; 96 SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const; 97 SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const; 99 unsigned getSRetArgSize(SelectionDAG &DAG, SDValue Callee) const [all...] |
/external/llvm/lib/Target/CellSPU/ |
SPUISelLowering.cpp | 1 //===-- SPUISelLowering.cpp - Cell SPU DAG Lowering Implementation --------===// 53 //! Expand a library call into an actual call DAG node 61 ExpandLibCall(RTLIB::Libcall LC, SDValue Op, SelectionDAG &DAG, 66 SDValue InChain = DAG.getEntryNode(); 72 Type *ArgTy = ArgVT.getTypeForEVT(*DAG.getContext()); 79 SDValue Callee = DAG.getExternalSymbol(TLI.getLibcallName(LC), 84 Op.getNode()->getValueType(0).getTypeForEVT(*DAG.getContext()); 89 Callee, Args, DAG, Op.getDebugLoc()); 444 // We have target-specific dag combine patterns for the following nodes: 544 LowerLOAD(SDValue Op, SelectionDAG &DAG, const SPUSubtarget *ST) [all...] |
SPUISelLowering.h | 1 //===-- SPUISelLowering.h - Cell SPU DAG Lowering Interface -----*- C++ -*-===// 11 // a selection DAG. 64 SDValue get_vec_u18imm(SDNode *N, SelectionDAG &DAG, 66 SDValue get_vec_i16imm(SDNode *N, SelectionDAG &DAG, 68 SDValue get_vec_i10imm(SDNode *N, SelectionDAG &DAG, 70 SDValue get_vec_i8imm(SDNode *N, SelectionDAG &DAG, 72 SDValue get_ILHUvec_imm(SDNode *N, SelectionDAG &DAG, 74 SDValue get_v4i32_imm(SDNode *N, SelectionDAG &DAG); 75 SDValue get_v2i64_imm(SDNode *N, SelectionDAG &DAG); 77 SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG, [all...] |
/external/llvm/lib/Target/Alpha/ |
AlphaISelLowering.cpp | 1 //===-- AlphaISelLowering.cpp - Alpha DAG Lowering Implementation ---------===// 188 static SDValue LowerJumpTable(SDValue Op, SelectionDAG &DAG) { 191 SDValue JTI = DAG.getTargetJumpTable(JT->getIndex(), PtrVT); 195 SDValue Hi = DAG.getNode(AlphaISD::GPRelHi, dl, MVT::i64, JTI, 196 DAG.getGLOBAL_OFFSET_TABLE(MVT::i64)); 197 SDValue Lo = DAG.getNode(AlphaISD::GPRelLo, dl, MVT::i64, JTI, Hi); 229 DebugLoc dl, SelectionDAG &DAG, 236 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), 237 getTargetMachine(), ArgLocs, *DAG.getContext()); 244 Chain = DAG.getCALLSEQ_START(Chain, DAG.getConstant(NumBytes [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreISelLowering.cpp | 1 //===-- XCoreISelLowering.cpp - XCore DAG Lowering Implementation ------===// 156 // We have target-specific dag combine patterns for the following nodes: 164 LowerOperation(SDValue Op, SelectionDAG &DAG) const { 167 case ISD::GlobalAddress: return LowerGlobalAddress(Op, DAG); 168 case ISD::GlobalTLSAddress: return LowerGlobalTLSAddress(Op, DAG); 169 case ISD::BlockAddress: return LowerBlockAddress(Op, DAG); 170 case ISD::ConstantPool: return LowerConstantPool(Op, DAG); 171 case ISD::BR_JT: return LowerBR_JT(Op, DAG); 172 case ISD::LOAD: return LowerLOAD(Op, DAG); 173 case ISD::STORE: return LowerSTORE(Op, DAG); [all...] |
XCoreISelLowering.h | 1 //===-- XCoreISelLowering.h - XCore DAG Lowering Interface ------*- C++ -*-===// 11 // selection DAG. 87 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 93 SelectionDAG &DAG) const; 96 // DAG node. 115 DebugLoc dl, SelectionDAG &DAG, 123 DebugLoc dl, SelectionDAG &DAG, 128 DebugLoc dl, SelectionDAG &DAG, 130 SDValue getReturnAddressFrameIndex(SelectionDAG &DAG) const; 132 SelectionDAG &DAG) const [all...] |
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.h | 1 //===-- MipsISelLowering.h - Mips DAG Lowering Interface --------*- C++ -*-===// 11 // selection DAG. 99 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 102 // DAG node. 118 DebugLoc dl, SelectionDAG &DAG, 122 SDValue LowerBRCOND(SDValue Op, SelectionDAG &DAG) const; 123 SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const; 124 SDValue LowerDYNAMIC_STACKALLOC(SDValue Op, SelectionDAG &DAG) const; 125 SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const; 126 SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCISelLowering.h | 1 //===-- PPCISelLowering.h - PPC32 DAG Lowering Interface --------*- C++ -*-===// 11 // selection DAG. 233 SDValue get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG); 243 /// DAG node. 257 SelectionDAG &DAG) const; 263 SelectionDAG &DAG) const; 269 SelectionDAG &DAG) const; 274 SelectionDAG &DAG) const; 280 SelectionDAG &DAG) const; 285 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const [all...] |
PPCISelLowering.cpp | 1 //===-- PPCISelLowering.cpp - PPC DAG Lowering Implementation -------------===// 380 // We have target-specific dag combine patterns for the following nodes: 660 SDValue PPC::get_VSPLTI_elt(SDNode *N, unsigned ByteSize, SelectionDAG &DAG) { 703 return DAG.getTargetConstant(0, MVT::i32); // 0,0,0,undef 706 return DAG.getTargetConstant(Val, MVT::i32); // 0,0,0,4 -> vspltisw(4) 710 return DAG.getTargetConstant(~0U, MVT::i32); // -1,-1,-1,undef 713 return DAG.getTargetConstant(Val, MVT::i32); 765 return DAG.getTargetConstant(MaskVal, MVT::i32); [all...] |
/external/llvm/lib/Target/ARM/ |
ARMSelectionDAGInfo.cpp | 29 ARMSelectionDAGInfo::EmitTargetCodeForMemcpy(SelectionDAG &DAG, DebugLoc dl, 66 Loads[i] = DAG.getLoad(VT, dl, Chain, 67 DAG.getNode(ISD::ADD, dl, MVT::i32, Src, 68 DAG.getConstant(SrcOff, MVT::i32)), 74 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &TFOps[0], i); 78 TFOps[i] = DAG.getStore(Chain, dl, Loads[i], 79 DAG.getNode(ISD::ADD, dl, MVT::i32, Dst, 80 DAG.getConstant(DstOff, MVT::i32)), 85 Chain = DAG.getNode(ISD::TokenFactor, dl, MVT::Other, &TFOps[0], i); 105 Loads[i] = DAG.getLoad(VT, dl, Chain [all...] |
ARMISelLowering.h | 1 //===-- ARMISelLowering.h - ARM DAG Lowering Interface ----------*- C++ -*-===// 11 // selection DAG. 30 // ARM Specific DAG Nodes 233 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 239 SelectionDAG &DAG) const; 247 SDValue PerformCMOVCombine(SDNode *N, SelectionDAG &DAG) const; 280 SelectionDAG &DAG) const; 288 SelectionDAG &DAG) const; 294 const SelectionDAG &DAG, 318 SelectionDAG &DAG) const [all...] |
ARMISelLowering.cpp | 1 //===-- ARMISelLowering.cpp - ARM DAG Lowering Implementation -------------===// 11 // selection DAG. [all...] |
/external/llvm/lib/Target/Blackfin/ |
BlackfinISelLowering.h | 1 //===- BlackfinISelLowering.h - Blackfin DAG Lowering Interface -*- C++ -*-===// 11 // selection DAG. 37 virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const; 40 SelectionDAG &DAG) const; 55 SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const; 56 SDValue LowerJumpTable(SDValue Op, SelectionDAG &DAG) const; 57 SDValue LowerADDE(SDValue Op, SelectionDAG &DAG) const; 63 DebugLoc dl, SelectionDAG &DAG, 71 DebugLoc dl, SelectionDAG &DAG, 79 DebugLoc dl, SelectionDAG &DAG) const [all...] |
BlackfinISelDAGToDAG.cpp | 1 //===- BlackfinISelDAGToDAG.cpp - A dag to dag inst selector for Blackfin -===// 46 return "Blackfin DAG->DAG Pattern Instruction Selection"; 56 // Walk the DAG after instruction selection, fixing register class issues. 57 void FixRegisterClasses(SelectionDAG &DAG); 127 static void UpdateNodeOperand(SelectionDAG &DAG, 133 SDNode *New = DAG.UpdateNodeOperands(N, ops.data(), ops.size()); 134 DAG.ReplaceAllUsesWith(N, New); 139 void BlackfinDAGToDAGISel::FixRegisterClasses(SelectionDAG &DAG) { [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZISelLowering.cpp | 1 //===-- SystemZISelLowering.cpp - SystemZ DAG Lowering Implementation -----==// 163 SelectionDAG &DAG) const { 165 case ISD::BR_CC: return LowerBR_CC(Op, DAG); 166 case ISD::SELECT_CC: return LowerSELECT_CC(Op, DAG); 167 case ISD::GlobalAddress: return LowerGlobalAddress(Op, DAG); 168 case ISD::JumpTable: return LowerJumpTable(Op, DAG); 169 case ISD::ConstantPool: return LowerConstantPool(Op, DAG); 240 SelectionDAG &DAG, 249 return LowerCCCArguments(Chain, CallConv, isVarArg, Ins, dl, DAG, InVals); 260 DebugLoc dl, SelectionDAG &DAG, [all...] |