| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
| H A D | PointerTypeAnalysis.cpp | 143 Type *TargetTy = nullptr; in classifyConstantWithOpaquePtr() local 151 TargetTy = StructType::get(C->getContext(), EltTys); in classifyConstantWithOpaquePtr() 162 TargetTy = ArrayType::get(TargetEltTy, AT->getNumElements()); in classifyConstantWithOpaquePtr() 166 TargetTy = VectorType::get(TargetEltTy, VT); in classifyConstantWithOpaquePtr() 170 assert(TargetTy && "PointerTypeAnalyisis failed to identify target type"); in classifyConstantWithOpaquePtr() 173 if (TargetTy == Ty) in classifyConstantWithOpaquePtr() 176 Map[C] = TargetTy; in classifyConstantWithOpaquePtr() 177 return TargetTy; in classifyConstantWithOpaquePtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Utils.cpp | 1183 LLT llvm::getLCMType(LLT OrigTy, LLT TargetTy) { in getLCMType() argument 1184 if (OrigTy.getSizeInBits() == TargetTy.getSizeInBits()) in getLCMType() 1187 if (OrigTy.isVector() && TargetTy.isVector()) { in getLCMType() 1189 LLT TargetElt = TargetTy.getElementType(); in getLCMType() 1197 assert(((OrigTy.isScalableVector() && !TargetTy.isFixedVector()) || in getLCMType() 1198 (OrigTy.isFixedVector() && !TargetTy.isScalableVector())) && in getLCMType() 1203 TargetTy.getElementCount().getKnownMinValue()); in getLCMType() 1206 TargetTy.getElementCount().getKnownMinValue()); in getLCMType() 1211 TargetTy.getSizeInBits().getKnownMinValue()); in getLCMType() 1218 if (OrigTy.isVector() || TargetTy.isVector()) { in getLCMType() [all …]
|
| H A D | LegalizerHelper.cpp | 3747 LLT TargetTy = B.getMRI()->getType(TargetReg); in buildBitFieldInsert() local 3749 auto ZextVal = B.buildZExt(TargetTy, InsertReg); in buildBitFieldInsert() 3750 auto ShiftedInsertVal = B.buildShl(TargetTy, ZextVal, OffsetBits); in buildBitFieldInsert() 3754 TargetTy, APInt::getLowBitsSet(TargetTy.getSizeInBits(), in buildBitFieldInsert() 3757 auto ShiftedMask = B.buildShl(TargetTy, EltMask, OffsetBits); in buildBitFieldInsert() 3758 auto InvShiftedMask = B.buildNot(TargetTy, ShiftedMask); in buildBitFieldInsert() 3761 auto MaskedOldElt = B.buildAnd(TargetTy, TargetReg, InvShiftedMask); in buildBitFieldInsert() 3765 return B.buildOr(TargetTy, MaskedOldElt, ShiftedInsertVal).getReg(0); in buildBitFieldInsert()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGHLSLRuntime.cpp | 95 if (llvm::Type *TargetTy = in convertHLSLSpecificType() local 97 return TargetTy; in convertHLSLSpecificType() 261 llvm::TargetExtType *TargetTy = in addBuffer() local 265 TargetTy, /*isConstant*/ false, in addBuffer() 266 GlobalValue::LinkageTypes::ExternalLinkage, PoisonValue::get(TargetTy), in addBuffer()
|
| H A D | CGExpr.cpp | 3539 llvm::Type *TargetTy = IntPtrTy; in EmitCheckValue() local 3541 if (V->getType() == TargetTy) in EmitCheckValue() 3548 if (Bits <= TargetTy->getIntegerBitWidth()) in EmitCheckValue() 3555 V->getType()->getIntegerBitWidth() <= TargetTy->getIntegerBitWidth()) in EmitCheckValue() 3556 return Builder.CreateZExt(V, TargetTy); in EmitCheckValue() 3564 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1810 QualType TargetTy = TargetParam->getType(); in getParameterAddress() local 1812 TargetTy, SourceLocation()); in getParameterAddress()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | Utils.h | 376 LLVM_ABI LLVM_READNONE LLT getLCMType(LLT OrigTy, LLT TargetTy); 382 getCoverTy(LLT OrigTy, LLT TargetTy); 400 LLVM_ABI LLVM_READNONE LLT getGCDType(LLT OrigTy, LLT TargetTy);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2958 Type *TargetTy = IsSplit ? Type::getIntNTy(LI.getContext(), SliceSize * 8) in visitLoadInst() local 2968 (canConvertValue(DL, NewAllocaTy, TargetTy) || in visitLoadInst() 2969 (NewAllocaTy->isIntegerTy() && TargetTy->isIntegerTy() && in visitLoadInst() 2970 DL.getTypeStoreSize(TargetTy).getFixedValue() > SliceSize && in visitLoadInst() 2999 if (auto *TITy = dyn_cast<IntegerType>(TargetTy)) in visitLoadInst() 3009 IRB.CreateAlignedLoad(TargetTy, getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst() 3024 V = convertValue(DL, IRB, V, TargetTy); in visitLoadInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 4215 Type *TargetTy = GEP.getPointerOperandType()->getScalarType(); in visitGetElementPtrInst() local 4217 Check(isa<PointerType>(TargetTy), in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 10361 auto *TargetTy = FPLiteral->getType()->getAs<BuiltinType>(); in CheckFloatComparison() local 10362 if (SourceTy && TargetTy && SourceTy->isFloatingPoint() && in CheckFloatComparison() 10363 TargetTy->isFloatingPoint()) { in CheckFloatComparison()
|