/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypes.cpp | 419 // and TLI.RegClassForVT does not have a register class for this type. 426 !TLI.isTypeLegal(Node.getValueType(i))) { 436 !TLI.isTypeLegal(Node.getOperand(i).getValueType())) { 754 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && 767 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) || 769 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType())) && 779 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType())) && 786 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) && 822 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) & [all...] |
LegalizeIntegerTypes.cpp | 182 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 212 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); 216 if (!TLI.isTypeLegal(SVT)) 247 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT); 249 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 317 TLI.getShiftAmountTy(NVT, DAG.getDataLayout()))); 330 TLI.getShiftAmountTy(NVT, DAG.getDataLayout()))); 337 TLI.getTypeToTransformTo(*DAG.getContext(), 350 TLI.getTypeToTransformTo(*DAG.getContext(), VT), 362 EVT OutVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)) [all...] |
DAGCombiner.cpp | 88 const TargetLowering &TLI; 462 : DAG(D), TLI(D.getTargetLoweringInfo()), Level(BeforeLegalizeTypes), 479 return LegalTypes ? TLI.getScalarShiftAmountTy(DL, LHSTy) 480 : TLI.getPointerTy(DL); 487 return TLI.isTypeLegal(VT); 492 return TLI.getSetCCResultType(DAG.getDataLayout(), *DAG.getContext(), VT); 569 const TargetLowering &TLI, 593 !TLI.isOperationLegalOrCustom(ISD::FSUB, Op.getValueType())) 597 if (char V = isNegatibleForFree(Op.getOperand(0), LegalOperations, TLI, 601 return isNegatibleForFree(Op.getOperand(1), LegalOperations, TLI, Options [all...] |
LegalizeTypesGeneric.cpp | 43 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 72 if (TLI.hasBigEndianPartOrdering(InVT, DL) != 73 TLI.hasBigEndianPartOrdering(OutVT, DL)) 81 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) 98 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) 131 DAG.getConstant(i, dl, TLI.getVectorIdxTy(DAG.getDataLayout())))); 192 if (TLI.hasBigEndianPartOrdering(OutVT, DAG.getDataLayout())) 225 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); 262 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), ValueVT); 292 if (TLI.hasBigEndianPartOrdering(ValueVT, DAG.getDataLayout()) [all...] |
LegalizeVectorTypes.cpp | 263 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); 290 TLI.getBooleanContents(false, false); 291 TargetLowering::BooleanContent VecBool = TLI.getBooleanContents(true, false); 297 if (TLI.getBooleanContents(false, false) != 298 TLI.getBooleanContents(false, true)) { 303 ScalarBool = TLI.getBooleanContents(OpVT.getScalarType()); 304 VecBool = TLI.getBooleanContents(OpVT); 397 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); 400 DAG.getConstant(0, DL, TLI.getVectorIdxTy(DAG.getDataLayout()))); 409 TargetLowering::getExtendForContent(TLI.getBooleanContents(OpVT)) [all...] |
FastISel.cpp | 169 EVT RealVT = TLI.getValueType(DL, V->getType(), /*AllowUnknown=*/true); 178 if (!TLI.isTypeLegal(VT)) { 181 VT = TLI.getTypeToTransformTo(V->getContext(), VT).getSimpleVT(); 231 EVT IntVT = TLI.getPointerTy(DL); 255 Reg = createResultReg(TLI.getRegClassFor(VT)); 324 MVT PtrVT = TLI.getPointerTy(DL); 392 if (!TLI.isTypeLegal(VT)) { 397 VT = TLI.getTypeToTransformTo(I->getContext(), VT); 496 MVT VT = TLI.getPointerTy(DL); 642 const MCPhysReg *ScratchRegs = TLI.getScratchRegisters(CC) [all...] |
/external/llvm/lib/CodeGen/ |
StackProtector.cpp | 91 TLI = TM->getSubtargetImpl(Fn)->getTargetLowering(); 274 const TargetLoweringBase *TLI) { 305 returnTypeIsEligibleForTailCall(BB->getParent(), CI, RI, *TLI)) 332 const TargetLoweringBase *TLI, const Triple &TT, 337 if (TLI->getStackCookieLocation(AddressSpace, Offset)) { 384 CreatePrologue(F, M, RI, TLI, Trip, AI, StackGuardVar); 391 if (CallInst *CI = FindPotentialTailCall(BB, RI, TLI)) {
|
/external/llvm/include/llvm/Analysis/ |
ValueTracking.h | 246 const TargetLibraryInfo *TLI = nullptr); 256 const TargetLibraryInfo *TLI = nullptr); 285 const TargetLibraryInfo *TLI = nullptr); 300 bool isKnownNonNull(const Value *V, const TargetLibraryInfo *TLI = nullptr); 309 const TargetLibraryInfo *TLI = nullptr);
|
GlobalsModRef.h | 75 explicit GlobalsAAResult(const DataLayout &DL, const TargetLibraryInfo &TLI); 80 static GlobalsAAResult analyzeModule(Module &M, const TargetLibraryInfo &TLI,
|
LazyValueInfo.h | 32 class TargetLibraryInfo *TLI;
|
VectorUtils.h | 62 Intrinsic::ID getIntrinsicIDForCall(CallInst *CI, const TargetLibraryInfo *TLI);
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 60 const TargetLibraryInfo *TLI = nullptr); 70 const TargetLibraryInfo *TLI = nullptr); 77 const TargetLibraryInfo *TLI = nullptr); 85 const TargetLibraryInfo *TLI = nullptr); 93 const TargetLibraryInfo *TLI = nullptr);
|
SimplifyLibCalls.h | 40 const TargetLibraryInfo *TLI; 44 FortifiedLibCallSimplifier(const TargetLibraryInfo *TLI, 75 const TargetLibraryInfo *TLI; 89 LibCallSimplifier(const DataLayout &DL, const TargetLibraryInfo *TLI,
|
/external/llvm/unittests/Analysis/ |
AliasAnalysisTest.cpp | 83 explicit TestCustomAAResult(const TargetLibraryInfo &TLI, 85 : AAResultBase(TLI), CB(std::move(CB)) {} 149 TargetLibraryInfo TLI; 154 AliasAnalysisTest() : M("AliasAnalysisTest", C), TLI(TLII) {} 162 BAR.reset(new BasicAAResult(M.getDataLayout(), TLI, *AC));
|
/external/llvm/lib/Transforms/Scalar/ |
LICM.cpp | 88 const TargetLibraryInfo *TLI, 100 DominatorTree *DT, TargetLibraryInfo *TLI, 145 TargetLibraryInfo *TLI; // TargetLibraryInfo for constant folding. 198 TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(); 250 Changed |= sinkRegion(DT->getNode(L->getHeader()), AA, LI, DT, TLI, CurLoop, 253 Changed |= hoistRegion(DT->getNode(L->getHeader()), AA, LI, DT, TLI, 308 DominatorTree *DT, TargetLibraryInfo *TLI, Loop *CurLoop, 327 sinkRegion(Children[i], AA, LI, DT, TLI, CurLoop, CurAST, SafetyInfo); 337 if (isInstructionTriviallyDead(&I, TLI)) { 352 canSinkOrHoistInst(I, AA, DT, TLI, CurLoop, CurAST, SafetyInfo)) [all...] |
LoopInstSimplify.cpp | 80 const TargetLibraryInfo *TLI = 125 Value *V = SimplifyInstruction(I, DL, TLI, DT, &AC); 136 bool res = RecursivelyDeleteTriviallyDeadInstructions(I, TLI);
|
PartiallyInlineLibCalls.cpp | 63 TargetLibraryInfo *TLI = 82 !TLI->getLibFunc(CalledFunc->getName(), LibFunc))
|
LoopIdiomRecognize.cpp | 74 TargetLibraryInfo *TLI; 172 const TargetLibraryInfo *TLI) { 177 RecursivelyDeleteTriviallyDeadInstructions(Op, TLI); 205 TLI = &getAnalysis<TargetLibraryInfoWrapperPass>().getTLI(); 417 if (!TLI->has(LibFunc::memset)) 510 if (SplatValue && TLI->has(LibFunc::memset) && 516 } else if (DestAS == 0 && TLI->has(LibFunc::memset_pattern16) && 553 RecursivelyDeleteTriviallyDeadInstructions(BasePtr, TLI); 603 deleteDeadInstruction(TheStore, TLI); 615 if (!TLI->has(LibFunc::memcpy) [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCTargetTransformInfo.cpp | 264 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode"); 274 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); 285 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode"); 297 int ISD = TLI->InstructionOpcodeToISD(Opcode); 336 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Src); 399 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, VecTy);
|
/external/llvm/lib/Target/AArch64/ |
AArch64TargetTransformInfo.cpp | 180 int ISD = TLI->InstructionOpcodeToISD(Opcode); 183 EVT SrcTy = TLI->getValueType(DL, Src); 184 EVT DstTy = TLI->getValueType(DL, Dst); 300 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Val); 324 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); 326 int ISD = TLI->InstructionOpcodeToISD(Opcode); 383 int ISD = TLI->InstructionOpcodeToISD(Opcode); 399 EVT SelCondTy = TLI->getValueType(DL, CondTy); 400 EVT SelValTy = TLI->getValueType(DL, ValTy); 413 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Src) [all...] |
/external/llvm/lib/Transforms/Utils/ |
SimplifyLibCalls.cpp | 96 static bool hasUnaryFloatFn(const TargetLibraryInfo *TLI, Type *Ty, 101 return TLI->has(FloatFn); 103 return TLI->has(DoubleFn); 105 return TLI->has(LongDoubleFn); 225 Value *DstLen = EmitStrLen(Dst, B, DL, TLI); 305 B, DL, TLI); 313 return B.CreateGEP(B.getInt8Ty(), SrcStr, EmitStrLen(SrcStr, B, DL, TLI), "strchr"); 349 return EmitStrChr(SrcStr, '\0', B, TLI); 399 B, DL, TLI); 430 return EmitMemCmp(Str1P, Str2P, CI->getArgOperand(2), B, DL, TLI); [all...] |
Local.cpp | 66 const TargetLibraryInfo *TLI) { 110 RecursivelyDeleteTriviallyDeadInstructions(Cond, TLI); 204 RecursivelyDeleteTriviallyDeadInstructions(Cond, TLI); 262 RecursivelyDeleteTriviallyDeadInstructions(Address, TLI); 288 const TargetLibraryInfo *TLI) { 332 if (isAllocLikeFn(I, TLI)) return true; 334 if (CallInst *CI = isFreeCall(I, TLI)) 347 const TargetLibraryInfo *TLI) { 349 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I, TLI)) 370 if (isInstructionTriviallyDead(OpI, TLI)) [all...] |
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyAsmPrinter.cpp | 135 const WebAssemblyTargetLowering &TLI = 138 ComputeValueVTs(TLI, DL, Ty, VTs); 141 unsigned NumRegs = TLI.getNumRegisters(F.getContext(), VT); 142 MVT RegisterVT = TLI.getRegisterType(F.getContext(), VT);
|
/external/llvm/lib/Target/ARM/ |
ARMSelectionDAGInfo.cpp | 32 const ARMTargetLowering *TLI = Subtarget.getTargetLowering(); 36 if (std::strncmp(TLI->getLibcallName(LC), "__aeabi", 7) != 0) 121 TLI->getLibcallCallingConv(LC), Type::getVoidTy(*DAG.getContext()), 123 TLI->getPointerTy(DAG.getDataLayout())), 126 std::pair<SDValue,SDValue> CallResult = TLI->LowerCallTo(CLI);
|
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 94 TargetLibraryInfo *TLI; 159 static bool IsSafeComputationToRemove(Value *V, const TargetLibraryInfo *TLI) { 168 if (isAllocationFn(V, TLI)) 189 const TargetLibraryInfo *TLI) { 245 CleanupPointerRootUsers(GV, TLI); 252 if (IsSafeComputationToRemove(Dead[i].first, TLI)) { 256 if (isAllocationFn(I, TLI)) 276 TargetLibraryInfo *TLI) { 306 Changed |= CleanupConstantGlobalUsers(CE, SubInit, DL, TLI); 311 Changed |= CleanupConstantGlobalUsers(CE, nullptr, DL, TLI); [all...] |