Home | History | Annotate | Download | only in Scalar

Lines Matching refs:TLI

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());
381 if (TLI.getTypeAction(CI->getContext(), SrcVT) ==
383 SrcVT = TLI.getTypeToTransformTo(CI->getContext(), SrcVT);
384 if (TLI.getTypeAction(CI->getContext(), DstVT) ==
386 DstVT = TLI.getTypeToTransformTo(CI->getContext(), DstVT);
518 if (TLI && isa<InlineAsm>(CI->getCalledValue())) {
519 if (TLI->ExpandInlineAsm(CI)) {
544 ReplaceAndSimplifyAllUses(CI, RetVal, TLI ? TLI->getTargetData() : 0,
560 const TargetData *TD = TLI ? TLI->getTargetData() : 0;
600 if (!TLI)
641 TLI->mayBeEmittedAsTailCall(CI))
658 if (CI && CI->use_empty() && TLI->mayBeEmittedAsTailCall(CI))
754 NewAddrModeInsts, *TLI);
828 TLI->getTargetData()->getIntPtrType(AccessTy->getContext());
926 TargetConstraints = TLI->ParseConstraints(CS);
932 TLI->ComputeConstraintToUse(OpInfo, SDValue());
961 TLI && (TLI->isTypeLegal(TLI->getValueType(LI->getType())) ||
962 !TLI->isTypeLegal(TLI->getValueType(I->getType()))) &&
963 !TLI->isTruncateFree(I->getType(), LI->getType()))
974 if (TLI && !TLI->isLoadExtLegal(LType, TLI->getValueType(LI->getType())))
995 if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType()))
1083 if (TLI && OptimizeNoopCopyExpression(CI, *TLI))
1097 if (TLI)
1103 if (TLI)