Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h479 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/
Dllvm-stress.cpp576 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/
DPPCTargetTransformInfo.cpp310 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
311 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DPPCTargetTransformInfo.h84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h110 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DARMTargetTransformInfo.cpp294 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/
DTargetTransformInfo.h514 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()
DTargetTransformInfoImpl.h315 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h116 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DAArch64TargetTransformInfo.cpp436 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/
DX86TargetTransformInfo.h73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DX86TargetTransformInfo.cpp877 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
943 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DX86FastISel.cpp2703 Type *CondTy = Ty->getTypeAtIndex(1); in fastLowerIntrinsicCall() local
2813 unsigned ResultReg2 = FuncInfo.CreateRegs(CondTy); in fastLowerIntrinsicCall()
/external/llvm/lib/Analysis/
DCostModel.cpp418 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
DTargetTransformInfo.cpp311 Type *CondTy) const { in getCmpSelInstrCost()
312 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp130 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/
DPNaClTranslator.cpp2472 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/
DSemaExpr.cpp6157 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/
DLoopVectorize.cpp5901 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()