Lines Matching refs:DL
84 bool fillGenericConstant(const DataLayout &DL, const Constant *CV,
86 bool fillConstantDataArray(const DataLayout &DL, const ConstantDataArray *CDA,
88 bool fillConstantArray(const DataLayout &DL, const ConstantArray *CA,
90 bool fillConstantStruct(const DataLayout &DL, const ConstantStruct *CS,
102 SDLoc DL(Addr); in SelectAddr() local
105 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr()
123 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectAddr()
129 Offset = CurDAG->getTargetConstant(0, DL, MVT::i64); in SelectAddr()
136 SDLoc DL(Addr); in SelectFIAddr() local
150 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64); in SelectFIAddr()
169 SDLoc DL(Op); in SelectInlineAsmMemoryOperand() local
170 SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32);; in SelectInlineAsmMemoryOperand()
192 const DebugLoc &DL = Node->getDebugLoc(); in Select() local
193 if (DL != Empty) in Select()
194 errs() << "Error at line " << DL.getLine() << ": "; in Select()
208 SDLoc DL(Node); in Select() local
215 Chain = CurDAG->getCopyToReg(Chain, DL, R6Reg, Skb, SDValue()); in Select()
250 SDLoc DL(Node); in PreprocessLoad() local
304 SDValue NVal = CurDAG->getConstant(val, DL, LD->getValueType(0)); in PreprocessLoad()
346 const DataLayout &DL = CurDAG->getDataLayout(); in getConstantFieldValue() local
356 DL.getStructLayout(cast<StructType>(CS->getType()))->getSizeInBytes(); in getConstantFieldValue()
358 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue()
364 if (fillGenericConstant(DL, Init, Vals, 0) == false) in getConstantFieldValue()
376 if (DL.isLittleEndian()) in getConstantFieldValue()
388 bool BPFDAGToDAGISel::fillGenericConstant(const DataLayout &DL, in fillGenericConstant() argument
391 uint64_t Size = DL.getTypeAllocSize(CV->getType()); in fillGenericConstant()
406 Vals[Offset + i] = DL.isLittleEndian() in fillGenericConstant()
414 return fillConstantDataArray(DL, CDA, Vals, Offset); in fillGenericConstant()
417 return fillConstantArray(DL, CA, Vals, Offset); in fillGenericConstant()
420 return fillConstantStruct(DL, CVS, Vals, Offset); in fillGenericConstant()
425 bool BPFDAGToDAGISel::fillConstantDataArray(const DataLayout &DL, in fillConstantDataArray() argument
429 if (fillGenericConstant(DL, CDA->getElementAsConstant(i), Vals, Offset) == in fillConstantDataArray()
432 Offset += DL.getTypeAllocSize(CDA->getElementAsConstant(i)->getType()); in fillConstantDataArray()
438 bool BPFDAGToDAGISel::fillConstantArray(const DataLayout &DL, in fillConstantArray() argument
442 if (fillGenericConstant(DL, CA->getOperand(i), Vals, Offset) == false) in fillConstantArray()
444 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
450 bool BPFDAGToDAGISel::fillConstantStruct(const DataLayout &DL, in fillConstantStruct() argument
453 const StructLayout *Layout = DL.getStructLayout(CS->getType()); in fillConstantStruct()
457 if (fillGenericConstant(DL, Field, Vals, Offset + SizeSoFar) == false) in fillConstantStruct()