Home
last modified time | relevance | path

Searched refs:SelType (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp104 Type *SelType = Sel.getType(); in foldSelectICmpAnd() local
105 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) in foldSelectICmpAnd()
150 V = Builder.CreateAnd(V, ConstantInt::get(SelType, AndMask)); in foldSelectICmpAnd()
157 Constant *C = ConstantInt::get(SelType, TC); in foldSelectICmpAnd()
164 Constant *C = ConstantInt::get(SelType, FC); in foldSelectICmpAnd()
187 V = Builder.CreateZExtOrTrunc(V, SelType); in foldSelectICmpAnd()
191 V = Builder.CreateZExtOrTrunc(V, SelType); in foldSelectICmpAnd()
193 V = Builder.CreateZExtOrTrunc(V, SelType); in foldSelectICmpAnd()
451 static Instruction *foldSelectICmpAndAnd(Type *SelType, const ICmpInst *Cmp, in foldSelectICmpAndAnd() argument
476 Constant *One = ConstantInt::get(SelType, 1); in foldSelectICmpAndAnd()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp916 Type *SelType = SI.getType(); in visitSelectInst() local
922 if (SelType->getScalarType()->isIntegerTy(1) && in visitSelectInst()
964 if (CondVal->getType()->isVectorTy() == SelType->isVectorTy()) { in visitSelectInst()
967 return new ZExtInst(CondVal, SelType); in visitSelectInst()
971 return new SExtInst(CondVal, SelType); in visitSelectInst()
976 return new ZExtInst(NotCond, SelType); in visitSelectInst()
982 return new SExtInst(NotCond, SelType); in visitSelectInst()
1099 if (SelType->isIntOrIntVectorTy() || SelType->isFPOrFPVectorTy()) { in visitSelectInst()
1111 SelType->getPrimitiveSizeInBits()) { in visitSelectInst()
1126 SelType); in visitSelectInst()
[all …]
/external/clang/lib/CodeGen/
DCGObjCMac.cpp240 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getGetPropertyFn() local
242 IdType, SelType, in getGetPropertyFn()
255 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getSetPropertyFn() local
258 SelType, in getSetPropertyFn()
283 CanQualType SelType = Ctx.getCanonicalParamType(Ctx.getObjCSelType()); in getOptimizedSetPropertyFn() local
285 Params.push_back(SelType); in getOptimizedSetPropertyFn()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp495 bool AMDGPUTargetLowering::isSelectSupported(SelectSupportKind SelType) const { in isSelectSupported()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp634 bool AMDGPUTargetLowering::isSelectSupported(SelectSupportKind SelType) const { in isSelectSupported()