Searched refs:CondTy (Results 1 - 19 of 19) sorted by relevance

/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h116 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
H A DAArch64TargetTransformInfo.cpp436 Type *CondTy) {
454 EVT SelCondTy = TLI->getValueType(DL, CondTy);
463 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy);
435 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) argument
/external/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h110 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
H A DARMTargetTransformInfo.cpp294 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { argument
306 EVT SelCondTy = TLI->getValueType(DL, CondTy);
319 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy);
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
H A DPPCTargetTransformInfo.cpp310 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { argument
311 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy);
/external/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h479 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { argument
486 assert(CondTy && "CondTy must exist");
487 if (CondTy->isVectorTy())
504 if (CondTy)
505 CondTy = CondTy->getScalarType();
507 Opcode, ValTy->getScalarType(), CondTy);
/external/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
H A DX86TargetTransformInfo.cpp877 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { argument
943 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy);
H A DX86FastISel.cpp2703 Type *CondTy = Ty->getTypeAtIndex(1); local
2813 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy);
/external/llvm/lib/Analysis/
H A DCostModel.cpp418 Type *CondTy = SI->getCondition()->getType(); local
419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy);
H A DTargetTransformInfo.cpp311 Type *CondTy) const {
312 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy);
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h514 Type *CondTy = nullptr) const;
705 Type *CondTy) = 0;
917 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) override {
918 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy);
H A DTargetTransformInfoImpl.h315 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { argument
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp576 Type *CondTy = Type::getInt1Ty(Context); variable
582 CondTy = VectorType::get(CondTy, NumElem);
585 Value *Cond = getRandomValue(CondTy);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp130 Type *CondTy = SI.getCondition()->getType();
131 if (CondTy->isVectorTy()) {
134 if (CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements())
/external/swiftshader/third_party/subzero/src/
H A DPNaClTranslator.cpp2472 Ice::Type CondTy = Context->getSimpleTypeByID(Values[0]);
2473 if (!Ice::isScalarIntegerType(CondTy)) {
2476 StrBuf << "Case condition must be non-wide integer. Found: " << CondTy; local
2480 Ice::SizeT BitWidth = Ice::getScalarIntBitWidth(CondTy);
2483 if (CondTy != Cond->getType()) {
2486 StrBuf << "Case condition expects type " << CondTy
/external/clang/lib/Sema/
H A DSemaExpr.cpp6157 QualType CondTy = Cond->getType(); local
6160 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) {
6162 << CondTy << Cond->getSourceRange();
6167 if (CondTy->isScalarType()) return false;
6170 << CondTy << Cond->getSourceRange();
6485 QualType CondTy, SourceLocation QuestionLoc) {
6489 const VectorType *CV = CondTy->getAs<VectorType>();
6506 << CondTy << OS.str();
6522 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); local
6523 assert(CondTy);
6484 OpenCLConvertScalarsToVectors(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType CondTy, SourceLocation QuestionLoc) argument
6538 checkVectorResult(Sema &S, QualType CondTy, QualType VecResTy, SourceLocation QuestionLoc) argument
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp5901 Type *CondTy = SI->getCondition()->getType(); local
5903 CondTy = VectorType::get(CondTy, VF);
5905 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy);

Completed in 415 milliseconds