Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp180 V = Builder.CreateOr(Tmp1, Tmp2, "bswap.i16"); in LowerBSWAP()
198 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or1"); in LowerBSWAP()
199 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or2"); in LowerBSWAP()
200 V = Builder.CreateOr(Tmp4, Tmp2, "bswap.i32"); in LowerBSWAP()
247 Tmp8 = Builder.CreateOr(Tmp8, Tmp7, "bswap.or1"); in LowerBSWAP()
248 Tmp6 = Builder.CreateOr(Tmp6, Tmp5, "bswap.or2"); in LowerBSWAP()
249 Tmp4 = Builder.CreateOr(Tmp4, Tmp3, "bswap.or3"); in LowerBSWAP()
250 Tmp2 = Builder.CreateOr(Tmp2, Tmp1, "bswap.or4"); in LowerBSWAP()
251 Tmp8 = Builder.CreateOr(Tmp8, Tmp6, "bswap.or5"); in LowerBSWAP()
252 Tmp4 = Builder.CreateOr(Tmp4, Tmp2, "bswap.or6"); in LowerBSWAP()
[all …]
H A DForwardControlFlowIntegrity.cpp303 Value *Or = TempBuilder.CreateOr(Shr, Shl); in rewriteFunctionPointer()
H A DAtomicExpandPass.cpp259 return Builder.CreateOr(Loaded, Inc, "new"); in performAtomicOp()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp166 BinOp = Builder->CreateOr(NewLHS, NewRHS); in SimplifyBSwap()
200 Value *Or = Builder->CreateOr(X, Together); in OptAndOp()
213 return BinaryOperator::CreateOr(And, OpRHS); in OptAndOp()
755 Value *newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
766 Value *newOr = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
835 Value *newOr1 = Builder->CreateOr(B, D); in foldLogOpOfMaskedICmps()
940 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
946 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
1354 Value *Or = Builder->CreateOr(Op0NotVal, Op1NotVal, in visitAnd()
1732 Mask = Builder->CreateOr(LAnd->getOperand(1), RAnd->getOperand(1)); in FoldOrOfICmps()
[all …]
H A DInstCombineSelect.cpp437 return Builder->CreateOr(V, Y); in foldSelectICmpAndOr()
569 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); in visitSelectInstWithICmp()
654 V = Builder->CreateOr(X, *Y); in visitSelectInstWithICmp()
658 V = Builder->CreateOr(X, *Y); in visitSelectInstWithICmp()
864 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
877 return BinaryOperator::CreateOr(NotCond, TrueVal); in visitSelectInst()
883 return BinaryOperator::CreateOr(CondVal, FalseVal); in visitSelectInst()
892 return BinaryOperator::CreateOr(TrueVal, FalseVal); in visitSelectInst()
H A DInstCombineAddSub.cpp1022 Value *NewOr = Builder->CreateOr(Z, ~(*C1)); in checkForNegativeOperand()
1042 Value *NewOr = Builder->CreateOr(Z, ~(*C2)); in checkForNegativeOperand()
1172 return BinaryOperator::CreateOr(LHS, RHS); in visitAdd()
1277 return BinaryOperator::CreateOr(A, B); in visitAdd()
1282 return BinaryOperator::CreateOr(A, B); in visitAdd()
H A DInstCombineCompares.cpp424 return BinaryOperator::CreateOr(C1, C2); in FoldCmpLoadFromIndexedGlobal()
1412 NewOr = Builder->CreateOr(Builder->CreateShl(One, Y, in visitICmpInstWithInstAndIntCst()
1476 Op = BinaryOperator::CreateOr(ICIP, ICIQ); in visitICmpInstWithInstAndIntCst()
1695 Builder->CreateOr(LHSI->getOperand(1), RHSV - 1), in visitICmpInstWithInstAndIntCst()
1704 Builder->CreateOr(LHSI->getOperand(1), RHSV), LHSC); in visitICmpInstWithInstAndIntCst()
2645 return BinaryOperator::CreateOr(Not, Op1); in visitICmpInst()
2652 return BinaryOperator::CreateOr(Not, Op0); in visitICmpInst()
H A DInstCombineSimplifyDemanded.cpp371 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
570 BinaryOperator::CreateOr(I->getOperand(0), I->getOperand(1), in SimplifyDemandedUseBits()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp254 Value *Ret0_3 = Builder.CreateOr(Ret0_1, Ret0_2); in generateUnsignedDivisionCode()
259 Value *Ret0 = Builder.CreateOr(Ret0_3, Ret0_4); in generateUnsignedDivisionCode()
262 Value *EarlyRet = Builder.CreateOr(Ret0, RetDividend); in generateUnsignedDivisionCode()
312 Value *Tmp7 = Builder.CreateOr(Tmp5, Tmp6); in generateUnsignedDivisionCode()
314 Value *Q_1 = Builder.CreateOr(Carry_1, Tmp8); in generateUnsignedDivisionCode()
334 Value *Q_4 = Builder.CreateOr(Carry_2, Tmp13); in generateUnsignedDivisionCode()
H A DFlattenCFG.cpp288 NC = Builder.CreateOr(PC, CC); in FlattenParallelAndOr()
444 Value *NC = Builder.CreateOr(CInst1, CC); in MergeIfRegion()
H A DBypassSlowDivision.cpp159 Value *OrV = MainBuilder.CreateOr(Dividend, Divisor); in insertFastDiv()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp157 Value *Or = Builder->CreateOr(Cmp2, Cmp3); in instrument()
160 Or = Builder->CreateOr(Cmp1, Or); in instrument()
H A DMemorySanitizer.cpp1280 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitAnd()
1302 setShadow(&I, IRB.CreateOr(S1S2, IRB.CreateOr(V1S2, S1V2))); in visitOr()
1340 Shadow = IRB.CreateOr(Shadow, OpShadow, "_msprop"); in Add()
1536 Value *Sc = IRB.CreateOr(Sa, Sb); in handleEqualityComparison()
1563 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
1580 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
1583 return IRB.CreateOr(A, Sa); in getHighestPossibleValue()
1691 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleShift()
1958 AggShadow = IRB.CreateOr(AggShadow, MoreShadow); in handleVectorConvertIntrinsic()
2024 setShadow(&I, IRB.CreateOr(Shift, S2Conv)); in handleVectorShiftIntrinsic()
[all …]
H A DAddressSanitizer.cpp750 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset)); in memToShadow()
1927 return IRB.CreateOr(Val1, Val2); in computePartialRzMagic()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DNoFolder.h140 Instruction *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
141 return BinaryOperator::CreateOr(LHS, RHS); in CreateOr()
H A DIRBuilder.h877 Value *CreateOr(Value *LHS, Value *RHS, const Twine &Name = "") {
882 return Insert(Folder.CreateOr(LC, RC), Name);
884 return Insert(BinaryOperator::CreateOr(LHS, RHS), Name);
886 Value *CreateOr(Value *LHS, const APInt &RHS, const Twine &Name = "") {
887 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
889 Value *CreateOr(Value *LHS, uint64_t RHS, const Twine &Name = "") {
890 return CreateOr(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
H A DConstantFolder.h90 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp69 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
H A DGVN.cpp1241 Val = Builder.CreateOr(Val, ShVal); in GetMemInstValueForLoad()
1248 Val = Builder.CreateOr(OneElt, ShVal); in GetMemInstValueForLoad()
H A DScalarReplAggregates.cpp1020 SV = Builder.CreateOr(Old, SV, "ins"); in ConvertScalar_InsertValue()
2529 ResultVal = BinaryOperator::CreateOr(SrcField, ResultVal, "", LI); in RewriteLoadUserOfWholeAlloca()
/minix3/external/bsd/llvm/dist/llvm/examples/BrainF/
H A DBrainF.cpp257 CreateOr(test_0, test_1, testreg); in readloop()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h102 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() function
/minix3/external/bsd/llvm/dist/llvm/include/llvm/MC/
H A DMCExpr.h488 static const MCBinaryExpr *CreateOr(const MCExpr *LHS, const MCExpr *RHS, in CreateOr() function
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGExprCXX.cpp665 hasOverflow = CGF.Builder.CreateOr(hasOverflow, in EmitCXXNewAllocSize()
691 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
730 hasOverflow = CGF.Builder.CreateOr(hasOverflow, overflowed); in EmitCXXNewAllocSize()
H A DCGExprScalar.cpp495 return Builder.CreateOr(Ops.LHS, Ops.RHS, "or"); in EmitOr()
873 return Builder.CreateOr(Src.first, Src.second, "tobool"); in EmitComplexToScalarConversion()
2204 llvm::Value *NotOverflow = Builder.CreateOr(LHSCmp, RHSCmp, "or"); in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2915 Result = Builder.CreateOr(ResultR, ResultI, "or.ri"); in EmitCompare()
3073 Value *Or = Builder.CreateOr(LHS, RHS); in VisitBinLOr()
3235 llvm::Value *tmp5 = Builder.CreateOr(tmp3, tmp4, "cond"); in VisitAbstractConditionalOperator()

12