Home
last modified time | relevance | path

Searched refs:CondTy (Results 1 – 18 of 18) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h436 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
443 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost()
444 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
459 if (CondTy) in getCmpSelInstrCost()
460 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost()
462 Opcode, ValTy->getScalarType(), CondTy); in getCmpSelInstrCost()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h447 Type *CondTy = nullptr) const;
609 Type *CondTy) = 0;
780 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) override { in getCmpSelInstrCost() argument
781 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DTargetTransformInfoImpl.h289 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h101 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DARMTargetTransformInfo.cpp270 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
282 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
295 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp577 Type *CondTy = Type::getInt1Ty(Context); in Act() local
583 CondTy = VectorType::get(CondTy, NumElem); in Act()
586 Value *Cond = getRandomValue(CondTy); in Act()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp290 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
291 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DPPCTargetTransformInfo.h82 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DX86TargetTransformInfo.cpp853 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
911 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DX86FastISel.cpp2528 Type *CondTy = Ty->getTypeAtIndex(1); in fastLowerIntrinsicCall() local
2638 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy); in fastLowerIntrinsicCall()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h113 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DAArch64TargetTransformInfo.cpp381 Type *CondTy) { in getCmpSelInstrCost() argument
399 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
408 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp253 Type *CondTy) const { in getCmpSelInstrCost()
254 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DCostModel.cpp418 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp132 Type *CondTy = SI.getCondition()->getType(); in FoldSelectOpOp() local
133 if (CondTy->isVectorTy() && (!FIOpndTy->isVectorTy() || in FoldSelectOpOp()
134 CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements())) in FoldSelectOpOp()
/external/clang/lib/Sema/
DSemaExpr.cpp5854 QualType CondTy = Cond->getType(); in checkCondition() local
5857 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition()
5859 << CondTy << Cond->getSourceRange(); in checkCondition()
5864 if (CondTy->isScalarType()) return false; in checkCondition()
5867 << CondTy << Cond->getSourceRange(); in checkCondition()
6125 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
6129 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
6146 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
6162 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local
6163 assert(CondTy); in checkOpenCLConditionVector()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp5407 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
5409 CondTy = VectorType::get(CondTy, VF); in getInstructionCost()
5411 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()