Home
last modified time | relevance | path

Searched refs:CreateOr (Results 1 – 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp68 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
86 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
87 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
88 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
135 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
136 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
137 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
138 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
139 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
140 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
DAtomicExpandPass.cpp541 return Builder.CreateOr(Loaded, Inc, "new"); in performAtomicOp()
698 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, Shifted_Inc); in performMaskedAtomicOp()
712 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Masked); in performMaskedAtomicOp()
728 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shiftup); in performMaskedAtomicOp()
796 Builder.CreateOr(PMV.Inv_Mask, ValOperand_Shifted, "AndOperand"); in widenPartwordAtomicRMW()
890 Value *FullWord_NewVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shifted); in expandPartwordCmpXchg()
891 Value *FullWord_Cmp = Builder.CreateOr(Loaded_MaskOut, Cmp_Shifted); in expandPartwordCmpXchg()
DExpandMemCmp.cpp384 Value *Or = Builder.CreateOr(InList[i], InList[i + 1]); in getCompareLoadPairs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp651 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
662 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
739 Value *NewOr1 = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps()
837 Value *Or = Builder.CreateOr(X, ConstantInt::get(X->getType(), Xor)); in foldAndOrOfEqualityCmpsWithConstants()
888 Value *Mask = Builder.CreateOr(B, D); in foldAndOrOfICmpsOfAndWithPow2()
1211 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldAndOfICmps()
1783 return BinaryOperator::CreateOr(And, ConstantInt::get(I.getType(), in visitAnd()
2330 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldOrOfICmps()
2490 Value *Or = Builder.CreateOr(X, Y); in visitOr()
2529 V2 = Builder.CreateOr(V1, ConstantExpr::getOr(C3, C4), "bitfield"); in visitOr()
[all …]
DInstCombineSelect.cpp185 return ExtraBitInTC ? Builder.CreateXor(V, C) : Builder.CreateOr(V, C); in foldSelectICmpAnd()
192 return ExtraBitInTC ? Builder.CreateOr(V, C) : Builder.CreateXor(V, C); in foldSelectICmpAnd()
528 Value *FullMask = Builder.CreateOr(Y, MaskB); in foldSelectICmpAndAnd()
674 return Builder.CreateOr(V, Y); in foldSelectICmpAndOr()
1477 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp()
1481 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp()
2379 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
2393 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
2399 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
2408 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
[all …]
DInstCombineAddSub.cpp799 Value *NewOr = Builder.CreateOr(Z, ~(*C1)); in checkForNegativeOperand()
819 Value *NewOr = Builder.CreateOr(Z, ~(*C2)); in checkForNegativeOperand()
915 return BinaryOperator::CreateOr(Op0, Op1); in foldAddWithConstant()
1315 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
1377 return BinaryOperator::CreateOr(A, B); in visitAdd()
DInstCombineCompares.cpp337 return BinaryOperator::CreateOr(C1, C2); in foldCmpLoadFromIndexedGlobal()
1809 NewOr = Builder.CreateOr(Builder.CreateShl(One, B, LShr->getName(), in foldICmpAndConstConst()
2545 return new ICmpInst(ICmpInst::ICMP_EQ, Builder.CreateOr(Y, C - 1), X); in foldICmpSubConstant()
2550 return new ICmpInst(ICmpInst::ICMP_NE, Builder.CreateOr(Y, C), X); in foldICmpSubConstant()
2711 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_SLT, in foldICmpSelectConstant()
2714 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_EQ, in foldICmpSelectConstant()
2717 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_SGT, in foldICmpSelectConstant()
3083 Value *Or = Builder.CreateOr(II->getArgOperand(0), II->getArgOperand(1)); in foldICmpEqIntrinsicWithConstant()
5335 return BinaryOperator::CreateOr(Builder.CreateNot(A), B); in canonicalizeICmpBool()
5343 return BinaryOperator::CreateOr(Builder.CreateNot(B), A); in canonicalizeICmpBool()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp253 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
258 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
261 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
311 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
313 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
333 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
DFlattenCFG.cpp299 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
452 Value *NC = Builder.CreateOr(CInst1, CC); in MergeIfRegion()
DLibCallsShrinkWrap.cpp110 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
478 return BBBuilder.CreateOr(Cond0, Cond); in generateCondForPow()
DVNCoercion.cpp486 Val = Helper.CreateOr(Val, ShVal); in getMemInstValueForLoadHelper()
493 Val = Helper.CreateOr(OneElt, ShVal); in getMemInstValueForLoadHelper()
DBypassSlowDivision.cpp334 OrV = Builder.CreateOr(Op1, Op2); in insertOperandRuntimeCheck()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp99 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond()
103 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
DHWAddressSanitizer.cpp662 Value *InlineTagAddr = IRB.CreateOr(AddrLong, 15); in instrumentMemAccessInline()
873 Value *ShiftedTag = IRB.CreateOr( in tagPointer()
880 TaggedPtrLong = IRB.CreateOr(PtrLong, ShiftedTag); in tagPointer()
890 UntaggedPtrLong = IRB.CreateOr(PtrLong, in untagPointer()
968 IRB.CreateStore(IRB.CreateOr(PC, SP), RecordPtr); in emitPrologue()
989 IRB.CreateOr( in emitPrologue()
DMemorySanitizer.cpp1086 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr()
1953 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitAnd()
1975 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitOr()
2013 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
2223 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
2250 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2267 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
2270 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
2383 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
2648 AggShadow = IRB.CreateOr(AggShadow, MoreShadow); in handleVectorConvertIntrinsic()
[all …]
DPoisonChecking.cpp102 Accum = B.CreateOr(Accum, Ops[i]); in buildOrChain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DNoFolder.h165 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
166 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
DConstantFolder.h107 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
DIRBuilder.h1387 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
1392 return Insert(Folder.CreateOr(LC, RC), Name);
1394 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
1397 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
1398 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
1401 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
1402 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
1405 Value *CreateOr(ArrayRef<Value*> Ops) { in CreateOr() function
1409 Accum = CreateOr(Accum, Ops[i]); in CreateOr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp69 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp149 CurrentV = IRB.CreateOr(CurrentV, C); in applyMemSet()
178 CurrentV = IRB.CreateOr(CurrentV, V); in applyStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h100 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2328 EndCheck = Builder.CreateOr(EndCheck, BackedgeCheck); in generateOverflowCheck()
2331 EndCheck = Builder.CreateOr(EndCheck, OfMul); in generateOverflowCheck()
2349 return Builder.CreateOr(NUSWCheck, NSSWCheck); in expandWrapPredicate()
2369 Check = Builder.CreateOr(Check, NextCheck); in expandUnionPredicate()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/
Dcompiler.cpp168 a.builder->CreateOr(a, b, "or_tmp"), in operator |()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp671 JQ = Builder.CreateOr(JQ, One); in expandDivRem24()

12