/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 479 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument 486 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost() 487 if (CondTy->isVectorTy()) in getCmpSelInstrCost() 504 if (CondTy) in getCmpSelInstrCost() 505 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost() 507 Opcode, ValTy->getScalarType(), CondTy); in getCmpSelInstrCost()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 576 Type *CondTy = Type::getInt1Ty(Context); in Act() local 582 CondTy = VectorType::get(CondTy, NumElem); in Act() 585 Value *Cond = getRandomValue(CondTy); in Act()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 310 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument 311 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
D | PPCTargetTransformInfo.h | 84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
/external/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.h | 110 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | ARMTargetTransformInfo.cpp | 294 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument 306 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 319 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 514 Type *CondTy = nullptr) const; 705 Type *CondTy) = 0; 917 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) override { in getCmpSelInstrCost() argument 918 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
D | TargetTransformInfoImpl.h | 315 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.h | 116 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | AArch64TargetTransformInfo.cpp | 436 Type *CondTy) { in getCmpSelInstrCost() argument 454 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 463 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | X86TargetTransformInfo.cpp | 877 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument 943 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
D | X86FastISel.cpp | 2703 Type *CondTy = Ty->getTypeAtIndex(1); in fastLowerIntrinsicCall() local 2813 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy); in fastLowerIntrinsicCall()
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 418 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local 419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
|
D | TargetTransformInfo.cpp | 311 Type *CondTy) const { in getCmpSelInstrCost() 312 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 130 Type *CondTy = SI.getCondition()->getType(); in FoldSelectOpOp() local 131 if (CondTy->isVectorTy()) { in FoldSelectOpOp() 134 if (CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements()) in FoldSelectOpOp()
|
/external/swiftshader/third_party/subzero/src/ |
D | PNaClTranslator.cpp | 2472 Ice::Type CondTy = Context->getSimpleTypeByID(Values[0]); in ProcessRecord() local 2473 if (!Ice::isScalarIntegerType(CondTy)) { in ProcessRecord() 2476 StrBuf << "Case condition must be non-wide integer. Found: " << CondTy; in ProcessRecord() 2480 Ice::SizeT BitWidth = Ice::getScalarIntBitWidth(CondTy); in ProcessRecord() 2483 if (CondTy != Cond->getType()) { in ProcessRecord() 2486 StrBuf << "Case condition expects type " << CondTy in ProcessRecord()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 6157 QualType CondTy = Cond->getType(); in checkCondition() local 6160 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition() 6162 << CondTy << Cond->getSourceRange(); in checkCondition() 6167 if (CondTy->isScalarType()) return false; in checkCondition() 6170 << CondTy << Cond->getSourceRange(); in checkCondition() 6485 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument 6489 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors() 6506 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors() 6522 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local 6523 assert(CondTy); in checkOpenCLConditionVector() [all …]
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 5901 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local 5903 CondTy = VectorType::get(CondTy, VF); in getInstructionCost() 5905 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()
|