/external/llvm/lib/Transforms/Scalar/ |
H A D | Sink.cpp | 38 const DataLayout *DL; member in class:__anon26340::Sinking 104 DL = DLP ? &DLP->getDataLayout() : nullptr; 200 if (!isSafeToSpeculativelyExecute(Inst, DL))
|
H A D | LICM.cpp | 112 const DataLayout *DL; // DataLayout for constant folding. member in struct:__anon26287::LICM 235 DL = DLP ? &DLP->getDataLayout() : nullptr; 408 if (Constant *C = ConstantFoldInstruction(&I, DL, TLI)) { 642 if (isSafeToSpeculativelyExecute(&Inst, DL)) 691 DebugLoc DL; member in class:__anon26288::LoopPromoter 720 LI(li), DL(dl), Alignment(alignment), TBAATag(TBAATag) {} 745 NewSI->setDebugLoc(DL); 884 DebugLoc DL = LoopUses[0]->getDebugLoc(); local 899 InsertPts, PIC, *CurAST, *LI, DL, Alignment, TBAATag); 907 PreheaderLoad->setDebugLoc(DL); [all...] |
H A D | IndVarSimplify.cpp | 75 const DataLayout *DL; member in class:__anon26282::IndVarSimplify 84 DL(nullptr), Changed(false) { 664 const DataLayout *DL) { 671 if (DL && !DL->isLegalInteger(Width)) 1126 const DataLayout *DL; member in class:__anon26285::IndVarSimplifyVisitor 1133 const DataLayout *DL, const DominatorTree *DTree): 1134 SE(SCEV), DL(DL), IVPhi(IV) { 1142 void visitCast(CastInst *Cast) override { visitIVCast(Cast, WI, SE, DL); } 663 visitIVCast(CastInst *Cast, WideIVInfo &WI, ScalarEvolution *SE, const DataLayout *DL) argument 1132 IndVarSimplifyVisitor(PHINode *IV, ScalarEvolution *SCEV, const DataLayout *DL, const DominatorTree *DTree) argument 1443 FindLoopCounter(Loop *L, const SCEV *BECount, ScalarEvolution *SE, DominatorTree *DT, const DataLayout *DL) argument [all...] |
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 441 if (!DT || !DL) return AliasAnalysis::ModRef; 443 const Value *Object = GetUnderlyingObject(MemLoc.Ptr, DL); 498 DL = DLP ? &DLP->getDataLayout() : nullptr; 513 return DL ? DL->getTypeStoreSize(Ty) : UnknownSize;
|
H A D | MemoryDependenceAnalysis.cpp | 92 DL = DLP ? &DLP->getDataLayout() : nullptr; 263 const DataLayout *DL) { 265 if (!DL) return false; 269 MemLocBase = GetPointerBaseWithConstantOffset(MemLoc.Ptr, MemLocOffs, DL); 273 LI, *DL); 287 const DataLayout &DL) { 300 GetPointerBaseWithConstantOffset(LI->getPointerOperand(), LIOffs, &DL); 336 !DL.fitsInLegalInteger(NewLoadByteSize*8)) 429 MemLocOffset, LI, DL)) 505 const Value *AccessPtr = GetUnderlyingObject(MemLoc.Ptr, DL); 259 isLoadLoadClobberIfExtendedToFullWidth(const AliasAnalysis::Location &MemLoc, const Value *&MemLocBase, int64_t &MemLocOffs, const LoadInst *LI, const DataLayout *DL) argument 285 getLoadLoadClobberFullWidthSize(const Value *MemLocBase, int64_t MemLocOffs, unsigned MemLocSize, const LoadInst *LI, const DataLayout &DL) argument 778 PHITransAddr Address(const_cast<Value *>(Loc.Ptr), DL); local [all...] |
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 341 const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc DL, 350 const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc DL, 371 void saveVarArgRegisters(CCState &CCInfo, SelectionDAG &DAG, SDLoc DL, 381 const SmallVectorImpl<SDValue> &OutVals, SDLoc DL, 388 SDValue LowerELFTLSDescCall(SDValue SymAddr, SDValue DescAddr, SDLoc DL,
|
H A D | AArch64RegisterInfo.cpp | 290 DebugLoc DL; // Defaults to "unknown" local 292 DL = Ins->getDebugLoc(); 300 BuildMI(*MBB, Ins, DL, MCID, BaseReg)
|
/external/llvm/tools/opt/ |
H A D | opt.cpp | 448 const DataLayout *DL = M.get()->getDataLayout(); local 449 if (!DL && !DefaultDataLayout.empty()) { 451 DL = M.get()->getDataLayout(); 454 if (DL) 470 if (DL)
|
/external/llvm/lib/Target/Mips/ |
H A D | Mips16ISelLowering.cpp | 521 DebugLoc DL = MI->getDebugLoc(); local 552 BuildMI(BB, DL, TII->get(Opc)).addReg(MI->getOperand(3).getReg()) 568 BuildMI(*BB, BB->begin(), DL, 583 DebugLoc DL = MI->getDebugLoc(); local 614 BuildMI(BB, DL, TII->get(Opc2)).addReg(MI->getOperand(3).getReg()) 616 BuildMI(BB, DL, TII->get(Opc1)).addMBB(sinkMBB); 631 BuildMI(*BB, BB->begin(), DL, 647 DebugLoc DL = MI->getDebugLoc(); local 678 BuildMI(BB, DL, TII->get(Opc2)).addReg(MI->getOperand(3).getReg()) 680 BuildMI(BB, DL, TI [all...] |
H A D | MipsSEFrameLowering.cpp | 183 DebugLoc DL = I->getDebugLoc(); local 187 BuildMI(MBB, I, DL, Desc, Lo).addReg(VR0, RegState::Kill); 189 BuildMI(MBB, I, DL, Desc, Hi).addReg(VR1, RegState::Kill); 212 DebugLoc DL = I->getDebugLoc(); local 214 BuildMI(MBB, I, DL, TII.get(MFLoOpc), VR0).addReg(Src); 216 BuildMI(MBB, I, DL, TII.get(MFHiOpc), VR1).addReg(Src, SrcKill); 250 DebugLoc DL = I->getDebugLoc(); local 252 BuildMI(MBB, I, DL, TII.get(MFLoOpc), VR0).addReg(Src); 253 BuildMI(MBB, I, DL, TII.get(TargetOpcode::COPY), DstLo) 255 BuildMI(MBB, I, DL, TI [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | Inliner.cpp | 129 const DataLayout *DL) { 208 if (!DL && (!Align1 || !Align2) && Align1 != Align2) 230 assert(DL && "DataLayout required to compare default alignments"); 231 unsigned TypeAlign = DL->getABITypeAlignment(AI->getAllocatedType()); 444 const DataLayout *DL = DLP ? &DLP->getDataLayout() : nullptr; local 504 InlineFunctionInfo InlineInfo(&CG, DL); 562 InlineHistoryID, InsertLifetime, DL)) { 126 InlineCallIfPossible(CallSite CS, InlineFunctionInfo &IFI, InlinedArrayAllocasTy &InlinedArrayAllocas, int InlineHistory, bool InsertLifetime, const DataLayout *DL) argument
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombine.h | 89 const DataLayout *DL; member in class:llvm::InstCombiner 105 InstCombiner() : FunctionPass(ID), DL(nullptr), Builder(nullptr) { 117 const DataLayout *getDataLayout() const { return DL; } 242 Instruction *tryOptimizeCall(CallInst *CI, const DataLayout *DL); 320 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth); 325 return llvm::MaskedValueIsZero(V, Mask, DL, Depth); 328 return llvm::ComputeNumSignBits(Op, DL, Depth);
|
H A D | InstCombineCasts.cpp | 84 if (!DL) return nullptr; 96 unsigned AllocElTyAlign = DL->getABITypeAlignment(AllocElTy); 97 unsigned CastElTyAlign = DL->getABITypeAlignment(CastElTy); 105 uint64_t AllocElTySize = DL->getTypeAllocSize(AllocElTy); 106 uint64_t CastElTySize = DL->getTypeAllocSize(CastElTy); 111 uint64_t AllocElTyStoreSize = DL->getTypeStoreSize(AllocElTy); 112 uint64_t CastElTyStoreSize = DL->getTypeStoreSize(CastElTy); 167 // If we got a constantexpr back, try to simplify it with DL info. 169 C = ConstantFoldConstantExpression(CE, DL, TLI); 241 const DataLayout *DL ///< Th [all...] |
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelDAGToDAG.cpp | 273 SDValue getUNDEF(SDLoc DL, EVT VT) const; 276 SDValue convertTo(SDLoc DL, EVT VT, SDValue N) const; 590 SDLoc DL(Base); 591 SDValue Trunc = CurDAG->getNode(ISD::TRUNCATE, DL, VT, Base); 849 SDValue SystemZDAGToDAGISel::getUNDEF(SDLoc DL, EVT VT) const { argument 850 SDNode *N = CurDAG->getMachineNode(TargetOpcode::IMPLICIT_DEF, DL, VT); 854 SDValue SystemZDAGToDAGISel::convertTo(SDLoc DL, EVT VT, SDValue N) const { argument 857 DL, VT, getUNDEF(DL, MVT::i64), N); 859 return CurDAG->getTargetExtractSubreg(SystemZ::subreg_l32, DL, V [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 93 static SDValue getCopyFromPartsVector(SelectionDAG &DAG, SDLoc DL, 102 static SDValue getCopyFromParts(SelectionDAG &DAG, SDLoc DL, argument 108 return getCopyFromPartsVector(DAG, DL, Parts, NumParts, 132 Lo = getCopyFromParts(DAG, DL, Parts, RoundParts / 2, 134 Hi = getCopyFromParts(DAG, DL, Parts + RoundParts / 2, 137 Lo = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[0]); 138 Hi = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[1]); 144 Val = DAG.getNode(ISD::BUILD_PAIR, DL, RoundVT, Lo, Hi); 150 Hi = getCopyFromParts(DAG, DL, 158 Hi = DAG.getNode(ISD::ANY_EXTEND, DL, TotalV 237 getCopyFromPartsVector(SelectionDAG &DAG, SDLoc DL, const SDValue *Parts, unsigned NumParts, MVT PartVT, EVT ValueVT, const Value *V) argument 346 getCopyToParts(SelectionDAG &DAG, SDLoc DL, SDValue Val, SDValue *Parts, unsigned NumParts, MVT PartVT, const Value *V, ISD::NodeType ExtendKind = ISD::ANY_EXTEND) argument 469 getCopyToPartsVector(SelectionDAG &DAG, SDLoc DL, SDValue Val, SDValue *Parts, unsigned NumParts, MVT PartVT, const Value *V) argument [all...] |
H A D | InstrEmitter.h | 88 MVT VT, DebugLoc DL);
|
/external/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 118 DL.getIntPtrType(Context), nullptr); 125 DL.getIntPtrType(Context), nullptr); 132 DL.getIntPtrType(Context), nullptr); 466 Type *IntPtr = DL.getIntPtrType(Context); 477 Type *IntPtr = DL.getIntPtrType(Context); 489 Type *IntPtr = DL.getIntPtrType(Op0->getType());
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 76 ThreadSanitizer() : FunctionPass(ID), DL(nullptr) {} 92 const DataLayout *DL; member in struct:__anon26258::ThreadSanitizer 221 DL = &DLP->getDataLayout(); 225 IntptrTy = IRB.getIntPtrTy(DL); 314 if (!DL) return false; 556 uint32_t TypeSize = DL->getTypeStoreSizeInBits(OrigTy);
|
/external/llvm/include/llvm/ExecutionEngine/ |
H A D | ExecutionEngine.h | 114 const DataLayout *DL; member in class:llvm::ExecutionEngine 136 void setDataLayout(const DataLayout *Val) { DL = Val; } 241 const DataLayout *getDataLayout() const { return DL; }
|
/external/llvm/lib/Object/ |
H A D | IRObjectFile.cpp | 39 const DataLayout *DL = M->getDataLayout(); local 40 if (!DL) 43 Mang.reset(new Mangler(DL));
|
/external/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.h | 255 DebugLoc DL) const override; 260 MachineBasicBlock::iterator MI, DebugLoc DL, 265 MachineBasicBlock::iterator MI, DebugLoc DL,
|
/external/llvm/include/llvm/Analysis/ |
H A D | IVUsers.h | 125 const DataLayout *DL; member in class:llvm::IVUsers
|
/external/llvm/include/llvm/IR/ |
H A D | Operator.h | 448 bool accumulateConstantOffset(const DataLayout &DL, APInt &Offset) const { argument 450 DL.getPointerSizeInBits(getPointerAddressSpace()) && 464 const StructLayout *SL = DL.getStructLayout(STy); 473 DL.getTypeAllocSize(GTI.getIndexedType()));
|
H A D | Value.h | 414 Value *stripAndAccumulateInBoundsConstantOffsets(const DataLayout &DL, 416 const Value *stripAndAccumulateInBoundsConstantOffsets(const DataLayout &DL, argument 419 ->stripAndAccumulateInBoundsConstantOffsets(DL, Offset); 433 bool isDereferenceablePointer(const DataLayout *DL = nullptr) const;
|
/external/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 123 DataLayout* DL = new DataLayout(M.get()); local 124 IntegerType *IntPtrTy = Builder.getIntPtrTy(DL); 125 unsigned IntPtrBitSize = DL->getPointerSizeInBits(0); 127 delete DL;
|