/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 67 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP() 85 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP() 86 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP() 87 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP() 134 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP() 135 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP() 136 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP() 137 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP() 138 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP() 139 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP() [all …]
|
H A D | ExpandLargeFpConvert.cpp | 171 Value *Or = Builder.CreateOr(Abs, ImplicitBit); in expandFPToI() 413 Value *Or = Builder.CreateOr(Shr6, Conv11); in expandIToFP() 426 Value *Or17 = Builder.CreateOr(AAddr0, Conv16); in expandIToFP() 529 Value *Or31 = Builder.CreateOr(And29Trunc, And34); in expandIToFP() 535 Or35 = Builder.CreateOr(Or34, A6); in expandIToFP() 537 Value *Or31 = Builder.CreateOr(And34, And29); in expandIToFP() 538 Or35 = Builder.CreateOr(IsSigned ? Or31 : And34, Shl30); in expandIToFP() 546 Value *Or1 = Builder.CreateOr(Shl1, And1); in expandIToFP()
|
H A D | AtomicExpandPass.cpp | 828 Value *Or = Builder.CreateOr(And, Shift, "inserted"); in insertMaskedValue() 845 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, Shifted_Inc); in performMaskedAtomicOp() 859 Value *FinalVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Masked); in performMaskedAtomicOp() 992 Builder.CreateOr(ValOperand_Shifted, PMV.Inv_Mask, "AndOperand"); in widenPartwordAtomicRMW() 1087 Value *FullWord_NewVal = Builder.CreateOr(Loaded_MaskOut, NewVal_Shifted); in expandPartwordCmpXchg() 1088 Value *FullWord_Cmp = Builder.CreateOr(Loaded_MaskOut, Cmp_Shifted); in expandPartwordCmpXchg()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAndOrXor.cpp | 531 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps() 544 Value *NewOr = Builder.CreateOr(B, D); in foldLogOpOfMaskedICmps() 773 Value *Mask = Builder.CreateOr(L2, R2); in foldAndOrOfICmpsOfAndWithPow2() 2066 ? BinaryOperator::CreateNot(Builder.CreateOr(Xor, A)) in foldComplexAndOrPatterns() 2067 : BinaryOperator::CreateOr(Xor, X); in foldComplexAndOrPatterns() 2396 return BinaryOperator::CreateOr(And, ConstantInt::get(Ty, Together)); in visitAnd() 3069 Value *BinOp = Builder.CreateOr(NewLower, NewUpper); in matchOrConcat() 3381 Value *NewOr = Builder.CreateOr(LHS0, RHS0); in foldAndOrOfICmps() 3574 Value *Or = Builder.CreateOr(X, Y); in visitOr() 3598 return BinaryOperator::CreateOr(Builder.CreateAnd(X, *C0), B); in visitOr() [all …]
|
H A D | InstCombineSelect.cpp | 184 return ExtraBitInTC ? Builder.CreateXor(V, C) : Builder.CreateOr(V, C); in foldSelectICmpAnd() 191 return ExtraBitInTC ? Builder.CreateOr(V, C) : Builder.CreateXor(V, C); in foldSelectICmpAnd() 623 Value *FullMask = Builder.CreateOr(Y, MaskB); in foldSelectICmpAndAnd() 833 return BinaryOperator::CreateOr(T, NewSel); in foldSetClearBits() 842 return BinaryOperator::CreateOr(F, NewSel); in foldSetClearBits() 1920 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp() 1924 V = Builder.CreateOr(X, *Y); in foldSelectInstWithICmp() 3145 return BinaryOperator::CreateOr(CondVal, FalseVal); in foldSelectOfBools() 3152 SI, Builder.CreateLogicalOr(A, Builder.CreateOr(B, FalseVal))); in foldSelectOfBools() 3224 return BinaryOperator::CreateOr(Common, InnerSel); in foldSelectOfBools()
|
H A D | InstCombineCompares.cpp | 340 return BinaryOperator::CreateOr(C1, C2); in foldCmpLoadFromIndexedGlobal() 1838 Builder.CreateOr(Builder.CreateShl(One, B, LShr->getName(), in foldICmpAndConstConst() 2954 return new ICmpInst(ICmpInst::ICMP_EQ, Builder.CreateOr(Y, C - 1), X); in foldICmpSubConstant() 2959 return new ICmpInst(ICmpInst::ICMP_NE, Builder.CreateOr(Y, C), X); in foldICmpSubConstant() 2984 return HasOneUse ? Builder.CreateNot(Builder.CreateOr(Op0, Op1)) : nullptr; in createLogicFromTable() 3004 return HasOneUse ? Builder.CreateOr(Builder.CreateNot(Op0), Op1) : nullptr; in createLogicFromTable() 3008 return HasOneUse ? Builder.CreateOr(Op0, Builder.CreateNot(Op1)) : nullptr; in createLogicFromTable() 3010 return Builder.CreateOr(Op0, Op1); in createLogicFromTable() 3246 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_SLT, in foldICmpSelectConstant() 3249 Cond = Builder.CreateOr(Cond, Builder.CreateICmp(ICmpInst::ICMP_EQ, in foldICmpSelectConstant() [all …]
|
H A D | InstCombineAddSub.cpp | 782 Value *NewOr = Builder.CreateOr(Z, ~(*C1)); in checkForNegativeOperand() 802 Value *NewOr = Builder.CreateOr(Z, ~(*C2)); in checkForNegativeOperand() 931 return BinaryOperator::CreateOr(Op0, Op1); in foldAddWithConstant() 1637 return BinaryOperator::CreateOr(A, B); in visitAdd() 1705 return BinaryOperator::CreateOr(LHS, Zext); in visitAdd() 1787 {Builder.CreateOr(A, B)})); in visitAdd() 2390 return BinaryOperator::CreateOr(A, B); in visitSub()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerAtomic.cpp | 57 return Builder.CreateOr(Loaded, Val, "new"); in buildAtomicRMWValue() 94 Value *Or = Builder.CreateOr(CmpEq0, CmpOldGtVal); in buildAtomicRMWValue()
|
H A D | IntegerDivision.cpp | 233 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode() 291 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode() 293 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode() 313 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
|
H A D | VNCoercion.cpp | 384 Val = Builder.CreateOr(Val, ShVal); in getMemInstValueForLoad() 392 Val = Builder.CreateOr(OneElt, ShVal); in getMemInstValueForLoad()
|
H A D | LoopVersioning.cpp | 81 Builder.CreateOr(MemRuntimeCheck, SCEVRuntimeCheck, "lver.safe"); in versionLoop()
|
H A D | FlattenCFG.cpp | 296 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
|
H A D | LoopUtils.cpp | 1935 IsConflict = ChkBuilder.CreateOr(IsConflict, IsNegativeStride); in addRuntimeChecks() 1941 IsConflict = ChkBuilder.CreateOr(IsConflict, IsNegativeStride); in addRuntimeChecks() 1945 ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, "conflict.rdx"); in addRuntimeChecks() 1991 ChkBuilder.CreateOr(MemoryRuntimeCheck, IsConflict, "conflict.rdx"); in addDiffRuntimeChecks()
|
H A D | LibCallsShrinkWrap.cpp | 89 return BBBuilder.CreateOr(Cond1, Cond2); in createOrCond()
|
H A D | BypassSlowDivision.cpp | 335 OrV = Builder.CreateOr(Op1, Op2); in insertOperandRuntimeCheck()
|
H A D | CallPromotionUtils.cpp | 586 Value *Cond = Builder.CreateOr(ICmps); in promoteCallWithVTableCmp()
|
H A D | ScalarEvolutionExpander.cpp | 2188 return Builder.CreateOr(EndCheck, OfMul); in generateOverflowCheck() 2203 EndCheck = Builder.CreateOr(EndCheck, BackedgeCheck); in generateOverflowCheck() 2223 return Builder.CreateOr(NUSWCheck, NSSWCheck); in expandWrapPredicate() 2245 return Builder.CreateOr(Checks); in expandUnionPredicate()
|
H A D | AMDGPUEmitPrintf.cpp | 473 ControlDWord = Builder.CreateOr(ControlDWord, ConstantTwo); in emitAMDGPUPrintfCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 98 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond() 102 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
|
H A D | MemorySanitizer.cpp | 1228 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, kOriginSize * 8)); in originToIntptr() 1466 Shadow = IRB.CreateOr(Shadow, ConvertedShadow, "_msor"); in materializeInstructionChecks() 1620 Aggregator = IRB.CreateOr(Aggregator, ShadowBool); in collapseStructShadow() 1640 Aggregator = IRB.CreateOr(Aggregator, ShadowInner); in collapseArrayShadow() 2403 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitAnd() 2425 setShadow(&I, IRB.CreateOr({S1S2, V1S2, S1V2})); in visitOr() 2462 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add() 2683 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison() 2709 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), in getLowestPossibleValue() 2726 return IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), in getHighestPossibleValue() [all …]
|
H A D | HWAddressSanitizer.cpp | 1010 Value *InlineTagAddr = IRB.CreateOr(TCI.AddrLong, 15); in instrumentMemAccessInline() 1241 IRB.CreateOr(IRB.CreateShl(Tag, PointerTagShift), in tagPointer() 1247 TaggedPtrLong = IRB.CreateOr(PtrLong, ShiftedTag); in tagPointer() 1259 IRB.CreateOr(PtrLong, ConstantInt::get(PtrLong->getType(), in untagPointer() 1300 return IRB.CreateOr(PC, FP); in getFrameRecordInfo() 1393 IRB.CreateOr( in emitPrologue()
|
H A D | PoisonChecking.cpp | 95 Accum = B.CreateOr(Accum, Op); in buildOrChain()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 190 CurrentV = IRB.CreateOr(CurrentV, C); in applyMemSet() 219 CurrentV = IRB.CreateOr(CurrentV, V); in applyStore() 501 Value *TaggedFP = IRB.CreateOr(FP, Tag); in insertBaseTaggedPointer()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 1502 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") { 1505 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name); 1508 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") { 1509 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name); 1512 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") { 1513 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name); 1516 Value *CreateOr(ArrayRef<Value*> Ops) { in CreateOr() function 1520 Accum = CreateOr(Accum, Ops[i]); in CreateOr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILIntrinsicExpansion.cpp | 152 Result = Builder.CreateOr(Result, Elt); in expandAnyIntrinsic()
|