HomeSort by relevance Sort by last modified time
    Searched refs:TLI (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/llvm/lib/Target/
TargetLibraryInfo.cpp 26 static void initialize(TargetLibraryInfo &TLI, const Triple &T) {
33 TLI.setUnavailable(LibFunc::memset_pattern16);
36 TLI.setUnavailable(LibFunc::memset_pattern16);
38 TLI.setUnavailable(LibFunc::memset_pattern16);
43 TLI.setUnavailable(LibFunc::iprintf);
44 TLI.setUnavailable(LibFunc::siprintf);
45 TLI.setUnavailable(LibFunc::fiprintf);
64 TargetLibraryInfo::TargetLibraryInfo(const TargetLibraryInfo &TLI)
66 memcpy(AvailableArray, TLI.AvailableArray, sizeof(AvailableArray));
Target.cpp 43 void LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef TLI,
45 unwrap(PM)->add(new TargetLibraryInfo(*unwrap(TLI)));
  /external/llvm/include/llvm/CodeGen/
Analysis.h 54 void ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
65 const TargetLowering &TLI);
85 const TargetLowering &TLI);
88 const TargetLowering &TLI);
FunctionLoweringInfo.h 58 const TargetLowering &TLI;
123 explicit FunctionLoweringInfo(const TargetLowering &TLI);
  /external/llvm/include/llvm/Transforms/
Scalar.h 113 Pass *createLoopStrengthReducePass(const TargetLowering *TLI = 0);
115 Pass *createGlobalMergePass(const TargetLowering *TLI = 0);
243 FunctionPass *createLowerInvokePass(const TargetLowering *TLI = 0);
244 FunctionPass *createLowerInvokePass(const TargetLowering *TLI,
301 FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0);
  /external/llvm/lib/Transforms/Scalar/
