/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 436 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/ |
D | TargetTransformInfo.h | 447 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()
|
D | TargetTransformInfoImpl.h | 289 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.h | 101 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | ARMTargetTransformInfo.cpp | 270 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/ |
D | llvm-stress.cpp | 577 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/ |
D | PPCTargetTransformInfo.cpp | 290 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument 291 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
D | PPCTargetTransformInfo.h | 82 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | X86TargetTransformInfo.cpp | 853 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument 911 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
D | X86FastISel.cpp | 2528 Type *CondTy = Ty->getTypeAtIndex(1); in fastLowerIntrinsicCall() local 2638 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy); in fastLowerIntrinsicCall()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 113 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | AArch64TargetTransformInfo.cpp | 381 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/ |
D | TargetTransformInfo.cpp | 253 Type *CondTy) const { in getCmpSelInstrCost() 254 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
D | CostModel.cpp | 418 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local 419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 132 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/ |
D | SemaExpr.cpp | 5854 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/ |
D | LoopVectorize.cpp | 5407 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()
|