Searched refs:TLI (Results 76 - 100 of 134) sorted by relevance

123456

/external/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp277 const TargetLowering *TLI,
315 RegClass = TLI->getRepRegClassFor(VT)->getID();
316 Cost = TLI->getRepRegClassCostFor(VT);
1627 const TargetLowering *TLI;
1651 MF(mf), TII(tii), TRI(tri), TLI(tli), scheduleDAG(nullptr) {
1940 if (!TLI)
1956 GetCostForDef(RegDefPos, TLI, TII, TRI, RCId, Cost, MF);
1976 unsigned RCId = TLI->getRepRegClassFor(VT)->getID();
2008 unsigned RCId = TLI->getRepRegClassFor(VT)->getID();
2023 unsigned RCId = TLI
276 GetCostForDef(const ScheduleDAGSDNodes::RegDefIter &RegDefPos, const TargetLowering *TLI, const TargetInstrInfo *TII, const TargetRegisterInfo *TRI, unsigned &RegClass, unsigned &Cost, const MachineFunction &MF) argument
[all...]
H A DSelectionDAGISel.cpp287 const TargetLowering *TLI = IS->getTargetLowering(); local
291 TLI->getSchedulingPreference() == Sched::Source)
293 if (TLI->getSchedulingPreference() == Sched::RegPressure)
295 if (TLI->getSchedulingPreference() == Sched::Hybrid)
297 if (TLI->getSchedulingPreference() == Sched::VLIW)
299 assert(TLI->getSchedulingPreference() == Sched::ILP &&
416 const TargetLowering *TLI = TM.getTargetLowering(); local
439 CurDAG->init(*MF, TLI);
909 const TargetLowering *TLI = getTargetLowering(); local
910 const TargetRegisterClass *PtrRC = TLI
2263 CheckType(const unsigned char *MatcherTable, unsigned &MatcherIndex, SDValue N, const TargetLowering *TLI) argument
2273 CheckChildType(const unsigned char *MatcherTable, unsigned &MatcherIndex, SDValue N, const TargetLowering *TLI, unsigned ChildNo) argument
2288 CheckValueType(const unsigned char *MatcherTable, unsigned &MatcherIndex, SDValue N, const TargetLowering *TLI) argument
[all...]
H A DLegalizeTypes.h35 const TargetLowering &TLI; member in class:llvm::DAGTypeLegalizer
67 return TLI.getTypeAction(*DAG.getContext(), VT);
72 return TLI.getTypeAction(*DAG.getContext(), VT) == TargetLowering::TypeLegal;
76 return TLI.getSetCCResultType(*DAG.getContext(), VT);
123 : TLI(dag.getTargetLoweringInfo()), DAG(dag),
124 ValueTypeActions(TLI.getValueTypeActions()) {
H A DSelectionDAGDumper.cpp45 const TargetLowering &TLI = G->getTargetLoweringInfo(); local
46 const char *Name = TLI.getTargetNodeName(getOpcode());
/external/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp277 if (isFreeCall(I, TLI))
327 if (!isAllocLikeFn(Ptr, TLI))
453 } else if (isAllocationFn(&*II, TLI) || isFreeCall(&*II, TLI)) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1692 if (isa<AllocaInst>(Operand) || isAllocationFn(Operand, TLI)) {
1728 const TargetLibraryInfo *TLI) {
1783 if (isFreeCall(I, TLI)) {
1808 if (isAllocSiteRemovable(&MI, Users, TLI)) {
2540 const TargetLibraryInfo *TLI) {
2558 if (isInstructionTriviallyDead(Inst, TLI)) {
2567 if (Constant *C = ConstantFoldInstruction(Inst, DL, TLI)) {
2585 FoldRes = ConstantFoldConstantExpression(CE, DL, TLI);
2653 TLI);
2688 if (isInstructionTriviallyDead(I, TLI)) {
1727 isAllocSiteRemovable(Instruction *AI, SmallVectorImpl<WeakVH> &Users, const TargetLibraryInfo *TLI) argument
2536 AddReachableCodeToWorklist(BasicBlock *BB, SmallPtrSet<BasicBlock*, 64> &Visited, InstCombiner &IC, const DataLayout *DL, const TargetLibraryInfo *TLI) argument
2807 InstCombinerLibCallSimplifier(const DataLayout *DL, const TargetLibraryInfo *TLI, InstCombiner *IC) argument
[all...]
H A DInstCombine.h90 TargetLibraryInfo *TLI; member in class:llvm::InstCombiner
119 TargetLibraryInfo *getTargetLibraryInfo() const { return TLI; }
/external/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp267 const TargetLibraryInfo *TLI; member in class:__anon26278::EarlyCSE
426 if (isInstructionTriviallyDead(Inst, TLI)) {
436 if (Value *V = SimplifyInstruction(Inst, DL, TLI, DT)) {
563 TLI = &getAnalysis<TargetLibraryInfo>();
H A DMemCpyOptimizer.cpp315 TargetLibraryInfo *TLI; member in class:__anon26311::MemCpyOpt
322 TLI = nullptr;
906 if (!TLI->has(LibFunc::memmove))
1048 TLI = &getAnalysis<TargetLibraryInfo>();
1053 if (!TLI->has(LibFunc::memset) || !TLI->has(LibFunc::memcpy))
H A DIndVarSimplify.cpp76 TargetLibraryInfo *TLI; member in class:__anon26282::IndVarSimplify
421 RecursivelyDeleteTriviallyDeadInstructions(Compare, TLI);
425 RecursivelyDeleteTriviallyDeadInstructions(Incr, TLI);
438 RecursivelyDeleteTriviallyDeadInstructions(PN, TLI);
613 if (isInstructionTriviallyDead(Inst, TLI))
1819 TLI = getAnalysisIfAvailable<TargetLibraryInfo>();
1886 RecursivelyDeleteTriviallyDeadInstructions(Inst, TLI);
1895 Changed |= DeleteDeadPHIs(L->getHeader(), TLI);
H A DLICM.cpp113 TargetLibraryInfo *TLI; // TargetLibraryInfo for constant folding. member in struct:__anon26287::LICM
236 TLI = &getAnalysis<TargetLibraryInfo>();
366 if (isInstructionTriviallyDead(&I, TLI)) {
408 if (Constant *C = ConstantFoldInstruction(&I, DL, TLI)) {
H A DLoopRerollPass.cpp146 TargetLibraryInfo *TLI; member in class:__anon26293::LoopReroll
1124 SimplifyInstructionsInBlock(Header, DL, TLI);
1125 DeleteDeadPHIs(Header, TLI);
1137 TLI = &getAnalysis<TargetLibraryInfo>();
H A DSCCP.cpp158 const TargetLibraryInfo *TLI; member in class:__anon26321::SCCPSolver
210 : DL(DL), TLI(tli) {}
1112 if (Constant *C = ConstantFoldCall(F, Operands, TLI))
1562 const TargetLibraryInfo *TLI = &getAnalysis<TargetLibraryInfo>(); local
1563 SCCPSolver Solver(DL, TLI);
1691 const TargetLibraryInfo *TLI = &getAnalysis<TargetLibraryInfo>(); local
1692 SCCPSolver Solver(DL, TLI);
/external/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp870 TargetLoweringBase *TLI) {
886 while (NumElts > 1 && !TLI->isTypeLegal(MVT::getVectorVT(EltTy, NumElts))) {
894 if (!TLI->isTypeLegal(NewVT))
904 MVT DestVT = TLI->getRegisterType(NewVT);
1273 const TargetLowering &TLI) {
1275 ComputeValueVTs(TLI, ReturnType, ValueVTs);
1293 MVT MinVT = TLI.getRegisterType(ReturnType->getContext(), MVT::i32);
1298 unsigned NumParts = TLI.getNumRegisters(ReturnType->getContext(), VT);
1299 MVT PartVT = TLI.getRegisterType(ReturnType->getContext(), VT);
867 getVectorTypeBreakdownMVT(MVT VT, MVT &IntermediateVT, unsigned &NumIntermediates, MVT &RegisterVT, TargetLoweringBase *TLI) argument
1271 GetReturnInfo(Type* ReturnType, AttributeSet attr, SmallVectorImpl<ISD::OutputArg> &Outs, const TargetLowering &TLI) argument
H A DSjLjEHPrepare.cpp193 const TargetLowering *TLI = TM->getTargetLowering(); local
195 TLI->getDataLayout()->getPrefTypeAlignment(FunctionContextTy);
H A DMachineLICM.cpp66 const TargetLoweringBase *TLI; member in class:__anon25767::MachineLICM
329 TLI = TM->getTargetLowering();
792 RCId = TLI->getRepRegClassFor(VT)->getID();
793 RCCost = TLI->getRepRegClassCostFor(VT);
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp253 const TargetLibraryInfo *TLI, unsigned VecWidth,
255 : OrigLoop(OrigLoop), SE(SE), LI(LI), DT(DT), DL(DL), TLI(TLI),
415 const TargetLibraryInfo *TLI; member in class:__anon26368::InnerLoopVectorizer
463 const TargetLibraryInfo *TLI, unsigned UnrollFactor) :
464 InnerLoopVectorizer(OrigLoop, SE, LI, DT, DL, TLI, 1, UnrollFactor) { }
541 DominatorTree *DT, TargetLibraryInfo *TLI,
544 DT(DT), TLI(TLI), TheFunction(F), Induction(nullptr),
794 TargetLibraryInfo *TLI; member in class:__anon26368::LoopVectorizationLegality
251 InnerLoopVectorizer(Loop *OrigLoop, ScalarEvolution *SE, LoopInfo *LI, DominatorTree *DT, const DataLayout *DL, const TargetLibraryInfo *TLI, unsigned VecWidth, unsigned UnrollFactor) argument
461 InnerLoopUnroller(Loop *OrigLoop, ScalarEvolution *SE, LoopInfo *LI, DominatorTree *DT, const DataLayout *DL, const TargetLibraryInfo *TLI, unsigned UnrollFactor) argument
540 LoopVectorizationLegality(Loop *L, ScalarEvolution *SE, const DataLayout *DL, DominatorTree *DT, TargetLibraryInfo *TLI, Function *F) argument
839 LoopVectorizationCostModel(Loop *L, ScalarEvolution *SE, LoopInfo *LI, LoopVectorizationLegality *Legal, const TargetTransformInfo &TTI, const DataLayout *DL, const TargetLibraryInfo *TLI) argument
918 const TargetLibraryInfo *TLI; member in class:__anon26368::LoopVectorizationCostModel
1115 TargetLibraryInfo *TLI; member in struct:__anon26368::LoopVectorize
[all...]
/external/clang/lib/CodeGen/
H A DBackendUtil.cpp496 TargetLibraryInfo *TLI = new TargetLibraryInfo(TargetTriple); local
498 TLI->disableAllFunctions();
499 PM->add(TLI);
/external/llvm/lib/Analysis/
H A DPHITransAddr.cpp231 if (Value *V = SimplifyGEPInst(GEPOps, DL, TLI, DT)) {
286 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT)) {
H A DLazyValueInfo.cpp1019 TLI = &getAnalysis<TargetLibraryInfo>();
1079 TLI);
1121 TLI);
1128 TLI);
H A DLint.cpp106 TargetLibraryInfo *TLI; member in class:__anon25689::Lint
181 TLI = &getAnalysis<TargetLibraryInfo>();
681 if (Value *W = SimplifyInstruction(Inst, DL, TLI, DT))
684 if (Value *W = ConstantFoldConstantExpression(CE, DL, TLI))
H A DMemoryDependenceAnalysis.cpp503 const TargetLibraryInfo *TLI = AA->getTargetLibraryInfo(); local
504 if (isa<AllocaInst>(Inst) || isNoAliasFn(Inst, TLI)) {
515 isMallocLikeFn(Inst, TLI) || isCallocLikeFn(Inst, TLI))
/external/llvm/include/llvm/CodeGen/
H A DFastISel.h60 const TargetLowering &TLI; member in class:llvm::FastISel
/external/llvm/lib/Transforms/IPO/
H A DInliner.cpp445 const TargetLibraryInfo *TLI = getAnalysisIfAvailable<TargetLibraryInfo>(); local
524 if (isInstructionTriviallyDead(CS.getInstruction(), TLI)) {
/external/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h709 explicit TargetLibraryInfo(const TargetLibraryInfo &TLI);

Completed in 330 milliseconds

123456