GlobalMerge.cpp 74 /// TLI - Keep a pointer of a TargetLowering to consult for determining
76 const TargetLowering *TLI;
83 explicit GlobalMerge(const TargetLowering *tli = 0)
84 : FunctionPass(ID), TLI(tli) {
122 const TargetData *TD = TLI->getTargetData();
127 unsigned MaxOffset = TLI->getMaximalGlobalOffset();
173 const TargetData *TD = TLI->getTargetData();
174 unsigned MaxOffset = TLI->getMaximalGlobalOffset();
196 const TargetLoweringObjectFile &TLOF = TLI->getObjFileLowering()
    [all...]
CodeGenPrepare.cpp 69 /// TLI - Keep a pointer of a TargetLowering to consult for determining
71 const TargetLowering *TLI;
91 explicit CodeGenPrepare(const TargetLowering *tli = 0)
92 : FunctionPass(ID), TLI(tli) {
122 FunctionPass *llvm::createCodeGenPreparePass(const TargetLowering *TLI) {
123 return new CodeGenPrepare(TLI);
365 static bool OptimizeNoopCopyExpression(CastInst *CI, const TargetLowering &TLI){
367 EVT SrcVT = TLI.getValueType(CI->getOperand(0)->getType());
368 EVT DstVT = TLI.getValueType(CI->getType())
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
AddrModeMatcher.h 12 // specified by TLI for an access to "V" with an access type of AccessTy. This
57 const TargetLowering &TLI;
76 : AddrModeInsts(AMI), TLI(T), AccessTy(AT), MemoryInst(MI), AddrMode(AM) {
87 const TargetLowering &TLI) {
91 AddressingModeMatcher(AddrModeInsts, TLI, AccessTy,
  /external/llvm/lib/Transforms/Utils/
AddrModeMatcher.cpp 91 if (!TLI.isLegalAddressingMode(TestAddrMode, AccessTy))
108 if (TLI.isLegalAddressingMode(TestAddrMode, AccessTy)) {
164 if (TLI.getValueType(AddrInst->getOperand(0)->getType()) ==
165 TLI.getPointerTy())
222 const TargetData *TD = TLI.getTargetData();
250 if (ConstantOffset == 0 || TLI.isLegalAddressingMode(AddrMode, AccessTy)){
314 if (TLI.isLegalAddressingMode(AddrMode, AccessTy))
321 if (TLI.isLegalAddressingMode(AddrMode, AccessTy))
358 if (TLI.isLegalAddressingMode(AddrMode, AccessTy))
368 if (TLI.isLegalAddressingMode(AddrMode, AccessTy)
    [all...]
  /external/llvm/lib/CodeGen/
Analysis.cpp 75 void llvm::ComputeValueVTs(const TargetLowering &TLI, Type *Ty,
81 const StructLayout *SL = TLI.getTargetData()->getStructLayout(STy);
86 ComputeValueVTs(TLI, *EI, ValueVTs, Offsets,
93 uint64_t EltSize = TLI.getTargetData()->getTypeAllocSize(EltTy);
95 ComputeValueVTs(TLI, EltTy, ValueVTs, Offsets,
103 ValueVTs.push_back(TLI.getValueType(Ty));
130 const TargetLowering &TLI) {
134 TargetLowering::ConstraintType CType = TLI.getConstraintType(CI.Codes[j]);
209 const TargetLowering &TLI) {
272 TLI.isTruncateFree(U->getOperand(0)->getType(), U->getType())
    [all...]
ExpandISelPseudos.cpp 55 const TargetLowering *TLI = MF.getTarget().getTargetLowering();
69 TLI->EmitInstrWithCustomInserter(MI, MBB);
StackProtector.cpp 42 /// TLI - Keep a pointer of a TargetLowering to consult for determining
44 const TargetLowering *TLI;
68 StackProtector() : FunctionPass(ID), TLI(0) {
71 StackProtector(const TargetLowering *tli)
72 : FunctionPass(ID), TLI(tli) {
88 FunctionPass *llvm::createStackProtectorPass(const TargetLowering *tli) {
89 return new StackProtector(tli);
113 const TargetData *TD = TLI->getTargetData();
170 if (TLI->getStackCookieLocation(AddressSpace, Offset))
    [all...]
  /external/llvm/include/llvm/Target/
TargetLibraryInfo.h 54 explicit TargetLibraryInfo(const TargetLibraryInfo &TLI);
  /external/llvm/lib/Target/X86/
X86SelectionDAGInfo.h 30 const X86TargetLowering &TLI;
  /external/llvm/lib/CodeGen/SelectionDAG/
LegalizeDAG.cpp 51 const TargetLowering &TLI;
188 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?");
193 : TM(dag.getTarget()), TLI(dag.getTargetLoweringInfo()),
336 SelectionDAG &DAG, const TargetLowering &TLI) {
361 TLI.isLoadExtLegal(ISD::EXTLOAD, SVT) &&
362 TLI.ShouldShrinkFPConstant(OrigVT)) {
370 SDValue CPIdx = DAG.getConstantPool(LLVMC, TLI.getPointerTy());
385 const TargetLowering &TLI) {
395 if (TLI.isTypeLegal(intVT)) {
407 TLI.getRegisterType(*DAG.getContext()
    [all...]
FastISel.cpp 109 EVT RealVT = TLI.getValueType(V->getType(), /*AllowUnknown=*/true);
118 if (!TLI.isTypeLegal(VT)) {
121 VT = TLI.getTypeToTransformTo(V->getContext(), VT).getSimpleVT();
183 EVT IntVT = TLI.getPointerTy();
207 Reg = createResultReg(TLI.getRegClassFor(VT));
271 MVT PtrVT = TLI.getPointerTy();
331 if (!TLI.isTypeLegal(VT)) {
337 VT = TLI.getTypeToTransformTo(I->getContext(), VT);
431 MVT VT = TLI.getPointerTy();
585 EVT VT = TLI.getValueType(Call->getType())
    [all...]
LegalizeVectorOps.cpp 37 const TargetLowering &TLI;
78 DAG(dag), TLI(dag.getTargetLoweringInfo()), Changed(false) {}
133 if (TLI.isLoadExtLegal(LD->getExtensionType(), LD->getMemoryVT()))
143 switch (TLI.getTruncStoreAction(ValVT, StVT)) {
149 return LegalizeOp(TLI.LowerOperation(Result, DAG));
230 switch (TLI.getOperationAction(Node->getOpcode(), QueryType)) {
238 SDValue Tmp1 = TLI.LowerOperation(Op, DAG);
278 EVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT);
397 if (!TLI.isOperationLegalOrCustom(ISD::AND, VT) ||
398 !TLI.isOperationLegalOrCustom(ISD::XOR, VT) |
    [all...]
LegalizeTypesGeneric.cpp 42 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT);
69 if (TLI.isBigEndian())
89 if (TLI.isBigEndian())
109 if (TLI.isBigEndian())
122 TLI.getTargetData()->getPrefTypeAlignment(NOutVT.
146 if (TLI.isBigEndian())
178 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT);
189 if (Idx.getValueType().bitsLT(TLI.getPointerTy()))
190 Idx = DAG.getNode(ISD::ZERO_EXTEND, dl, TLI.getPointerTy(), Idx);
199 if (TLI.isBigEndian()
    [all...]
FunctionLoweringInfo.cpp 57 FunctionLoweringInfo::FunctionLoweringInfo(const TargetLowering &tli)
58 : TLI(tli) {
69 Fn->getAttributes().getRetAttributes(), Outs, TLI);
70 CanLowerReturn = TLI.CanLowerReturn(Fn->getCallingConv(), *MF,
82 uint64_t TySize = TLI.getTargetData()->getTypeAllocSize(Ty);
84 std::max((unsigned)TLI.getTargetData()->getPrefTypeAlignment(Ty),
168 ComputeValueVTs(TLI, PN->getType(), ValueVTs);
171 unsigned NumRegisters = TLI.getNumRegisters(Fn->getContext(), VT);
209 return RegInfo->createVirtualRegister(TLI.getRegClassFor(VT))
    [all...]
SelectionDAGBuilder.cpp 105 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
134 if (TLI.isBigEndian())
148 if (TLI.isBigEndian())
154 TLI.getPointerTy()));
165 if (TLI.isBigEndian())
222 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
230 TLI.getVectorTypeBreakdown(*DAG.getContext(), ValueVT, IntermediateVT,
298 TLI.isTypeLegal(ValueVT))
335 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
338 assert(TLI.isTypeLegal(PartVT) && "Copying to an illegal type!")
    [all...]
LegalizeFloatTypes.cpp 120 TLI.getTypeToTransformTo(*DAG.getContext(),
128 TLI.getTypeToTransformTo(*DAG.getContext(),
140 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
152 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
188 TLI.getShiftAmountTy(RVT)));
196 TLI.getShiftAmountTy(SignBit.getValueType())));
202 TLI.getShiftAmountTy(SignBit.getValueType())));
208 TLI.getShiftAmountTy(LVT)));
217 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0))
    [all...]
LegalizeTypes.cpp 734 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
745 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
777 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
804 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
    [all...]
LegalizeIntegerTypes.cpp 167 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
208 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT);
210 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT);
244 if (TLI.isBigEndian())
271 DAG.getConstant(DiffBits, TLI.getPointerTy()));
278 TLI.getTypeToTransformTo(*DAG.getContext(),
291 TLI.getTypeToTransformTo(*DAG.getContext(), VT),
303 EVT OutVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
344 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
350 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0))
    [all...]
DAGCombiner.cpp 60 const TargetLowering &TLI;
282 : DAG(D), TLI(D.getTargetLoweringInfo()), Level(Unrestricted),
293 return LegalTypes ? TLI.getShiftAmountTy(LHSTy) : TLI.getPointerTy();
300 return TLI.isTypeLegal(VT);
646 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO))
689 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD
718 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT))
724 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT))
768 if (TLI.isTypeDesirableForOp(Opc, VT)
    [all...]
  /external/llvm/lib/Target/ARM/
ARMSelectionDAGInfo.cpp 151 const ARMTargetLowering &TLI =
157 Type *IntPtrTy = TLI.getTargetData()->getIntPtrType(*DAG.getContext());
182 TLI.LowerCallTo(Chain,
189 TLI.getLibcallCallingConv(RTLIB::MEMSET), // call conv
192 DAG.getExternalSymbol(TLI.getLibcallName(RTLIB::MEMSET),
193 TLI.getPointerTy()), // callee

Completed in 771 milliseconds

1 2 3