Home
last modified time | relevance | path

Searched refs:Ty2 (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMRegisterBankInfo.cpp376 LLT Ty2 = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local
377 (void)Ty2; in getInstrMapping()
379 assert(Ty2.getSizeInBits() == 1 && "Unsupported size for G_SELECT"); in getInstrMapping()
388 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local
389 (void)Ty2; in getInstrMapping()
390 assert(Ty2.getSizeInBits() == 32 && "Unsupported size for G_ICMP"); in getInstrMapping()
401 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg()); in getInstrMapping() local
402 (void)Ty2; in getInstrMapping()
404 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping()
422 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local
[all …]
H A DARMISelLowering.h471 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h191 inline bool isUntypedEquivalentToTyExt(Type *Ty1, Type *Ty2) { in isUntypedEquivalentToTyExt() argument
192 if (!isUntypedPointerTy(Ty1) || !Ty2) in isUntypedEquivalentToTyExt()
194 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty2)) in isUntypedEquivalentToTyExt()
203 inline bool isEquivalentTypes(Type *Ty1, Type *Ty2) { in isEquivalentTypes() argument
204 return isUntypedEquivalentToTyExt(Ty1, Ty2) || in isEquivalentTypes()
205 isUntypedEquivalentToTyExt(Ty2, Ty1); in isEquivalentTypes()
H A DSPIRVGlobalRegistry.cpp984 const Type *Ty2 = CU.first; in getOrCreateSPIRVType() local
986 if ((Reg = DT.find(Ty2, &MIRBuilder.getMF())).isValid()) in getOrCreateSPIRVType()
989 STy2 = restOfCreateSPIRVType(Ty2, MIRBuilder, AccessQual, EmitIR); in getOrCreateSPIRVType()
990 if (Ty == Ty2) in getOrCreateSPIRVType()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp
H A DX86ISelLowering.h1351 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
1354 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
1364 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h148 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
152 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DBPFISelLowering.cpp197 bool BPFTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
198 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
201 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree()
213 bool BPFTargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree()
214 if (!getHasAlu32() || !Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isZExtFree()
217 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h116 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
127 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DMSP430ISelLowering.cpp1387 Type *Ty2) const { in isTruncateFree()
1388 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
1392 Ty2->getPrimitiveSizeInBits().getFixedValue()); in isTruncateFree()
1402 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree()
1404 return false && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp40 Type *Ty1 = Loc1.second, *Ty2 = Loc2.second; in PrintResults() local
52 std::swap(Ty1, Ty2); in PrintResults()
62 Ty2->print(errs(), false, /* NoDetails */ true); in PrintResults()
H A DTargetTransformInfo.cpp559 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
560 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86RegisterBankInfo.cpp342 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg()); in getInstrMapping() local
343 (void)Ty2; in getInstrMapping()
344 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h94 template <typename Ty1, typename Ty2> struct ExtractSecondType {
95 typedef Ty2 type;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h104 Type *Ty2);
H A DPPCTargetTransformInfo.cpp554 Type *Ty1, Type *Ty2) { in vectorCostAdjustmentFactor() argument
575 if (Ty2) { in vectorCostAdjustmentFactor()
576 std::pair<InstructionCost, MVT> LT2 = getTypeLegalizationCost(Ty2); in vectorCostAdjustmentFactor()
H A DPPCISelLowering.h1031 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h149 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
158 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
H A DHexagonISelLowering.cpp2159 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
2160 return isTruncateFree(EVT::getEVT(Ty1), EVT::getEVT(Ty2)); in isTruncateFree()
3089 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall()
3092 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
H A DHexagonPatterns.td366 multiclass NopCast_pat<ValueType Ty1, ValueType Ty2, RegisterClass RC> {
367 def: Pat<(Ty1 (bitconvert (Ty2 RC:$Val))), (Ty1 RC:$Val)>;
368 def: Pat<(Ty2 (bitconvert (Ty1 RC:$Val))), (Ty2 RC:$Val)>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h864 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
1931 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
2459 bool isTruncateFree(Type *Ty1, Type *Ty2) override { in isTruncateFree() argument
2460 return Impl.isTruncateFree(Ty1, Ty2); in isTruncateFree()
H A DTargetTransformInfoImpl.h354 bool isTruncateFree(Type *Ty1, Type *Ty2) const { return false; } in isTruncateFree() argument
H A DScalarEvolution.h512 Type *getWiderType(Type *Ty1, Type *Ty2) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h680 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
685 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h424 bool isTruncateFree(Type *Ty1, Type *Ty2) { in isTruncateFree() argument
425 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()

12