HomeSort by: relevance | last modified time | path
    Searched refs:TargetTy (Results 1 - 7 of 7) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
Utils.cpp 759 LLT llvm::getLCMType(LLT OrigTy, LLT TargetTy) {
761 const unsigned TargetSize = TargetTy.getSizeInBits();
769 if (TargetTy.isVector()) {
770 const LLT TargetElt = TargetTy.getElementType();
774 TargetTy.getNumElements());
776 int Mul = OrigTy.getNumElements() * TargetTy.getNumElements();
788 if (TargetTy.isVector()) {
799 return TargetTy;
804 LLT llvm::getGCDType(LLT OrigTy, LLT TargetTy) {
806 const unsigned TargetSize = TargetTy.getSizeInBits()
    [all...]
LegalizerHelper.cpp 2627 LLT TargetTy = B.getMRI()->getType(TargetReg);
2629 auto ZextVal = B.buildZExt(TargetTy, InsertReg);
2630 auto ShiftedInsertVal = B.buildShl(TargetTy, ZextVal, OffsetBits);
2634 TargetTy, APInt::getLowBitsSet(TargetTy.getSizeInBits(),
2637 auto ShiftedMask = B.buildShl(TargetTy, EltMask, OffsetBits);
2638 auto InvShiftedMask = B.buildNot(TargetTy, ShiftedMask);
2641 auto MaskedOldElt = B.buildAnd(TargetTy, TargetReg, InvShiftedMask);
2645 return B.buildOr(TargetTy, MaskedOldElt, ShiftedInsertVal).getReg(0);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
Utils.h 279 /// Return the least common multiple type of \p OrigTy and \p TargetTy, by changing the
282 /// \p OrigTy elements, and unmerged into \p TargetTy
284 LLT getLCMType(LLT OrigTy, LLT TargetTy);
287 /// OrigTy and \p TargetTy. This will try to either change the number of vector
291 /// with intermediate casts) can re-form \p TargetTy.
300 LLT getGCDType(LLT OrigTy, LLT TargetTy);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
SROA.cpp 1416 /// TargetTy without changing the offset of the pointer.
1421 /// TargetTy. If we can't find one with the same type, we at least try to use
1425 Value *BasePtr, Type *Ty, Type *TargetTy,
1428 if (Ty == TargetTy)
1457 } while (ElementTy != TargetTy);
1458 if (ElementTy != TargetTy)
1470 Type *TargetTy,
1474 return getNaturalGEPWithType(IRB, DL, Ptr, Ty, TargetTy, Indices,
1498 Offset, TargetTy, Indices, NamePrefix);
1511 return getNaturalGEPRecursively(IRB, DL, Ptr, ElementTy, Offset, TargetTy,
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGExpr.cpp 3028 llvm::Type *TargetTy = IntPtrTy;
3030 if (V->getType() == TargetTy)
3037 if (Bits <= TargetTy->getIntegerBitWidth())
3044 V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth())
3045 return Builder.CreateZExt(V, TargetTy);
3053 return Builder.CreatePtrToInt(V, TargetTy);
CGOpenMPRuntimeGPU.cpp 3974 QualType TargetTy = TargetParam->getType();
3976 LocalAddr, /*Volatile=*/false, TargetTy, SourceLocation());
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Verifier.cpp 3623 Type *TargetTy = GEP.getPointerOperandType()->getScalarType();
3625 Assert(isa<PointerType>(TargetTy),

Completed in 84 milliseconds