Lines Matching refs:DL

86   bool fillGenericConstant(const DataLayout &DL, const Constant *CV,
88 bool fillConstantDataArray(const DataLayout &DL, const ConstantDataArray *CDA,
90 bool fillConstantArray(const DataLayout &DL, const ConstantArray *CA,
92 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
110 SDLoc DL(Addr); in SelectAddr() local
113 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr()
133 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectAddr()
139 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr()
146 SDLoc DL(Addr); in SelectFIAddr() local
161 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectFIAddr()
180 SDLoc DL(Op); in SelectInlineAsmMemoryOperand() local
181 SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32);; in SelectInlineAsmMemoryOperand()
203 const DebugLoc &DL = Node->getDebugLoc(); in Select() local
204 if (DL != Empty) in Select()
205 errs() << "Error at line " << DL.getLine() << ": "; in Select()
219 SDLoc DL(Node); in Select() local
226 Chain = CurDAG->getCopyToReg(Chain, DL, R6Reg, Skb, SDValue()); in Select()
261 SDLoc DL(Node); in PreprocessLoad() local
315 SDValue NVal = CurDAG->getConstant(val, DL, MVT::i64); in PreprocessLoad()
378 const DataLayout &DL = CurDAG->getDataLayout(); in getConstantFieldValue() local
388 DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes(); in getConstantFieldValue()
390 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue()
396 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue()
408 if (DL.isLittleEndian()) in getConstantFieldValue()
420 bool BPFDAGToDAGISel::fillGenericConstant(const DataLayout &DL, in fillGenericConstant() argument
423 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant()
438 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant()
446 return fillConstantDataArray(DL, CDA, Vals, Offset); in fillGenericConstant()
449 return fillConstantArray(DL, CA, Vals, Offset); in fillGenericConstant()
452 return fillConstantStruct(DL, CVS, Vals, Offset); in fillGenericConstant()
457 bool BPFDAGToDAGISel::fillConstantDataArray(const DataLayout &DL, in fillConstantDataArray() argument
461 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray()
464 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
470 bool BPFDAGToDAGISel::fillConstantArray(const DataLayout &DL, in fillConstantArray() argument
474 if (fillGenericConstant(DL, CA->getOperand(i), Vals, Offset) == false) in fillConstantArray()
476 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
482 bool BPFDAGToDAGISel::fillConstantStruct(const DataLayout &DL, in fillConstantStruct() argument
485 const StructLayout *Layout = DL.getStructLayout(CS->getType()); in fillConstantStruct()
489 if (fillGenericConstant(DL, Field, Vals, Offset + SizeSoFar) == false) in fillConstantStruct()